----------------------------------------------------------------
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!!!
----------------------------------------------------------------
a) try increasing the max heap size that java allocates (-mx{heap size} on
the wrapper.bin.parameters line in jserv.properties)
b) check your servlets for any "memory leaks" (i.e. references which are no
longer needed, but never set to null, static members which are "new"ed each
servlet instance, etc...)
- Greg
----- Original Message -----
From: Bruce Butterfield <[EMAIL PROTECTED]>
To: Java Apache Users <[EMAIL PROTECTED]>
Sent: Monday, January 10, 2000 3:02 PM
Subject: Re: JServ out of memory Problem
> ----------------------------------------------------------------
> 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 seeing this exact behavior on both Redhat 6.1 and Solaris 7. It is
> sporadic but definitely load-dependent. Sometimes I get an out of memory
> log but usually not; ApacheJServ just restarts itself after the failed
> ping. This has the unfortunate consequence of invalidating everyone's
> session and forcing them to re-login to the DB server (through the
> servlet engine). Any help would be appreciated.
>
>
> Aalok Kaushish wrote:
> >
> > ----------------------------------------------------------------
> > 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!!!
> > ----------------------------------------------------------------
> >
> > Hi Everybody,
> >
> > I am using Jserv 1.1b3 on Linux Redhat 6.1 with apache
> > Everything was running fine and when I started load testing then after
> > sometime it crashed.
> >
> > the error in mod_jserv.log is
> >
> > [10/01/2000 17:12:43:337] (EMERGENCY) ajp12: can not connect to host
> > 127.0.0.1:8007
> > [10/01/2000 17:12:43:337] (EMERGENCY) ajp12: connection fail
> > [10/01/2000 17:12:43:337] (ERROR) an error returned handling request via
> > protocol "ajpv12"
> >
> > The error in jserv.log is
> >
> > [07/01/2000 00:55:14:759 EST] ApacheJServ/1.1b3: An error occurred
listening
> > to the port: java.lang.OutOfMemoryError
> >
> > Can anybody explain what is happening?
> >
> > Thanks in advance
> > Aalok
> >
> > ______________________________________________________
> > Get Your Private, Free Email at http://www.hotmail.com
> >
> > --
> > --------------------------------------------------------------
> > 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]
>
>
> --
> --------------------------------------------------------------
> 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]
--
--------------------------------------------------------------
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]