Re: Maximum Number of TCP connections

2001-12-11 Thread Leonard den Ottolander
Hi Peter, > Does this mean that even if I've configured my Apache to allow say like 1000 > connections, it won't do it because the kernel restricts it? If you want to allow apache > 256 connections synchronously you will have to recompile apache. I think 256 connections is the

Re: Maximum Number of TCP connections

2001-12-11 Thread Jeff Bearer
Thanks for the info, the default ptys for the enterprise kernel is 2048 so that's not the problem. Now on to the open file descriptors suggestion from Mike. On Tue, 2001-12-11 at 10:14, Robert Dege wrote: > 2 possbilities: > > 1) xinetd can control the amount of TCP connection for any service t

Re: Maximum Number of TCP connections

2001-12-11 Thread Robert Dege
>From the kernel help: The maximum number of Unix98 PTYs that can be used at any one time. The default is 256, and should be enough for desktop systems. Server machines which support incoming telnet/rlogin/ssh connections and/or serve several X terminals may want to increase this: every incoming

Re: Maximum Number of TCP connections

2001-12-11 Thread Peter Peltonen
On 11 Dec 2001 10:14:00 -0500 "Robert Dege" <[EMAIL PROTECTED]> wrote: > 2) ptys. By default I believe that Redhat's kernel is configured for > 512, but it you build a kernel from source, the default is 256. This > could also be causing your restriction. You can check the number ptys > by doing

Re: Maximum Number of TCP connections

2001-12-11 Thread Mike van der Schaar
There's also a limit on the number of open file descriptors, you could check how many are opened by the app and then how many are allowed with getdtablesize() to see if this is the problem. Mike On 11 Dec 2001, Jeff Bearer wrote: > This is something that I should know but don't, and can't f

Re: Maximum Number of TCP connections

2001-12-11 Thread Robert Dege
2 possbilities: 1) xinetd can control the amount of TCP connection for any service that runs under it (/etc/xinetd.d/) Again, this ONLY affects programs that allow xinetd to control the service. 2) ptys. By default I believe that Redhat's kernel is configured for 512, but it you build a kernel