[Standards] s2s and gracelessly broken streams

Pedro Melo melo at simplicidade.org
Mon Apr 2 17:57:27 CDT 2007


Hi,

On Apr 2, 2007, at 11:29 PM, Chris Mullins wrote:

> In addition to running out of ports per IP address, there's another
> problem: Memory. A 32 bit machine these days can handle about 30k  
> open,
> active, tcp connections before falling over. A 64-bit machine can  
> handle
> many more, but typically the practical limit is going to max in the  
> 100k
> range.

I think you are wrong, about 5 to 6 times wrong. See http:// 
brad.livejournal.com/2230315.html for a jabber server with 170k  
simultaneous open connections in about 600Mb RAM. At work we already  
did 60k single server, 32bit.

I do agree that s2s connections should be dropped if not in use, but  
not because of limits of open ports.

I don't see a clear advantage on keeping them open if there is no  
traffic going through them. Even if we decide to probe every 30  
minutes or so, we can just open them when we need to and close them  
if they are idle. But then again, I might be just missing some  
obvious advantage of keeping it open.

Best regards,
-- 
Pedro Melo
Blog: http://www.simplicidade.org/notes/
Jabber ID: melo at simplicidade.org
Use Jabber!




More information about the Standards mailing list