Koozali.org: home of the SME Server

Increasing Max Open Files in Samba

Craig

Increasing Max Open Files in Samba
« on: January 08, 2002, 05:53:01 PM »
I believe that the standard Samba 'maxopenfiles' is set to 246. How do I increase this amount to say 500?

Can some one confirm that opportunistic locking is turned off by default in SME v5.0 for all IBays?

I am running a default SME v5.0 install with the standard Samba 2.0.10 that comes by default.

I am having some intermittent problems with a Paradox application that is running from an IBay and the supplier has asked me to check these.

Regards
Craig

Damien Curtain

Re: Increasing Max Open Files in Samba
« Reply #1 on: January 09, 2002, 12:27:56 AM »
Craig wrote:
>
> I believe that the standard Samba 'maxopenfiles' is set to
> 246. How do I increase this amount to say 500?

No, the default is 10,000, but is dependant on the system arch, ie. what does ulimit -a tell you....

> Can some one confirm that opportunistic locking is turned off
> by default in SME v5.0 for all IBays?

Yes, see your smbd configuration file to verify yourself. ie. grep oplocks /etc/smb.conf
--
 Damien

Craig

Re: Increasing Max Open Files in Samba
« Reply #2 on: January 09, 2002, 05:51:37 AM »
Damien

Thanks for the info.

I was reading some info on Samba last night and I am aware that maxopenfiles are 10,000 by default. The documentation seemed to imply that this value is set to 246 as 10,000 is a bit extreme. I was just checking on the defaults for SME v5.0.

The output of ulimit -a showed me everything I needed to know.

Oplocks is set to false which is great.

Thanks for your help.

Regards
Craig