You guys ever run into a situation where ulimit changes after a process 
starts?

I start a program like this in an init script...

ulimit -n <something fairly reasonable like 8k or 32k or whatever I want>
/path/to program/executable

program is running now ...

 > cat /proc/<prog pid>/limits

output has the ulimit I set.

Later on I start getting too many open file errors and...

 > cat /proc/<prog pid>/limits

and wait... the max open files is back to the system default of 1024.

I can't think what is causing that.

<scratches head />...

Anybody?

-Dennis

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to