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 protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to [email protected]

-- 
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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to