LWN.net Logo

File descriptor handling changes in 2.6.27

File descriptor handling changes in 2.6.27

Posted Aug 12, 2008 14:05 UTC (Tue) by endecotp (guest, #36428)
In reply to: File descriptor handling changes in 2.6.27 by danpb
Parent article: File descriptor handling changes in 2.6.27

Be aware that SC_OPEN_MAX could be a very large number.  For example, I've seen the Apache
module portion of the subversion server get very slow because it does this.  I would
definitely advocate first trying the /proc/self method, and only falling back to SC_OPEN_MAX
if there's no alternative.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds