This is a good thing to note.  I discovered that logging was the
source of my problem while using the Mutex class to implement 
synchronization for my servlets. 

Basically, responding to 10-20 concurrent requests would be fine
for 70% of the time.  The other 30%, JServ seemed to go off in space.
After I turned logging off, I never had that problem again. 
I can only assume it was synchronized access to the logfile which
was causing the problem.

James McDonald wrote:
> 
> I thought I would share a solution to a little problem we've been having
> of late. We run apache 1.3.6 with jserv1.0b5 and Sun JDK 1.1.7_08 on
> Solaris 2.5.1, and we have been having a bizarre problem. Periodically,
> when the load on the server was high, the java executable would suddenly
> bloat to around 600M resident and stop responding. Pagers would go off,
> users would scream... you get the idea.
> 
> After hours of toying, we discovered the problem. The jserv logging was
> apparently running so fast, it was overflowing its buffer. This (we
> believe) caused it to log an error, which overflowed the buffer, and
> logged an error... etc.
> 
> So should you encounter this problem (although we only noticed it when the
> server was being hit _hard_), try setting 'log: false' in your
> jserv.properties. You never know: it might work =)
> 
> I'll pass this along to jserv development people, so it might be fixed in
> a future release.
> 
> Cheers,
> James
> 
> --
> James 'Xanth' McDonald
> UNIX System Administrator, InFront Ltd (www.infront.co.uk)
> [EMAIL PROTECTED] - http://www.cybersurf.co.uk/~jimi/
> 
> -- --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> READ THE FAQ!!!!     <http://java.apache.org/faq/>
> Archives and Other:  <http://java.apache.org/main/mail.html/>
> Problems?:           [EMAIL PROTECTED]

-- 
::: Greg Barish ([EMAIL PROTECTED]) :::::::::::::::::::::::::::::::::::::::


-- --------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to