Forum OpenACS Q&A: Response to Problem with AOLServer respawning

Collapse
Posted by defunct defunct on
Yes, we've had this problem quite a lot...
<p>
I don't know if your problem will be similar to ours, but essentially it appears to be related to detach threads.
<p>
We use the SMS broker code which means quite a few detached threads hanging around, and a number of scheduled procs waiting to go..
<p>
when AOLServer attempts to go down, for some reason it appears to wait for these detached threads/scheduled procs, even if they aren;t du to fire for a time yet....
<p>
My only (slightly naff) suggestion is to use a shell script ot kick off AOLServer (from inittab), place a reaonable pause in it to give the system chance to come down, then if process still hang around you could be bit drastic and kill -9 them..(yikes)
<p>
Not sure why this behaviour, although we don't seem to have seen it as much with newer linux kernels. perhaps there's been some stuff done to the linux threading model?
<p>
Anyway, now were on Mandrake 8.2, we've not seen this again.