Ahh so the problem is that when you flood a host pound runs out of handles and/or ports (I've seen this before with TIME_WAIT's preventing servers from serving.
If this is the case then shouldn't this problem exist whenever you test pound?  And actually be lessened by reusing connections from pound to its backends?
Thank you!
-Roger
 
On 9/19/07, Gergely CZUCZY <phoemix@harmless.hu> wrote:
On Wed, Sep 19, 2007 at 01:03:16PM -0600, Roger Pack wrote:
> Wondering if you could help me understand this--so the problem is that when
> you retain X open connections with a backend, there is a limit to the total
> number of TCP socket numbers open for pound to connect on, leaving you
> TotalAvailable - X sockets that user's can connect to? I'm having trouble
> understanding why one would run out of ports, exactly...thank you
Read the RFC that explains TCP, and wonder about post-connection lingering
packets and the idea if FIN_WAIT, FIN_WAIT2 states. Also take into account
the 16 bits in which the tcp and udp numbers are represented. Notice what
data pairs identifies a connection. Just read,read,read,read and read a
bit more about how tcp/ip works. That's all.

Sincerely,

Gergely Czuczy
mailto: gergely.czuczy@harmless.hu

--
Weenies test. Geniuses solve problems that arise.
 
Geniuses find out if they are geniuses by testing their answers. :)