William A. Rowe, Jr. wrote:
++1 - makes perfect sense.

One more oddball observation. Why repeatedly invoke the cleanups?

We need only a few handles in cgid, it seems that setting those few
handles aside and invoking cleanup_for_exec ourselves before we enter
the server loop in the fork()ed cgid worker would speed things up quite
considerably, over running cleanups hundreds of times.

yeah, definitely some cleanup is needed as soon as cgid gets initialized; I can't even explain the stuff that cgid has open on one of my boxes


I'm not sure how cgid is going to have the info to cleanup the unnecessary stuff or kill cleanups on the necessary stuff prior to invoking cleanup-for-exec, but I guess that is a minor detail.




Reply via email to