Results 1 to 7 of 7
-
04-26-2012, 01:56 AM #1Junior 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
-
04-26-2012, 06:06 AM #2WHT 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.
-
04-26-2012, 07:32 AM #3Junior Guru Wannabe
- Join Date
- Apr 2012
- Posts
- 45
-
04-26-2012, 08:37 AM #4WHT Addict
- Join Date
- Mar 2012
- Posts
- 139
-
04-26-2012, 09:55 AM #5Junior Guru Wannabe
- Join Date
- Apr 2012
- Posts
- 45
How - came in accessslog
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.
-
04-26-2012, 11:35 AM #6WHT 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.
-
04-27-2012, 12:23 AM #7Junior Guru Wannabe
- Join Date
- Apr 2012
- Posts
- 45
Similar Threads
-
Why I always got 408 error?
By jerrychenme in forum Reseller HostingReplies: 38Last Post: 02-02-2010, 08:45 PM -
Log php errors to a error log
By hd2000 in forum Hosting Security and TechnologyReplies: 1Last Post: 07-13-2007, 10:40 PM -
Apache Error log: log files that exist
By Elliot01 in forum Hosting Security and TechnologyReplies: 3Last Post: 07-04-2007, 06:00 PM -
/var/log/dbrecover.log error messages
By qhasxeem in forum Dedicated ServerReplies: 0Last Post: 01-21-2004, 03:27 PM -
tools to debug access.log and error.log
By Bashar in forum Hosting Security and TechnologyReplies: 0Last Post: 08-23-2003, 01:54 PM