Mail archive
alpine-user

Re: [alpine-user] Ulimit

From: Daniel Isaksen <d_at_duniel.no>
Date: Mon, 26 Nov 2018 21:11:35 +0000

Hi David,

This is an LXC limitation.

Given you have the prerequisite LXC >=2.19, try this: `lxc config set containername limits.kernel.nofile 1024`

-----
Sincerely / Med vennlig hilsen,
Daniel Isaksen <d_at_duniel.no> (https://duniel.no)

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, November 26, 2018 9:53 PM, David Compton <d140frv_at_hotmail.co.uk> wrote:

> Hi,
>

> I have installed Alpine Linux to my Proxmox dev environment in a LXC container and am having an issue raising the file limits.
>

> I have it installed on a reasonably busy haproxy server so I need to increase the file limits but I get the following error from this command:
>

> ulimit -n 90000
> ash: error setting limit: Operation not permitted
>

> ===
>

> ## Increase system file descriptor limit
> fs.file-max = 65535
>

> Am I doing something wrong?  Any help appreciated!
>

> David






---
Unsubscribe:  alpine-user+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-user+help_at_lists.alpinelinux.org
---
Received on Mon Nov 26 2018 - 21:11:35 UTC