You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Patrik Schäfer <ps...@unitek.ch> on 2004/04/30 17:12:43 UTC

[Daemon] kill takes long until stop() is called

Hi,

I'm testing commons-daemon (jsvc) in a Solaris8 / Sparc environment.

I start my daemon like this:

jsvc -cp commons-daemon.jar:daemon-test.jar DaemonTest

To stop my daemon I issue:
kill <jsvc-pid-from-pidfile>

After the kill nothing happens for a minute or so.
Then suddenly stop() and destroy() are called.

My question is:
Why does it take so long after the kill until the stop() method gets called?

Thanks,
Patrik


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