Article View: news.software.nntp
Article #84120Re: File descriptor limits.
From: Russ Allbery
Date: Sat, 11 Jun 2011 19:52
Date: Sat, 11 Jun 2011 19:52
21 lines
2005 bytes
2005 bytes
Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> writes:
> Several people in this newsgroup and in inn-workers suggest a switch to
> epoll() instead of select(). Is epoll() as portable as select()?
No, which is the problem.
At this point, actually, the best solution to this problem would probably
be to do the work to replace INN's event loop with something that handles
all these details for us, like libevent. See:
http://www.monkey.org/~provos/libevent/
Adding our own portability for epoll would basically be redoing the work
of libevent, except without the same user and testing base.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87k4csm9gs.fsf@windlord.stanford.edu>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!feeder.news-service.com!news.glorb.com!usenet.stanford.edu!usenet-its.stanford.edu!not-for-mailReferences:
<ijc6vh$12l$1@snarked.org> <95gqhdFd2hU1@mid.individual.net>Show Full Headers
Complete Article Headers
Message-ID: <87k4csm9gs.fsf@windlord.stanford.edu> Subject: Re: File descriptor limits. Date: Sat, 11 Jun 2011 12:52:51 -0700 From: Russ Allbery <rra@stanford.edu> References: <ijc6vh$12l$1@snarked.org> <95gqhdFd2hU1@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!feeder.news-service.com!news.glorb.com!usenet.stanford.edu!usenet-its.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 21 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: usenet-its.stanford.edu 1307821971 26759 171.67.225.134 (11 Jun 2011 X-Complaints-To: news@usenet-its.stanford.edu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:a+PpyfQBTJ99fKKubpmUNfAT3hI= X-Original-Bytes: 1756