-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Abraham,

Abraham Iglesias wrote:
| My linux boxes have 4GB RAM available and there is no trace about a out
| of memory error.

You won't get an OOME. Your process will simply disappear.

| In fact, i run 7 tomcats instances on different ports
| on the same machine.

That's goind to use a lot of memory... possibly leading to the OOM killer.

| However it is always the same one who disappears
| ... quite weird.

Not weird at all. Please read:

http://linux-mm.org/OOM_Killer

Reading this indicates that your process is a very good candidate for
killing:

1. It hasn't been running very long (because it keeps getting killed)
2. It spawns a lot of child processes (threads to handle incoming requests)
3. It uses a lot of memory (how big is your heap?)

| I can't see anything in /var/log/messages nor catalina.out indeed.

That's because the process DIES. Java isn't shutting itself down. The
kernel is murdering the process and covering its mouth so it can't
scream as it goes down.

Try setting /proc/<pid>/oom_adj to -17 as the article suggests and see
if a different process gets killed instead.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgQt2EACgkQ9CaO5/Lv0PB34QCgnhvQO7tQu2Q4rYdfV6W9jMQS
hGAAoLB8Tv84WiF8uwZdSV4y2iMmg+v4
=uhhy
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to