stdio in smbd

Eric Dirks eric.dirks at tellabs.com
Mon Feb 25 10:47:46 GMT 2002



The stdio library on Sun architecture is limited to file descriptors less than 256 and this
limitation is being encountered with some regularity in our smbd processes. Mostly it means that the
log file "reopen" call has problems and continues to use the old file, but I've also seen problems
opening the user map file - which results in access problems because mappings cannot be read. (I
suspect there are other problems as well). These problems don't happen unless your clients use a lot
of open files but a group of our users here seem to have 200-400 open files almost all the time.

Is anyone working to convert the stdio calls to other functions using file descriptors? I do need to
fix this problem here and I'd rather avoid duplicating work that has already been done if I can
avoid it.

Eric Dirks

Eric.Dirks at tellabs.com
============================================================
The information contained in this message may be privileged 
and confidential and protected from disclosure.  If the 
reader of this message is not the intended recipient, or an 
employee or agent responsible for delivering this message to 
the intended recipient, you are hereby notified that any 
reproduction, dissemination or distribution of this 
communication is strictly prohibited. If you have received 
this communication in error, please notify us immediately by 
replying to the message and deleting it from your computer.

Thank you.
Tellabs
============================================================




More information about the samba-technical mailing list