Article View: news.software.nntp
Article #56455Re: db_checkpoint hanging around
From: Ben Rosengart
Date: Mon, 11 Feb 2002 19:43
Date: Mon, 11 Feb 2002 19:43
25 lines
1991 bytes
1991 bytes
In article <slrna6g6g1.178.br@panix2.panix.com>, Ben Rosengart wrote: > I'm using INN 2.3.2. When I run "rc.news stop", the "dbprocs start" > process doesn't go away. Reading it, I think it's waiting for > db_checkpoint to exit. db_checkpoint should exit when "dbprocs stop" > is called from "rc.news stop". But it doesn't -- it doesn't respond > to signal 2 (which the db documentation says should be used), signal > 15 (which is used by "dbprocs stop"), nor signal 1. Signal 9 kills > it. > > DB version is 3.2.9. > > Has anyone seen this? I forgot to mention one thing. I ktrace'd db_checkpoint and found that it was looping -- running "select" over and over again, about once a second. The weird thing is that the first four arguments were all zero. The man page for select doesn't say anything about select's behavior in that case, which makes me think it's a programming error, because I can't see why one would want to select on zero fd's. -- Ben Rosengart (212) 741-4400 x215 "For values of 'whatever'."
Technical Details
Message-ID:
<slrna6g7mk.178.br@panix2.panix.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!news.misty.com!news.pir.net!panix!not-for-mailReferences:
<slrna6g6g1.178.br@panix2.panix.com>Show Full Headers
Complete Article Headers
Message-ID: <slrna6g7mk.178.br@panix2.panix.com> Subject: Re: db_checkpoint hanging around Date: Mon, 11 Feb 2002 19:43:11 +0000 From: Ben Rosengart <br@panix.com> References: <slrna6g6g1.178.br@panix2.panix.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!news.misty.com!news.pir.net!panix!not-for-mail Newsgroups: news.software.nntp Organization: PANIX Public Access Internet and UNIX, NYC Lines: 24 NNTP-Posting-Host: panix2.panix.com X-Trace: reader2.panix.com 1013456591 5713 166.84.1.2 (11 Feb 2002 19:43:11 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Mon, 11 Feb 2002 19:43:11 +0000 (UTC) User-Agent: slrn/0.9.7.3 (NetBSD)