hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : too many 408 error codes in access log
Reply

Forum Jump

too many 408 error codes in access log

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-26-2012, 01:56 AM
ananthan-nair ananthan-nair is offline
Junior Guru Wannabe
 
Join Date: Apr 2012
Posts: 45
*

too many 408 error codes in access log


Apache access log is showing too many 408 error codes,nearly 400 per day.



x-x-x-x - - [25/Apr/2012:22:43:06 -0600] "-" 408 0 "-" "-"


there are around 400 of these kind of request from different ip address.

I don't know is this the reason for spawning too many children,sometimes its nearing to 624 children,and that too with just handful of users.How can i figure out the exact cause.we are using php,and mysql(connections-800)

enabled: tcp_tw_reuse


syn_retries :2
syn_ack_retires :3
fin-time_out:30
apache timeout:15
keepalive on
keepalive timout 7
max_spare:40
min_spare:25
requestperchild:4000
MAX_CLIENTS:800

Reply With Quote


Sponsored Links
  #2  
Old 04-26-2012, 06:06 AM
enigma-1 enigma-1 is offline
WHT Addict
 
Join Date: Mar 2012
Posts: 139
What you can do is try yourself the request that caused the 408 and see if the script responds as you expect. The 408 is not the real issue but perhaps has to do with the intentions of the IPs involved.

You could send a request header to the server and then wait for 20secs before sending another header. That will cause a 408 with your current config but its a different matter with someone not playing right.

Now if the script takes to long to complete (more than 15 secs) then there might be a problem with your application and needs to be fixed. And something else you could try is connectivity from the origin these IPs are connecting. If you can find some proxies for these areas you could test it.

Reply With Quote
  #3  
Old 04-26-2012, 07:32 AM
ananthan-nair ananthan-nair is offline
Junior Guru Wannabe
 
Join Date: Apr 2012
Posts: 45
* Requesting for "-"

Quote:
Originally Posted by enigma-1 View Post
What you can do is try yourself the request that caused the 408 and see if the script responds as you expect. The 408 is not the real issue but perhaps has to do with the intentions of the IPs involved.

You could send a request header to the server and then wait for 20secs before sending another header. That will cause a 408 with your current config but its a different matter with someone not playing right.

Now if the script takes to long to complete (more than 15 secs) then there might be a problem with your application and needs to be fixed. And something else you could try is connectivity from the origin these IPs are connecting. If you can find some proxies for these areas you could test it.
isnt the accesslog showing that request has been made for "-" which does not exist and thus resulted in 408??

Reply With Quote
Sponsored Links
  #4  
Old 04-26-2012, 08:37 AM
enigma-1 enigma-1 is offline
WHT Addict
 
Join Date: Mar 2012
Posts: 139
Quote:
Originally Posted by ananthan-nair View Post
isnt the accesslog showing that request has been made for "-" which does not exist and thus resulted in 408??
No if the request was for the hyphen you would see something like /- and you wouldn't get a 408. Here the request was not complete the reason for the 408.

Reply With Quote
  #5  
Old 04-26-2012, 09:55 AM
ananthan-nair ananthan-nair is offline
Junior Guru Wannabe
 
Join Date: Apr 2012
Posts: 45
Red face How - came in accessslog

Quote:
Originally Posted by enigma-1 View Post
No if the request was for the hyphen you would see something like /- and you wouldn't get a 408. Here the request was not complete the reason for the 408.
How can i figure out why that kind of request occurs.How that "-" came in accesslog.Is there a solution for it.I still cant figure out the issue with too many children,i tired all your suggestions,but still childrens are reaching 620 for 2-3 clients.But they are requesting alot.

Reply With Quote
  #6  
Old 04-26-2012, 11:35 AM
enigma-1 enigma-1 is offline
WHT Addict
 
Join Date: Mar 2012
Posts: 139
Ok can you rule out that is the application the problem? Is it one site with one application you're hosting or multiple?

If it's one application put a maintenance page on for the test, force the apache to route any requests to a static page and see if you get the problem.

Reply With Quote
  #7  
Old 04-27-2012, 12:23 AM
ananthan-nair ananthan-nair is offline
Junior Guru Wannabe
 
Join Date: Apr 2012
Posts: 45
*

Quote:
Originally Posted by enigma-1 View Post
Ok can you rule out that is the application the problem? Is it one site with one application you're hosting or multiple?

If it's one application put a maintenance page on for the test, force the apache to route any requests to a static page and see if you get the problem.

All the 408 requests were got,when accessed through our android application.with Web UI,it seems there is no problem.

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why I always got 408 error? jerrychenme Reseller Hosting 38 02-02-2010 08:45 PM
Log php errors to a error log hd2000 Hosting Security and Technology 1 07-13-2007 10:40 PM
Apache Error log: log files that exist Elliot01 Hosting Security and Technology 3 07-04-2007 06:00 PM
/var/log/dbrecover.log error messages qhasxeem Dedicated Server 0 01-21-2004 03:27 PM
tools to debug access.log and error.log Bashar Hosting Security and Technology 0 08-23-2003 01:54 PM

Related posts from TheWhir.com
Title Type Date Posted
Admin Error Brings Down Joyent’s Ashburn Data Center Web Hosting News 2014-05-28 10:18:18
Dropbox Vulnerability Allows Unauthorized Access of User Files Web Hosting News 2014-05-07 14:31:27
Web Hosting Sales and Promos Roundup - November 29, 2013 Web Hosting News 2014-05-23 15:42:38
Web Host Midphase Launches Client Perks Program to Provide Exclusive Deals Web Hosting News 2012-12-19 15:01:46
Web Hosting Coupon Codes - Building New Business with Discounts Web Hosting News 2014-05-23 15:46:56


Tags
408, apache, mysql 5, php, timeout

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?