Java consumes more and more memory.

After a server restart Java allocates about 10 MB, two days later about 110 MB, after this we get "Out of Cache memory" errors and about two days later abends on java or server.exe.

A second issue which may have something to do with the java memory problem is a java exception as soon as somebody starts iManager:

java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream. java:129)
at com.sun.net.ssl.internal.ssl.InputRecord.a(DashoA6 275)
at com.sun.net.ssl.internal.ssl.InputRecord.a(DashoA6 275)
at com.sun.net.ssl.internal.ssl.InputRecord.read(Dash oA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Dasho A6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(Dasho A6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Dasho A6275)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(D ashoA6275)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(D ashoA6275)
at java.io.DataInputStream.readByte(DataInputStream.j ava:331)
at com.novell.naudit.util.SLSConnection.authenticate( Unknown Source)
at com.novell.naudit.logevent.LogEvent.logOpen(Unknow n Source)
at com.novell.naudit.LogEvent.LogOpen(Unknown Source)
at com.novell.emframe.fw.AuditLog.getLogEvent(AuditLo g.java:217)
at com.novell.emframe.fw.AuditLog.logEvent(AuditLog.j ava:47)
at com.novell.nps.PortalServlet.initCatchException(Po rtalServlet.java:14
1)
at com.novell.nps.PortalServlet.init(PortalServlet.ja va:90)
at javax.servlet.GenericServlet.init(GenericServlet.j ava:256)
at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.
java:935)
at org.apache.catalina.core.StandardWrapper.allocate( StandardWrapper.jav
a:668)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperV
alve.java:210)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:995)

at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextV
alve.java:191)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(Authentica
torBase.java:552)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContex
t.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:995)

at org.apache.catalina.core.StandardContext.invoke(St andardContext.java:
2422)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.j
ava:180)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.in voke(ErrorDispatche
rValve.java:171)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContex
t.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.j
ava:163)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContex
t.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:995)

at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineVal
ve.java:174)
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContex
t.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.jav
a:480)
at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:995)

at org.apache.coyote.tomcat4.CoyoteAdapter.service(Co yoteAdapter.java:19
9)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyo teHandler.java:324)

at org.apache.jk.common.HandlerRequest.invoke(Handler Request.java:395)
at org.apache.jk.common.ChannelSocket.invoke(ChannelS ocket.java:673)
at org.apache.jk.common.ChannelSocket.processConnecti on(ChannelSocket.ja
va:615)
at org.apache.jk.common.SocketConnection.runIt(Channe lSocket.java:786)
at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadP
ool.java:683)
at java.lang.Thread.run(Thread.java:534)


A renew of some of our SSL certificates which expired last month could also be a reason for one or both above mentioned problems.

Following an extract of the servers config:


Novell NetWare 5.70.03 May 23, 2005
Server name...............: **************
OS Version................: v5.70
OS revision number........:
Server Up Time(D:H:M:Sec).: 2:14:46:46
Serial number.............: **************
Licensed Connections......: 96
Internal Net. Addr........: 0
Security Restriction Level: 1
SFT Level.................: 2
Engine Type...............: NATIVE
TTS Level.................: 1
Total Server memory.......: 1023.40MB or 1073115136 bytes
Processor speed rating....: 148243
Original cache buffers....: 260976
Current Cache Buffers.....: 27791
LRU Sitting Time(D:H:M:S).: 2:14:46:31
Current FSP's.............: 31
Current Receive Buffers...: 2000
Maximum Receive Buffers...: 10000
Directory cache buffers...: 0
Workstations Connected....: 3
Max Workstations Connected: **************
Server language...........: ENGLISH (4)
Server DOS Code Page......: (850)

Top of file. [SYS:SYSTEM\AUTOEXEC.NCF]
set Bindery Context = **************
SET Daylight Savings Time Offset = 1:00:00
SET Start Of Daylight Savings Time = (MARCH SUNDAY LAST 2:00:00 AM)
SET End Of Daylight Savings Time = (OCTOBER SUNDAY LAST 3:00:00 AM)
SET Time Zone = CET-1CEST
SEARCH ADD SYS:\JAVA\BIN
SEARCH ADD SYS:\JAVA\NWGFX\BIN
SEARCH ADD SYS:\JAVA\NJCLV2\BIN
SEARCH ADD SYS:\NI\UPDATE\BIN
FILE SERVER NAME **************
SEARCH ADD SYS:\SYSTEM\GWDRIVER
load conlog MAXIMUM=100
sys:etc\initsys.ncf
MOUNT **************
MOUNT **************
IPMINIT.NCF
SYS:\SYSTEM\NMA\NMA5.NCF
BSTART.NCF
load nile.nlm
load httpstk.nlm /SSL /keyfile:"SSL CertificateDNS"
LOAD PORTAL.NLM /regedit
LOAD NDSIMON.NLM
load slpda
LOAD NICISDI.XLM
LOAD SASDFM.XLM
LOAD PKI.NLM
CIFSSTRT.NCF
SYS:/BIN/UNIXENV.NCF
SEARCH ADD sys:/usr/sbin
SEARCH ADD sys:/usr/bin
LOAD NLDAP.NLM
SCRIPT.NCF
SEARCH ADD SYS:\APACHE2
SEARCH ADD SYS:\XTIER
LOAD NCPL
AP2WEBUP
ADMSRVUP
SEARCH ADD SYS:/tomcat/4/bin
tcadmup.ncf
sys:/tomcat/4/bin/tomcat4.ncf
SMSSTART.NCF
LOAD EMBOX.NLM
SEARCH ADD SYS:\mysql\bin
mysqld_safe --autoclose
AUDITSVR.NCF
; AUDITAGT.NCF
openwbem.ncf
LOAD RCONAG6 ************** 2034 16800 2036
DELAY 60
UNLOAD CONLOG
SEARCH ADD SYS:\RAIDMAN
#LOAD SYS:\RAIDMAN\RAIDAGNT -BOOT

Top of file. [C:STARTUP.NCF]
LOAD ACPIDRV.PSM
LOAD IDECD.CDM
LOAD SCSIHD.CDM
LOAD NWTAPE.CDM
LOAD IDEATA.HAM SLOT=10013
LOAD IPSRAID.HAM SLOT=10022
LOAD ADPU320.HAM SLOT=4
LOAD KEYB.NLM Swiss German
LOAD CHARSET.NLM CP850

Top of file. [C:\AUTOEXEC.BAT]
C:
CD \NWSERVER
SERVER -nl -u677000000


Thanks for help