----------
From: Pierpaolo Fumagalli p_fumagalli@fumagalli.org
To: jon * jon@clearink.com
Subject: Re: Failure to die: is it a bug?
Date: Wed, May 12, 1999, 11:38 AM
> > If you "control-C" the Apache process on Win32, it does not
> > kill the JVM. Thus, if you think that - by merely stopping and
> > restarting Apache this way - you will get the JVM to reload,
> > you will eventually find out that you are in fact wrong.
> >
> > I was wondering if anyone else considers this an Apache bug?
> > I did not notice it filed in Apache bug database.
>
> I have noticed this as well. I'm not sure that stopping Apache with
> control-c is the proper way to stop it though (I could be wrong so please
> correct me). If it is the proper way to stop it (I don't know the proper
> way), then it is a bug on our part. ;-( If it is not the proper way, then it
> is not a bug on our part. ;-)
>
That's true... It's an Apache bug... When CTRL-C is pressed the
"shutdown" sequence cannot take place, and so, we cannot close the JVM.
The correct procedure for stopping Apache under windows is calling, from
another MS-DOS prompt window, apache -k shutdown. This kills the things
nicely.
Anyway this happens only when Apache is started manually from the
command line, and not when started as a service from the WindowsNT
control panel (but the command line operation is the only one permitted
under Windows95/98).
I worked a patch on it, against 1.3.0, I don't know if it still works...
I also asked to the new-httpd list, but I got no responses at all... I
merely don't know.....
Pier |