Re: [PATCH 2.6.13-rc6 1/2] New Syscall: get rlimits of any process (update)

Lee Revell
2005-08-18T18:17:44Z

On Thu, 2005-08-18 at 18:19 +0200, Wieland Gmeiner wrote:
> As an example: It seems to be a common problem with numerous services
> to run out of available file descriptors. There are several
> workarounds to this problem, the most common seems to be increasing
> the systemwide max number of filedescriptors and restarting the
> service. If you google for e.g. 'linux "too many open files"' you get
> a bunch of mailing list support requests about that problem.

Maybe the distros need to just increase the default FD limit to 1024. I
hit this constantly with gtk-gnutella, if try to download a file that's
available on more than 1024 hosts it will open sockets until it hits
that limit then bomb out.

1024 seems way too low these days given the proliferation of "swarming"
P2P protocols like gnutella and bittorrent.

Lee