I just added a Sleep(100) call right after the message that the 'child process is running' message in ap_mpm_run. This resulted in 9 of 10 successful restarts when using the windows service manager. I was only getting 2-3 prior to that. I know it's not a valid fix, but it seems that Win can start the child process in such a way that the child is reading from the parent's pipes be fore the data is there. Does that make sense?
William A. Rowe, Jr. wrote: >From: "Sebastian Bergmann" <[EMAIL PROTECTED]> >Sent: Wednesday, February 06, 2002 12:35 AM > > >> (This posting maybe a dupe, I hope it's not) >> > >Nope. > >Win32 is borked right now... I'm following in rbb's footsteps and in >the process of normalizing where things happen in the mpm, fixing it's >assorted messages, and getting it to work, from the command line and >from a service. > >It's crufty and taking a while, might be a few hours before all is very >well again. >
