Hi all,
First some info:
Pound Version: 2.2.7 (also tested 2.3.2)
OS: Ubuntu 6.06 LTS running on Xen
We've been using Pound successfully for about 6 months here, but recently experienced some problems with it when one of our projects received a considerable increase in traffic. We're seeing traffic of around 58 requests/second for this project.
At the same time traffic increased, we started getting the Pound "The service is not available" errors. We increased the verbosity of the Pound logging and found that Pound was complaining about the backend servers timing out.
To solve this, we tried the following
- Upgrading pound to the latest version.
- Increasing the number of available file descriptors.
- Increasing the TimeOut for each backend server.
- Decreasing the Alive value.
- Adding more backend servers.
- Upgrading the backend servers.
None of these actions had any noticeable effect on the problem.
I ran some Apache benchmark tests on each of our backend servers and was surprised to find that I could not replicate the timeouts that Pound was complaining about (100% of requests came in under 50ms), nor could I find any evidence of the servers being overloaded.
This made me start thinking that the problem was Pound itself, or the machine it resides on, and that perhaps the connections that Pound claimed were "timing out" were not even making to the backend servers.
So, we changed DNS to point directly to a _single_ backend server, instead of Pound. Once we did that everything worked perfectly. The single server was able to handle the load with ease (we had 4 backend servers under pound).
I had read that Pound could handle 600 req/s. Is this incorrect? Does it have something to do with the fact that the requests in our project are not static content, but rather dynamic content which has a delay, albeit a small one, associated with it? Or could it have something to do with the fact that it is running on a virtual server?
I'd prefer this project to be properly load balanced under Pound, so any advice you guys could offer would be appreciated.
- Jim
This e-mail message has been scanned and cleared by MailMarshal - www.marshalsoftware.com and Sophos Anti-virus