[Xapian-tickets] [Xapian] #651: Avoid low fds
Xapian
nobody at xapian.org
Sun Dec 7 06:47:08 GMT 2014
#651: Avoid low fds
---------------------------+-----------------------------
Reporter: olly | Owner: olly
Type: enhancement | Status: assigned
Priority: normal | Milestone: 1.3.3
Component: Backend-Glass | Version:
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
---------------------------+-----------------------------
Comment (by olly):
The link doesn't seem to work for me, but I think the meaning is clear
enough for our purposes here.
My initial thought was that this sinks the idea (at least on OS X) but
actually this does seem a better reaction than allowing the process to
corrupt the database, and in some ways better than the stray {{{write()}}}
returning -1 and some errno value which the caller may just quietly
ignore.
I'll extend the test program to catch that signal and continue with
checks.
--
Ticket URL: <http://trac.xapian.org/ticket/651#comment:6>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list