It's been a few days without a crash so I think I've got it beat.
It was a bug in my code where I had a RandomAccessFile that I failed to close.
What threw me off was that Apache failed and not the app. Once I used lsof on
the app instances I saw the growing list of open files.
Anyway thanks
On 5 apr 2011, at 02:40, Johnny Miller wrote:
Hi,
I was wondering if anyone else had experienced the same thing. I have a
X-Serve running OS X 10.5.8 whose apache server is going into a frozen state
where it stops serving requests and can only be restarted by rebooting the
machine.
Hi Johan,
Yeah, I'm not doing anything unusual like creating a DB connection per server.
If I run from the CLI:
sudo lsof | grep httpd | wc -l
The count kind of bounces up and down between 500 - 1,500
If I just look at the contents instead of the count I see a bunch of redundant
connections
Le 2011-04-06 à 14:38, Johnny Miller a écrit :
Hi Johan,
Yeah, I'm not doing anything unusual like creating a DB connection per server.
If I run from the CLI:
sudo lsof | grep httpd | wc -l
The count kind of bounces up and down between 500 - 1,500
If I just look at the contents
On Apr 6, 2011, at 11:54 AM, Pascal Robert wrote:
Le 2011-04-06 à 14:38, Johnny Miller a écrit :
Hi Johan,
Yeah, I'm not doing anything unusual like creating a DB connection per
server.
If I run from the CLI:
sudo lsof | grep httpd | wc -l
The count kind of bounces up and
Mssr. Robert,
Thank you for the suggestion. If I run the command you suggested I get a
fluctuating count between 3 and 9. While that is way below the threshold you
suggested I'm not sure I'm convinced that is the whole story. Otherwise why
would I be having a problem?
Best,
Johnny
On Apr
You are confusing number of Apache processes with file handles/sockets. The
error message
Too many open files in system:Some/path/on/system
refers to the latter, the number of connections is the former.
Chuck
On Apr 6, 2011, at 12:10 PM, Johnny Miller wrote:
Mssr. Robert,
Thank you for
Le 2011-04-06 à 15:26, Chuck Hill a écrit :
You are confusing number of Apache processes with file handles/sockets. The
error message
Too many open files in system:Some/path/on/system
refers to the latter, the number of connections is the former.
And using lsof on Some/path/on/system will
Hi,
I was wondering if anyone else had experienced the same thing. I have a
X-Serve running OS X 10.5.8 whose apache server is going into a frozen state
where it stops serving requests and can only be restarted by rebooting the
machine. All other services seem to being running normally.
If