Apache mod_rewrite 10 SECOND DELAY to Zope
I think the latest Apache update (sent sometime in the past month or two from rhn) is not working well with Zope 2.6 I'm using mod_rewrite to pass through to Zope from apache virtual hosts. Now, every single request takes 10 seconds.. exactly 10 seconds. etherreal shows that there is a 10 second delay between the receipt of GET and the responding HTTP OK (and data). I've turned off keepalives in apache, no avail. I suspect the delay is in the rewrite -> zope connection. I turned off http_chunk in HTTPResponse.py no effect. I'm at a loss to find this 10 second delay. Anyone know where to look? Going directly to Zope (bypassing Apache) works fine. Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements
Am 07.12.2002, 20:14 Uhr schryb Brad Clements <bkc@murkworks.com>:
Now, every single request takes 10 seconds.. exactly 10 seconds.
This looks like someone waiting for a timeout. Perhaps some lookup (DNS maybe?) isn't working?
etherreal shows that there is a 10 second delay between the receipt of GET and the responding HTTP OK (and data).
Is that between the browser and Apache or between Apache and Zope? Jo. -- Internetmanufaktur Jo Meder ---------------------- Berlin, Germany http://www.meder.de/ ------------------- fon: ++49-30-417 17 63 33 Kollwitzstr. 75 ------------------------ fax: ++49-30-417 17 63 45 10435 Berlin --------------------------- mob: ++49-170- 2 98 89 97 Public GnuPG-Key ---------- http://www.meder.de/keys/jo-pubkey.txt
I think the latest Apache update (sent sometime in the past month or two from rhn) is not working well with Zope 2.6
I'm using mod_rewrite to pass through to Zope from apache virtual hosts.
Now, every single request takes 10 seconds.. exactly 10 seconds.
Here is the answer. I have an identical system that does not have the problem. same version of apache, etc. example .. apache rewrite rules .. http://localhost/ .. I found that going to the myhost:8080/manage was fast. But, on the unix box, going to localhost:8080/manage took .. 10 seconds. aha! Even though /etc/host.conf has order hosts,bind and localhost is in /etc/hosts For some reason it was doing a dns lookup. I chased this down to /etc/resolv.conf Adding domain murkworks.com fixed the problem. --- For kicks anyway, I changed all "localhost" in httpd.conf to 127.0.0.1 anyway Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements
participants (2)
-
Brad Clements -
Jo Meder