[vserver] cannot set default ulimits

From: Corin Langosch <corinl_at_gmx.de>
Date: Tue 22 Sep 2009 - 15:20:37 BST
Message-ID: <4AB8DD35.2070208@gmx.de>

Hi,

I'd like to change/increase the default ulimits for a vserver.

According to the docs I created a file like this:

root@r15717:/# cat /etc/vservers/vs15780/ulimits/nofile
8192

I restarted the vserver but ulimit -n still shows 1024 and I can't
increase it with ulimit -n 8192:

root@vs15780:~# ulimit -n 8192
-bash: ulimit: open files: cannot modify limit: Operation not permitted

What's wrong? :)

Corin
Received on Tue Sep 22 17:08:02 2009

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 22 Sep 2009 - 17:08:03 BST by hypermail 2.1.8