Article View: news.software.nntp
Article #84112Re: Rebuilding overview
From: Julien ÉLIE
Date: Sat, 11 Jun 2011 08:32
Date: Sat, 11 Jun 2011 08:32
61 lines
3075 bytes
3075 bytes
Hi Steve,
>> Did you also notice an increase in the duration of expireover? Is
>> news.daily taking a different time to run between buffindexed and
>> tradindexed overviews?
>
> This isn't appreciably different from my buffindexed experience.
Pretty interesting to know. (I would have thought the contrary.)
Thanks for the benchmark!
>>> After this change, makehistory ran without issues and completed in about
>>> 40 hours.
>>
>> For how many articles?
>
> I assume that's the 15616044 from 'Article lines processed' during
> expire?
Yes.
Which means 6500 messages per minute, so about a hundred per second.
Oh, thinking about it, it is not that slow!
>> Should we then use FD_SETSIZE instead of the hard-coded 5000 value?
>
> Yes, I think that would be a good option. Alternatively, log an error
> message when descriptors exceed FD_SETSIZE. Is there any plan to
> migrate from select to epoll? I guess this would cause problems for
> anyone running a<2.6 kernel?
In innd/innd.c:
i = getfdlimit();
if (i < 0)
sysdie("SERVER cant get file descriptor limit");
+#ifdef FD_SETSIZE
+ if (i > FD_SETSIZE) {
+ syslog(LOG_WARNING, "%s number of descriptors %d exceeding FD_SETSIZE %d",
+ LogName, i, FD_SETSIZE);
+ i = FD_SETSIZE;
+ }
+#endif
Seems to work fine.
(Log done with the condition (i >= FD_SETSIZE), just for testing purpose.)
Jun 11 10:04:32 news innd: SERVER number of descriptors 1024 exceeding FD_SETSIZE 1024
Jun 11 10:04:32 news innd: SERVER descriptors 1024
Jun 11 10:04:32 news innd: SERVER outgoing 1011
--
Julien ÉLIE
« Un voyage de mille lieues commence toujours par un premier pas. »
(Lao Zi)
Technical Details
Message-ID:
<95gng0Fmh9U1@mid.individual.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed101.telia.com!starscream.dk.telia.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<slrnis7i5f.bet.steve@news.mixmin.net> <iq1e3h$59m$1@news.trigofacile.com> <slrnit9m74.23b.steve@news.mixmin.net> <93l16mFt5kU1@mid.individual.net> <slrnitat8o.23b.steve@news.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <95gng0Fmh9U1@mid.individual.net> Subject: Re: Rebuilding overview Date: Sat, 11 Jun 2011 10:32:00 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <slrnis7i5f.bet.steve@news.mixmin.net> <iq1e3h$59m$1@news.trigofacile.com> <slrnit9m74.23b.steve@news.mixmin.net> <93l16mFt5kU1@mid.individual.net> <slrnitat8o.23b.steve@news.mixmin.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed101.telia.com!starscream.dk.telia.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 61 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net uG+qrWHgXdAv534VPioxSQr6FDP1ToSS3q2bBD3jSDWjd0yr0= Cancel-Lock: sha1:0z6Lzk6E5VKEUg/UmdsJDMJS/0s= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr; In-Reply-To: <slrnitat8o.23b.steve@news.mixmin.net> X-Original-Bytes: 2859