Alok,

This is indeed very strange. Rest assured that Apache does not have a "swamp-1%-of-requests-just-to-mess-with-Alok" config option: we would not turn that on by default.

How does the delay manifest itself? Are you running analysis software like Wily CEM or Tealeaf?

Search for commonality in the problem requests: origin, destination, resource, etc. Try to get a packet trace and analyze it. Try to see where the delay occurs: a nameserver lookup? A retransmission?

All Apache does is read a request from a file descriptor, and write the response to that same file descriptor. All the network stuff happens outside its purview (except for NS lookups).

Good luck,

S.

On Dec 22, 2009, at 5:03 PM, Alok Chugh <alok.ch...@optus.com.au> wrote:

Hi Apache Gurus,

I am really troubled by this. Please provide your suggestions on how to address this:

My website is having sporadic delays (about 1% of requests are delayed). Most of the delayed resources are placed locally on the same box as Apache only and are not being proxied...
See the below log entries in extended log format:

210.56.91.174 - - [05/Aug/2009:23:01:48 +1000] 89 "GET /dafiles/OCA/ OptusHome/HomeRedesign/lib/jquery.js HTTP/1.1" 200 100196 "http://mobile.optuszoo.com.au/cocoon/cgi-bin/info2you/static_file/display_file.cgi?file=helppictures.html " "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"

220.238.26.112 - - [05/Aug/2009:23:07:24 +1000] 90 "GET /home/ contents/personal/banner_central_1.jpg?_=1 HTTP/1.1" 200 55745 "http://www.optus.com.au/home/index.html " "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 1.1.4322)"

219.90.225.57 - - [05/Aug/2009:23:02:59 +1000] 174 "GET /dafiles/OCA/ OptusHome/HomeRedesign/lib/jquery.js HTTP/1.1" 200 100196 "http://mobile.optuszoo.com.au/cocoon/aggregate/game.optus.mmode.ws/ojg_prd/html/gameMain.php?node_id=30121 " "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729 )"

All of these log entries took more than 60 seconds despite of being present locally. I am using Apache 2.0.52 on Red Hat Enterprise Linux ES release 4 (Nahant Update 3).
The Apache is built in prefork mode.
This is a Production website serving millions of requests daily but we are having a large farm serving the customers and have sufficient capacity. The interesting thing is consistently and at all times 1% of the requests are being delayed and the web resources being delayed are random and most often local.


Thanks,

Kind Regards,
Alok Chugh



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to