Hi, I gave it a try on linux:
- for start you get: 1 2 - for restart 1 you get: 3 - for restart 2 you get: 4 - for restart 3 you get: 5 - for restart 4 you get: 6 There's no difference between prefork and worker-mpm. I'm not a win32 guy so I cann't help you here. Tom Foo Ji-Haw wrote: > Hello Tom, > > Thanks for your reply. Perhaps you can help explain why I am receiving 2 > '1's and 2 '2's upon Apache start (not restart). I can code to only load > stuff on restart_count() == 2, but this works only for restarts, since > starts give me 2 '2's on restart_count(). If I can figure out how to do > initialise once, I can even try to spawn threads properly. > > Can anyone confirm if this is a Windows Thing, or it happens to FreeBSD/ > Linux installations as well? > > ----- Original Message ----- > From: "Tom Schindl" <[EMAIL PROTECTED]> > To: "Foo Ji-Haw" <[EMAIL PROTECTED]> > Cc: <modperl@perl.apache.org> > Sent: Tuesday, January 17, 2006 5:12 PM > Subject: Re: restart_count() on Win32 > > Hi, > > i'd say that the thing you are seening is that 3rd restart is the one > where the actually running apache is checking that a restart is possible > and else refusing to stop? > > Try logging the PID's of the process trying to restart? > >
signature.asc
Description: OpenPGP digital signature