Date: Fri, 8 Jan 1999 16:33:53 +0000 (GMT) From: Tony Finch <dot@dotat.at> To: "Richard Seaman, Jr." <dick@tar.com> Cc: current@FreeBSD.ORG Subject: Re: Squid + linuxthreads in action Message-ID: <13974.13169.69838.513388@chiark.greenend.org.uk> In-Reply-To: <19990108092148.A377@tar.com> References: <E0zxzBQ-0007Tt-00@fanf.noc.demon.net> <19990108092148.A377@tar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Richard Seaman, Jr. writes: > Tony Finch wrote: > > > > We've been trying out Squid compiled to use async-io with linuxthreads > > on FreeBSD-current today. > > > > When the parent Squid process shuts down it leaves behind a pile of > > orphan processes (the async-io handler threads). A glance at the aio > > code reveals that Squid expects the pthread library to kill them -- > > they just loop indefinitely. They also keep the listen socket open, so > > the RunCache script can't restart Squid :-( > > Ok. I finally got squid compiled and running. When I do any of the > following: > > squid -k shutdown > squid -k kill > squid -k interrupt > > all the squid processes get killed. After a short time squid > restarts (I assume this is RunCache that does this). I seem > to get 18 processes (threads) going. That sounds right -- the main process, a management thread, and 16 IO pumps. > When you say you get orphan processes, is this what you're > doing? Yes. Or at least is was, but I can't reproduce it now. Sorry for causing trouble :-( Tony. -- f.a.n.finch fanf@demon.net dot@dotat.at To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13974.13169.69838.513388>