• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Semi OT: Apache goes into frozen state
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Semi OT: Apache goes into frozen state


  • Subject: Re: Semi OT: Apache goes into frozen state
  • From: Johan Henselmans <email@hidden>
  • Date: Wed, 06 Apr 2011 19:53:51 +0200


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


Johan Henselmans
email@hidden



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

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Semi OT: Apache goes into frozen state
      • From: Johnny Miller <email@hidden>
References: 
 >Semi OT: Apache goes into frozen state (From: Johnny Miller <email@hidden>)

  • Prev by Date: Re: Migrations not executed at startup problem
  • Next by Date: Re: Migrations not executed at startup problem (SOLVED)
  • Previous by thread: Semi OT: Apache goes into frozen state
  • Next by thread: Re: Semi OT: Apache goes into frozen state
  • Index(es):
    • Date
    • Thread