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.  All other services seem to being running normally.
> 
> If I look at the error_log I see many variations of this error:
> 
> Too many open files in system:Some/path/on/system
> 
> I've seen this thread on the Apple discussion board: 
> http://discussions.apple.com/thread.jspa?threadID=1449787&start=15&tstart=0
> And this article in the knowledge base: http://support.apple.com/kb/HT3512
> 
> Does anyone have more wisdom to share?
> 

I once had a similar problem when I started my own objectstore coordinator for 
each session, along the line of:
// this causes all kinds of mayhem: do not do this at home, it creates a new 
database connection for every session

// EOObjectStoreCoordinator coord = new EOObjectStoreCoordinator();
// myEc = ERXEC.newEditingContext(coord);
// myEc().setDelegate(this);


After that, the database would have so many open connections after a while that 
the database would have too many open files, and would break down. 

I also seem to remember that some apache configuration would freeze with a 
specific log-rotation setup. (that was apache 1.3 on a FreeBSD machine)

Furthermore I would look for something in apache that opens a file but never 
closes these. You might use opensnoop for that, see man opensnoop, or lsof 
might give you some clues. 

> Thanks in advance,
> 
> Johnny Miller
> Kahalawai Media Corp
> http://www.kahalawai.com
> 
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/johan%40netsense.nl
> 
> This email sent to jo...@netsense.nl

Johan Henselmans
jo...@netsense.nl



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to