]> git.ipfire.org Git - thirdparty/squid.git/commit
Resurrected Duanes old sleep_after_fork patch. This needed or we will
authorhno <>
Fri, 28 Sep 2001 03:59:22 +0000 (03:59 +0000)
committerhno <>
Fri, 28 Sep 2001 03:59:22 +0000 (03:59 +0000)
commit1fbbdcb083791dc5a6a8b64884735911b199ccfd
tree7e5dfb894d6ec8c41dd990b9bc98cb05d6c952d7
parent5367f41f2d41251a2cefd96e2c929125ffc302b8
Resurrected Duanes old sleep_after_fork patch. This needed or we will
race with ourselves for swap space when restarting helpers. The hello
test is not really sufficient, we must also wait for the child to actually
exec() before forking again. In the event that we are starting many
helpers who uses CPU it is not too unlikely to see a newly started child
to be context switched before exec().

Anyway, default configuration does nothing. To activate this one must
configure sleep_after_fork in squid.conf so it is a quite harmless patch,
and if it helps some people, fine.
src/cf.data.pre
src/ipc.cc
src/structs.h