Out of file structures

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Wed Apr 18 19:09:15 GMT 2001


Hi Bob,
means pretty much what it says; each client attaches to its own smbd
process, and in *nix, there is a kernel parameter that determines the
maximum number of files that a single process can have open simultaneously;
so if the user has a LOT of files open, they could reach this limit.
Depending on your kernel, this may be tuneable (ie you could change and
regen your kernel for a large max_open_files size);  but before you do this,
you should probably make sure that the user really VALIDly has that many
files open.  I have seen instances where you can get this error because some
windows clients when they get an oplock open on a file, they don't bother
closing it - thus you end up with many more files 'open' than is necessary.
You can test to see if the oplock thing is causing you grief by adding the
parameter 
oplocks = no

I don't know what the kernel default is for max_open_files per process on a
Solaris 2.6 system - anyone on the list know?

Hope this helps,
Don


-----Original Message-----
From: Bob Castle [mailto:castlew at eng.squared.com]
Sent: Wednesday, April 18, 2001 1:25 PM
To: samba at lists.samba.org
Subject: Out of file structures



I'm running Samba version 1.9.18p10 on a Solaris 2.6 server and have started
to 
receive the following error when users attempt to access autodesk/Inventor
(CAD) 
assemblies that are stored on the Samba Server. The users are using NT 4.0.

ERROR! Out of file structures - perhaps increase MAX_OPEN_FILES?


What is causing this and what can I do to fix or work around the issue?


Thanks,

Bob Castle
Systems Engineer
Square D Company
Lexington,  KY
859-243-8330



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list