AW: Still much more than 350 sockets needed!

Olivier Galibert galibert at pobox.com
Thu Apr 27 19:01:13 UTC 2006


On Thu, Apr 27, 2006 at 12:32:01PM -0600, Lamont R. Peterson wrote:
> So, unless they are running their client app as root, ulimit -n will not work.

In fact, no.  ulimit is stupid, that's all, in that it changes both
soft and hard limit when going down.  But if as root you change the
hard limit to 2048 without touching the soft one then start a user
shell, you'll see that you can raise your limit with ulimit -n 2048,
but if you ever reduce it you can't raise it again.

(t)csh limit changes only the soft limit unless you add -h.

  OG.




More information about the devel mailing list