• 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
Server not longer reachable because of 211GB logfile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Server not longer reachable because of 211GB logfile


  • Subject: Server not longer reachable because of 211GB logfile
  • From: ute Hoffmann <email@hidden>
  • Date: Sun, 17 Jun 2012 14:59:50 +0200

Hallo,
I have a Mac Os X server running a number of WebObjects Applications for two years now.
In the morning the server was no longer reachable via ssh or via Apache.

The reason was a logfile of one Application instance which had the size of 211GB.

The instances are all scheduled nightly thus the file had piled up to that size from  sometime early morning
to Midday. As the webobjects logs are pure textfiles something must have gone completely wrong in this instance
today to get that amount of output. Unfortunately this file had to be deleted at once (it blocked the disk) without a chance to
have a look on it.

Another instance had this in the logfiles (some of this):
22192168 [WorkerThread64] WARN NSLog  - <WOWorkerThread id=64 socket=null> IOException occurred while accepting server socket: java.net.SocketException: Too many open files in system
22192168 [WorkerThread65] WARN NSLog  - <WOWorkerThread id=65 socket=null> IOException occurred while accepting server socket: java.net.SocketException: Too many open files in system


Has someone seen it and could this be the cause of my problem (I can image it filling a logfile when repeated often enough to a enourmous size)?

If this could be the cause, does someone know how to detect this bevore I get to a filesize of the logfile
which kills the server? Or what is likely to be the reason of this. The App has been running stable for years, no large logfiles...

By the way, is there a way to detect the size of a textfile (logfile) and have a process send me a message that something goes wrong,
when the file reaches a certain size?

Thanks a lot

Ute 


 _______________________________________________
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: Server not longer reachable because of 211GB logfile
      • From: Chuck Hill <email@hidden>
    • Re: Server not longer reachable because of 211GB logfile
      • From: Pascal Robert <email@hidden>
    • Re: Server not longer reachable because of 211GB logfile
      • From: Ted Archibald <email@hidden>
  • Prev by Date: AUTO: Witold Lustanski is out of the office (returning Wed 06/27/2012)
  • Next by Date: Re: Server not longer reachable because of 211GB logfile
  • Previous by thread: AUTO: Witold Lustanski is out of the office (returning Wed 06/27/2012)
  • Next by thread: Re: Server not longer reachable because of 211GB logfile
  • Index(es):
    • Date
    • Thread