[vserver] Increasing fd limit in guest

From: Oliver Welter <mail_at_oliwel.de>
Date: Wed 09 Apr 2014 - 11:02:33 BST
Message-ID: <53451AB9.20504@oliwel.de>

Hi Folks,

I am sure that I am just overseeing an obvious thing but I dont get it

Problem: My vserver guest reports a fd limit of 1024 (ulimit -n)

echo 4096 > /etc/vservers/mail/rlimits/nofile

ls -l /etc/vservers/mail/rlimits
-rw-r--r-- 1 root root 5 Apr 9 11:52 nofile

I restartet the guest but the new limit does not show up in the
/proc/virtual/ctx/ neither does ulimit report the new value.

What am I doing wrong?

vserver-info says:
                   Kernel: 3.4.50-vs2.3.3.9-aufs-v5
                   VS-API: 0x00020308
                      VCI: 0x0000000013001f11
             util-vserver: 0.30.216-pre3038; Feb 22 2013, 00:41:48



Protect your environment -  close windows and adopt a penguin!

Received on Wed Apr 9 11:02:29 2014
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 09 Apr 2014 - 11:02:29 BST by hypermail 2.1.8