-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
I hava some major problems with my Apache Jserv. I get a lot of
java.lang.OutOfMemoryError's to my error_log. Like this:
---8<---
java.lang.OutOfMemoryError
ApacheJServ/1.0: An error occurred listening to the port: java.lang.OutOfMemoryError
---8<---
Not very nice, Jserv then restarts itself (when I call my servlets
again) and returns to normal state (with all session data etc. lost). In
addition to that, I get these kind of error-messages:
---8<---
Segmentation Fault
si_signo [11]: Segmentation Fault
si_errno [0]: Error 0
si_code [1]: SEGV_MAPERR [addr: 0x0]
stackpointer=EE450F40
*** Garbage Collection in process, a thread
*** dump is not possible.
---8<---
mod_jserv.log looks like this:
---8<---
[10/08/1999 23:56:02:682] (EMERGENCY) [10/08/1999 23:56:02:683]
(EMERGENCY) ajp11: cannot scan servlet headersajp11: cannot scan servlet
headers
[10/08/1999 23:56:02:692] (ERROR) [10/08/1999 23:56:02:692] (ERROR) an
error returned handling request via protocol "ajpv11"an error returned
handling request via protocol "ajpv11"
---8<---
I'm using Apache 1.3.6 with JServ 1.0 final with SUN's Java 2 (native
threads) & JSDK2.0 on Solaris 2.6. Errors occur usualy when I recompile
some classes from my classpath.
My servlets do create and cache a lot of objects (related mainly to
sessions) into Hashtables, but still... Is there a way to get information
about how much memory do my servlets use? Is there a way to allocate more
memory to java? (still over 50Mb of unused memory)
I'm bit lost with this one :(
Tommi
--
--------------------------------------------------------------
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]