rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)


xxxxx:/xxxxx# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[xx]"
Processing section "[xxx]"

Processing section "[xx-cxcxc]"
Processing section "[wdww34]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

4 Comments to “rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)”

  1. You need edit /etc/security/limits.conf
    and add this 2 lines

    * soft nofile 30000
    * hard nofile 30000

    Write changes, reboot and that’s all

    =)

  2. Verify:
    #ulimit -a
    -t: cpu time (seconds) unlimited
    -f: file size (blocks) unlimited
    -d: data seg size (kbytes) unlimited
    -s: stack size (kbytes) 10240
    -c: core file size (blocks) unlimited
    -n: file descriptors 1024
    -v: virtual memory size (kb) unlimited

    Settings:
    #ulimit -n 3000

    Works.

  3. Sory:

    Settings:
    #ulimit -n 30000

    Works.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: