Re: [vserver] default ulimits

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Tue 22 Sep 2009 - 23:58:24 BST
Message-ID: <20090922225824.GC24556@MAIL.13thfloor.at>

On Wed, Sep 23, 2009 at 12:05:51AM +0200, Corin Langosch wrote:
> 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

what kernel/patch and util-vserver version?

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

make sure that your guest startup or logon doesn't
set them (/etc/security/limits.conf comes to my mind)

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

by default, you are not allowed to rais the limits,
just lower them ...

> What's wrong? :)

probably nothing :)

best,
Herbert

> Corin
>
Received on Wed Sep 23 07:05:50 2009

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 23 Sep 2009 - 07:05:52 BST by hypermail 2.1.8