----------------------------------------------------------------
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!!!
----------------------------------------------------------------

> I am using Apache/1.3.6 and JServ/1.1 on Solaris 5.7.  JServ is serving
> a single servlet (Java 1.2.2) which communicates with the client's Applet
> and a back-end database (Oracle 8i).  This servlet works fine with a small
> load but when the load is increased it stops answering requests.  There are
> no errors from the servlet OR from JServ OR from Apache, there is just no 
> answer back at all.  The usual cuprits are the number of file descriptors (I
> have that set at 1024) and the JVM heap size (which I have monitored).  
> Increasing these values has no effect, so I don't think they are the
> problem.  What I do notice upon lockup is the following (produced with
> netstat -a), this is just one of many such pairs:
> 
> localhost.8007       localhost.56665      32768      0 32768      0 CLOSE_WAIT
> localhost.56665      localhost.8007       32768      0 32768      0 FIN_WAIT_2
> 
> What this looks like to me is a deadlock between jserv and apache.  I am at
> a loss as to what could cause this. I am wondering if anyone has seen this kind
> of problem and might know what else I might check.

Every single time someone has had these problems AND they mention a
database, it turns out that *somewhere* someone isn't releasing a DB
connection back to their JDBC pool

OR...the JVM is running out of memory.

Did you look at the logs and see if there is any errors?

-jon

-- 
Scarab -
      Java Servlet Based - Open Source 
         Bug/Issue Tracking System
        <http://scarab.tigris.org/>


--
--------------------------------------------------------------
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