While using Apache 1.3.27 as a reverse proxy I keep running into Proxy Errors when I get too many requests/sec. I can do this by simply visiting a page and hitting refresh 10 times really fast. The errors look like:
Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /path_status. Reason: Could not connect to remote machine: Cannot assign requested address Doing a netstat immediately after this occurs shows: Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 localhost:54321 localhost:webcache TIME_WAIT tcp 0 0 localhost:55069 localhost:webcache TIME_WAIT tcp 0 0 localhost:56777 localhost:webcache TIME_WAIT tcp 0 0 localhost:50563 localhost:webcache TIME_WAIT tcp 0 0 localhost:51107 localhost:webcache TIME_WAIT tcp 0 0 localhost:52726 localhost:webcache TIME_WAIT tcp 0 0 localhost:57836 localhost:webcache TIME_WAIT tcp 0 0 localhost:60962 localhost:webcache TIME_WAIT There are always 8 localhost:webcache when the proxy fails regardless of the number of apache servers or cherrpy threads running. When doing a tail -f of both the cherrypy and the apache output, Apache seems to simply give up. The requests come into apache but appear to not make it to cherrypy. After 30 seconds, it seems that the above connections expire and behavior is normal again. I can't seem to find reports of this behavior anywhere on the net. Any clues? Relevant Config snippets follow: httpd.conf: LoadModule rewrite_module /etc/httpd/libexec/httpd/mod_rewrite.so LoadModule proxy_module /etc/httpd/libexec/httpd/mod_proxy.so NameVirtualHost 172.16.38.143:443 NameVirtualHost 172.16.38.143:80 <VirtualHost _default_:80> Redirect / https://172.16.38.143/ </VirtualHost> <VirtualHost _default_:443> SSLEngine on SSLCertificateFile /etc/httpd/server.crt SSLCertificateKeyFile /etc/httpd/server.pem RewriteEngine on RewriteRule ^/(.*)$ http://localhost:8080/$1 [P] </VirtualHost> prod.cfg: (yes, it's older) server.threadPool = 15 [/static] staticFilter.on = True staticFilter.dir = "static" [/favicon.ico] staticFilter.on = True staticFilter.file = "static/images/favicon.ico" [/] baseUrlFilter.on = True baseUrlFilter.useXForwardedHost = True --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

