Re: socket buffers

2010-07-03 Thread Rod Whitworth
On Sat, 3 Jul 2010 17:46:22 +0100, Stuart Henderson wrote: >there is some pretty serious hardware behind it... >http://mirror.aarnet.edu.au/indexabout.html Those guys have some serious uses for that equipment in addition to being a great source of ftp mirrors. They are ready (or very close) to h

Re: socket buffers

2010-07-03 Thread Stuart Henderson
On 2010/07/03 18:17, Joerg Sonnenberger wrote: > On Sat, Jul 03, 2010 at 05:40:45PM +0200, Claudio Jeker wrote: > > 35M, that is insane. Either they have machines with infinite memory or you > > can kill the boxes easily. some would also say that 16K is insane ;-) > You don't need 35MB per client

Re: socket buffers

2010-07-03 Thread Joerg Sonnenberger
On Sat, Jul 03, 2010 at 05:40:45PM +0200, Claudio Jeker wrote: > 35M, that is insane. Either they have machines with infinite memory or you > can kill the boxes easily. You don't need 35MB per client connection if interfaces like sendfile(2) are used. All the kernel has to guarantee in that case i

Re: socket buffers

2010-07-03 Thread Claudio Jeker
On Sat, Jul 03, 2010 at 11:54:17AM +0100, Stuart Henderson wrote: > Does anyone know offhand the reason why network connections fail > if socket buffers are set above 256k? > There is this magical define in uipc_socket2.c called SB_MAX that limits the socket buffers to 256k going over that line m

Re: socket buffers

2010-07-03 Thread Joerg Sonnenberger
On Sat, Jul 03, 2010 at 11:54:17AM +0100, Stuart Henderson wrote: > Does anyone know offhand the reason why network connections fail > if socket buffers are set above 256k? You might have to patch sb_max for that. Joerg