----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Carsten Heyl wrote:
> 
> Hello JServ supporters,
> 
> I'm using jserv 1.1b3 on Solaris 7, JDK 1.1.7,
> Apache 1.3.9.
> Apache hosts 2 virtual servers.
> JServ hosts 2 zones running gnujsp.
> 
> Problem: The jserv process runs out of file descriptors.
> 
> Taking a look at the list of open files shows that
> the jars which are loaded by "repositories="
> in zone.properties are opened multiple times
> after some servlets or jsp pages are used after a
> short time (few minutes).
> Then the jserv dies and a new process is started.
> Increasing the maximum number of fd's is no solution
> and would only help for a few minutes.
> 
are you sure that increasing the number of fd does not solve it ? It has
always been _The_ solution. (I experimented it also earlier). (described
in the FAQ).Did you try it ?

Also, did you try to use the autoreload false? Checking all the time is
CPU & IO expensive, and not really needed on production sites.
Does it happen without autoreloading ?

An alternate solution is playing with 2 load-balanced JServ (only one
started). Upgrade the 2nd, then start it, then stop the first one,
upgrade then restart (or not).

Jean-Luc


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

Reply via email to