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

From: Lee Revell
Date: Thu Aug 18 2005 - 13:18:03 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/