Miguel Medalha
2010-Jan-25 11:44 UTC
[Samba] Testparm: "rlimit_max: rlimit_max (8192) below minimum Windows limit (16384)"
I just installed samba on a new server, 3.4.5-42, 64 bit version from Sernet, over CentOS 5.4. When running testparm, I get the following warning: rlimit_max: rlimit_max (8192) below minimum Windows limit (16384) I searched Google for some answer but I couldn't find a satisfactory one. What should I do to solve this? Can someone from the Samba team enlighten me on this? Thank you!
Martin Hochreiter
2010-Jan-25 14:22 UTC
[Samba] Testparm: "rlimit_max: rlimit_max (8192) below minimum Windows limit (16384)"
Am 2010-01-25 12:44, schrieb Miguel Medalha:> > I just installed samba on a new server, 3.4.5-42, 64 bit version from > Sernet, over CentOS 5.4. > > When running testparm, I get the following warning: > > rlimit_max: rlimit_max (8192) below minimum Windows limit (16384) > > I searched Google for some answer but I couldn't find a satisfactory > one. What should I do to solve this? > Can someone from the Samba team enlighten me on this? > > Thank you! >Hi, I am not from the samba team but I stepped into the same situation: you have to set the ulimit -n to the windows limit " ulimit -n 16384 " (Max open files) That is valid for the console you are in regards
Jeremy Allison
2010-Jan-25 17:50 UTC
[Samba] Testparm: "rlimit_max: rlimit_max (8192) below minimum Windows limit (16384)"
On Mon, Jan 25, 2010 at 11:44:03AM +0000, Miguel Medalha wrote:> > I just installed samba on a new server, 3.4.5-42, 64 bit version from > Sernet, over CentOS 5.4. > > When running testparm, I get the following warning: > > rlimit_max: rlimit_max (8192) below minimum Windows limit (16384) > > I searched Google for some answer but I couldn't find a satisfactory > one. What should I do to solve this? > Can someone from the Samba team enlighten me on this?It's a warning, you can safely ignore it. Windows 7 clients need to have exactly the same number of open handles available as Windows servers, else it fails in some file copy situations with a "out of handles" message. Samba has taken care of it for you, but it's just letting you know your fd limit is set a bit low. Jeremy
Miguel Medalha
2010-Jan-25 20:10 UTC
[Samba] Testparm: "rlimit_max: rlimit_max (8192) below minimum Windows limit (16384)" - SOLVED
> I just installed samba on a new server, 3.4.5-42, 64 bit version from > Sernet, over CentOS 5.4. > > When running testparm, I get the following warning: > > rlimit_max: rlimit_max (8192) below minimum Windows limit (16384) >In order to make the necessary change permanent, I entered the following line in "/etc/security/limits.conf": * - nofile 16384 The warning previously given by "testparm" is now gone. From "limits.conf"'s header: ?Quote: - the wildcard *, for default entry - nofile - max number of open files End of quote? Thanks to those who answered my question.