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

Re: Server not longer reachable because of 211GB logfile


  • Subject: Re: Server not longer reachable because of 211GB logfile
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 18 Jun 2012 09:13:59 -0700

As Pascal said, Nagios.  And I would monitor the total amount of available disk space.  WO is not the only thing that can fill it up and kill the server.


Chuck


On 2012-06-17, at 5:59 AM, ute Hoffmann wrote:

> 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

--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/gvc/practical_webobjects









 _______________________________________________
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: email@hidden
References: 
 >Server not longer reachable because of 211GB logfile (From: ute Hoffmann <email@hidden>)

  • Prev by Date: Re: Question about "To Many" relationships hooks in ERRest
  • Next by Date: Different Database Connection per session for the same model
  • Previous by thread: Re: Server not longer reachable because of 211GB logfile
  • Next by thread: Re: Server not longer reachable because of 211GB logfile
  • Index(es):
    • Date
    • Thread