LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > During DDoS, PHP pages don't work

Reply
 
Thread Tools Display Modes
  #1  
Old 03-25-2008, 09:43 AM
hadyabed hadyabed is offline
Member
 
Join Date: Mar 2008
Posts: 39
Default During DDoS, PHP pages don't work

Hey guys,
I'm having a problem, when my server gets DDoS attacked, no PHP applications work but say I try to load like website.com/blahblah or any other page that isn't there that produces a not found output, that's still running quick. How can I tune my PHP application for DDoS?
Thanks,
Hady Abed
Reply With Quote
  #2  
Old 03-25-2008, 10:52 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You need to restore the default configuration for lsphp.
You can find the default configuration values in lsws-3.3.8/add-ons/directadmin/httpd_config.xml
Reply With Quote
  #3  
Old 03-25-2008, 11:30 AM
hadyabed hadyabed is offline
Member
 
Join Date: Mar 2008
Posts: 39
Mistwang,
Okay, I've restored those values but it seems my PHP is still having issues. I know you don't like providing free support, but if you're willing to take a quick look, please PM me and I'll give you my LiteSpeed Web Admin Login.
Thanks,
Hady Abed
Reply With Quote
  #4  
Old 03-25-2008, 01:07 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You have done something special for '/home", other pages are working fine.
Reply With Quote
  #5  
Old 03-25-2008, 01:15 PM
hadyabed hadyabed is offline
Member
 
Join Date: Mar 2008
Posts: 39
No, I put up a page saying there was problems with the PHP core, the other pages don't work fine.
Reply With Quote
  #6  
Old 03-25-2008, 01:24 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
http://hr-development.net/services
http://hr-development.net/portfolio
http://hr-development.net/hosting
http://hr-development.net/contact
http://hr-development.net/quote

all are working fine, only http://hr-development.net/home is broken. it is not a PHP problem, probably a URL rewrite problem if you use URL rewrite to make URL SE friendly.
Reply With Quote
  #7  
Old 03-25-2008, 01:27 PM
hadyabed hadyabed is offline
Member
 
Join Date: Mar 2008
Posts: 39
Quote:
Originally Posted by mistwang View Post
http://hr-development.net/services
http://hr-development.net/portfolio
http://hr-development.net/hosting
http://hr-development.net/contact
http://hr-development.net/quote

all are working fine, only http://hr-development.net/home is broken. it is not a PHP problem, probably a URL rewrite problem if you use URL rewrite to make URL SE friendly.
If you refresh any of those pages about 3 times, it doesn't load very fast, it wasn't like this before.
-Hady Abed
Reply With Quote
  #8  
Old 03-25-2008, 01:38 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
It looks like firewall or network problem, google "ip_conntrack" and make sure it hsa been set large enough.
Reply With Quote
  #9  
Old 03-25-2008, 01:38 PM
hadyabed hadyabed is offline
Member
 
Join Date: Mar 2008
Posts: 39
It's set to 65536. So many issues lately.
-Hady Abed
Reply With Quote
  #10  
Old 03-25-2008, 01:50 PM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
Try to turn off firewall and test again.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:08 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.