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