[Xapian-tickets] [Xapian] #651: Avoid low fds

Xapian nobody at xapian.org
Mon Dec 8 07:57:02 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 james):

 OS X:

 {{{
 $ ./a.out test-file
 info: write() cause SIGXFSZ to be raised
 Cool, that basically worked - please report the info and/or warnings given
 above
 ulimit -f 1000000
 ./a.out test-file
 RLIMIT_FSIZE cur = 0x3d090000
 RLIMIT_FSIZE max = 0x3d090000
 warning: write() succeeded, writing 0 bytes
 lseek SEEK_END now returns 0x7ffffffffffff000 (off_t_max was
 0x7fffffffffffffff)
 warning: write changed file pos to 0x7ffffffffffff000
 Cool, that basically worked - please report the info and/or warnings given
 above
 }}}

 …and then hangs (and disappears from the process listing?). Looks like an
 OS X bug somewhere here (first time I ran it however, it was fine; just
 caught the signal at write).

--
Ticket URL: <http://trac.xapian.org/ticket/651#comment:10>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list