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

Ming,

Yu, Ming wrote:
| 2)      After the service is initiated, there are two processes staying
| resident in memory: one is the jsvc controller process and the other is
| the main tomcat process. Everything is fine. The main process is
| detached from the controller process.

Detached... how? They should still have a parent/child relationship, and
that can't be broken unless init inherits the child process after the
parent dies. In this case, the parent is there, so... what do you mean?

| 3)      It seems that, at random times and may be affected by the
| service load also, the main tomcat thread could spawn additional tomcat
| processes. This can be clearly verified by the parent and child
process IDs.

This may correspond to Java Threads being represented as processes by
your OS. I don't have much Solaris experience, so I can't tell you from
personal experience. I know that certain versions of certain threading
libraries on Linux will report threads as processes.

| 4)      Also, the newly spawned tomcat processes are seldom accessed
| because their accumulated use time is 0:00.

Again, your OS might be showing threads as processes, but assigning the
CPU time used to the parent process (instead of the "thread" process) so
that's why you might never see any CPU time used.

| The following is the snapshot of the scenario:

Your attachment was not posted. Perhaps you could make this available on
your website or blog?

Some versions of 'ps' have the ability to display process trees. Could
you see if yours does and verify that the mysterious processes are
actually children of the main java process? Also, please verify that
they are running "java" and not something else entirely.

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

iEYEARECAAYFAkhO8aAACgkQ9CaO5/Lv0PAdFQCeOPmAp+BOTTCsXkv7gH3ecnxV
vdEAmQF24+3m7m+CgBfmyZRjvqlduKOi
=lOz4
-----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