All of lore.kernel.org
 help / color / mirror / Atom feed
* Maximum number of sockets...
@ 2003-09-18 15:20 Alexandru Damian
  2003-09-18 15:37 ` Richard B. Johnson
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandru Damian @ 2003-09-18 15:20 UTC (permalink / raw)
  To: kernel



   It may seem a pretty stupid question, but what do I need to
modify in a 2.4.22 kernel to increase the maximum number of sockets
available to userland programs.

Thanks,
Alex


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Maximum number of sockets...
  2003-09-18 15:20 Maximum number of sockets Alexandru Damian
@ 2003-09-18 15:37 ` Richard B. Johnson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard B. Johnson @ 2003-09-18 15:37 UTC (permalink / raw)
  To: Alexandru Damian; +Cc: kernel

On Thu, 18 Sep 2003, Alexandru Damian wrote:

>
>
>    It may seem a pretty stupid question, but what do I need to
> modify in a 2.4.22 kernel to increase the maximum number of sockets
> available to userland programs.
>
> Thanks,
> Alex
>

Maybe you just need to set new per-process open file limits?

socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 1015
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 1016
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 1017
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 1018
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 1019
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 1020
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 1021
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 1022
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 1023
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = -1 EMFILE (Too many open files)


Cheers,
Dick Johnson
Penguin : Linux version 2.4.22 on an i686 machine (794.73 BogoMips).
            Note 96.31% of all statistics are fiction.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-18 15:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-18 15:20 Maximum number of sockets Alexandru Damian
2003-09-18 15:37 ` Richard B. Johnson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.