Hi, I'm using Cherokee in production for the second time - as a front end to a mid-volume web application.
The front end server sees about 40-50 TCP connections/s at most with 100-120 HTTP connections/s I'm noticing occasional 504 Gateway timeout errors (mostly reported by customers during periods of high usage) The server is a quad core 3.2GHz 32-bit x86 machine with 3GB of RAM. Load average during high usage is around 0.4 ulimit -n is set to 1024 lsof -n | grep cherokee | wc -l reports 750ish during high usage. Throughput is about 2mbyte/s Cherokee is barely touching the CPU (20% tops) and disk i/o wait is hovering around 4% on a fast SCSI RAID array. I'm running v0.99.42 compiled under debian lenny with default options. The website serves images, css and js directly and reverse proxy's php requests to 2 round-robin app servers on a local 100mbit network. It's the reverse proxy requests that are producing the 504 timeout errors. The app servers are reporting no errors and have timeouts configured 5s lower than the reverse proxy (which is set to 60 seconds). Reuse connections is set to 48. Compression is disabled for the reverse proxies. Please help me figure out what these timeouts are occuring. I'm willing and able to do whatever debugging is necessary to figure this out, but I'm at the limits of my own know-how. Some further debugging steps would be really helpful.
_______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
