Subject: cannot set default ulimits
From: Corin Langosch <corinl@gmx.de>
Date: Tue, 22 Sep 2009 16:20:37 +0200

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