I can't believe I didn't think to look there first! I amended the lxc config file with:
which is more than enough. Thank you for the fast reply. I'm loving Alpine so far, the boot times are unreal, I can see why it's so popular.
From: Daniel Isaksen <d_at_duniel.no>
Sent: 26 November 2018 21:11
To: David Compton
Subject: Re: [alpine-user] Ulimit
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
$B!>!>!>!>!>!>!>(B Original Message $B!>!>!>!>!>!>!>(B
On Monday, November 26, 2018 9:53 PM, David Compton <d140frv_at_hotmail.co.uk> wrote:
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!
Received on Mon Nov 26 2018 - 21:17:50 UTC