tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denise Mangano" <Deni...@complusdata.com>
Subject RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
Date Fri, 19 Sep 2003 14:21:42 GMT
Thank you everyone for your responses.  So, you are saying that the
problem is not with Tomcat.  Are you suggesting that the problem is with
the server itself (Linux) or possibly with the JDK?  

I tried adding the JAVA_OPT flags to the catalina.sh but that did not
due the trick.  I also tried adding the values you suggested to the
user's environment, but I am still getting the errors on startup.
Reinstalling wouldn't hurt to try I guess...

It doesn't look like any process is behaving abnormally but then again,
I am a newbie... This is the output of ps -ef:
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 08:57 ?        00:00:03 init
root         2     1  0 08:57 ?        00:00:00 [keventd]
root         3     1  0 08:57 ?        00:00:00 [ksoftirqd_CPU0]
root         4     1  0 08:57 ?        00:00:00 [kswapd]
root         5     1  0 08:57 ?        00:00:00 [bdflush]
root         6     1  0 08:57 ?        00:00:00 [kupdated]
root         7     1  0 08:58 ?        00:00:00 [mdrecoveryd]
root        13     1  0 08:58 ?        00:00:00 [scsi_eh_0]
root        14     1  0 08:58 ?        00:00:00 [scsi_eh_1]
root        17     1  0 08:58 ?        00:00:00 [kjournald]
root        82     1  0 08:58 ?        00:00:00 [khubd]
root       148     1  0 08:58 ?        00:00:00 [kjournald]
root       149     1  0 08:58 ?        00:00:00 [kjournald]
root       150     1  0 08:58 ?        00:00:00 [kjournald]
root       151     1  0 08:58 ?        00:00:00 [kjournald]
root       152     1  0 08:58 ?        00:00:00 [kjournald]
root       153     1  0 08:58 ?        00:00:00 [kjournald]
root       477     1  0 08:58 ?        00:00:00 syslogd -m 0
root       482     1  0 08:58 ?        00:00:00 klogd -x
root       595     1  0 08:58 ?        00:00:00 /usr/sbin/sshd
root       628     1  0 08:58 ?        00:00:00 gpm -t ps/2 -m
/dev/mouse
root       646     1  0 08:58 ?        00:00:00 crond
root       653     1  0 08:58 tty1     00:00:00 /sbin/mingetty tty1
root       654     1  0 08:58 tty2     00:00:00 /sbin/mingetty tty2
root       655     1  0 08:58 tty3     00:00:00 /sbin/mingetty tty3
root       656     1  0 08:58 tty4     00:00:00 /sbin/mingetty tty4
root       657     1  0 08:58 tty5     00:00:00 /sbin/mingetty tty5
root       658     1  0 08:58 tty6     00:00:00 /sbin/mingetty tty6
root       661   595  0 08:59 ?        00:00:00 /usr/sbin/sshd
weblogin   662   661  0 08:59 pts/0    00:00:00 -bash
root       697   662  0 08:59 pts/0    00:00:00 su -
root       698   697  0 08:59 pts/0    00:00:00 -bash
root       990     1  0 09:09 ?        00:00:00
/usr/local/apache/bin/httpd
nobody     991   990  0 09:09 ?        00:00:00
/usr/local/apache/bin/fcgi-
nobody     992   990  0 09:09 ?        00:00:00
/usr/local/apache/bin/httpd
nobody     993   990  0 09:09 ?        00:00:00
/usr/local/apache/bin/httpd
nobody     994   990  0 09:09 ?        00:00:00
/usr/local/apache/bin/httpd
nobody     995   990  0 09:09 ?        00:00:00
/usr/local/apache/bin/httpd
nobody     996   990  0 09:09 ?        00:00:00
/usr/local/apache/bin/httpd
nobody     998   990  0 09:10 ?        00:00:00
/usr/local/apache/bin/httpd
nobody     999   990  0 09:10 ?        00:00:00
/usr/local/apache/bin/httpd
nobody    1000   990  0 09:10 ?        00:00:00
/usr/local/apache/bin/httpd
root      1314   698  0 10:14 pts/0    00:00:00 bash
root      1364  1314  0 10:16 pts/0    00:00:00 ps -ef

Denise Mangano
Complus Data Innovations, Inc.
914-747-1200


-----Original Message-----
From: Ralph Einfeldt [mailto:ralph.einfeldt@uptime-isc.de] 
Sent: Friday, September 19, 2003 10:13 AM
To: Tomcat Users List
Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError


May setting these values will help:

ulimit -s 2048
export LD_ASSUME_KERNEL=2.2.5

Either put them in the environment of the user that starts tomcat or put
it in the startscript of tomcat.

BTW: Have you looked what processes are running and
how the memory usage is, before you try to start tomcat ? (Maybe there
is some other process missbehaving)

> -----Original Message-----
> From: Denise Mangano [mailto:Denisem@complusdata.com]
> Sent: Friday, September 19, 2003 4:02 PM
> To: Tomcat Users List
> Subject: RE: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
> 
> 
> Ralph - thank you for your reply.  I have not made any export settings

> like that.  Honestly, for the most part I took the Tomcat distribution

> and went mostly with the defaults because everything was working fine.

> Probably a newbie mistake, I'm sure - but I made very few settings / 
> changes.
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message