[colug-432] ulimit

Jeff Frontz jeff.frontz at gmail.com
Fri Dec 2 12:13:14 EST 2011


The ulimit command just calls the ulimit (I guess linux calls it
"setrlimit") system call.

Also, the limits are per-process, not per-user.

Jeff


On Fri, Dec 2, 2011 at 11:52 AM, Rick Hornsby <richardjhornsby at gmail.com> wrote:
>
> We're running into some issues hitting FD limits, mostly running Websphere on RH5.5.
>
> We've been able to raise the limit by adding entries to /etc/security/limits.conf for the user running Websphere, but still don't fully understand how the kernel counts how many FDs a user has open (websphere is the only thing running java but lsof -c /java/ | wc -l sometimes shows a value over the limit w/ no obv issues), if that is the right place to set it, and where the default of 1024 comes from?
>
> Further confusing it for me at least is that ulimit is a bash builtin command, but the limits are enforced by the kernel?
>
> Any insight would be helpful.
>
> thanks!
> -rj
>
> Sent from my iPhone
> _______________________________________________
> colug-432 mailing list
> colug-432 at colug.net
> http://lists.colug.net/mailman/listinfo/colug-432



More information about the colug-432 mailing list