Forum Moderators: phranque

Message Too Old, No Replies

Apache 2.0.59 and ulimit

receiving too many open files

         

MoBarger

11:32 am on May 19, 2007 (gmt 0)

10+ Year Member



Hi - I am running into an issue with apache running under Solaris 9 that I cannot fix. We are getting a "too many open files" error.
Here is what I have tried using in the apachectl script.
#ULIMIT_MAX_FILES="ulimit -n 65535"
ulimit -n 65535
#ULIMIT_MAX_FILES="ulimit -S -n `ulimit -H -n`"

where the last line is the default.

The root and holding id accounts have maxfiles at 256 but I thought we could get past it with it set higher in apachectl. It worked for apache 1.x anyway ;)

I realize that I can combine conf fles (we have a lot) to get around this but that seems more like a bandaid than a solution.

Thanks!

jdMorgan

1:25 pm on May 22, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Any uLimit experts in the house?

<bump>

Jim