[SOLVED] Disk quota exceeded - Failed to create kernel keyring

Aug 28, 2017
66
12
48
44
Hi,

wir haben auf unseren Systemen "immer mehr" lxc container, und bei inzwischen mehr als 200 gab es auf einmal folgenden Fehler:

lxc-execute: 994: utils.c: lxc_setup_keyring: 1898 Disk quota exceeded - Failed to create kernel keyring

Der Fehler lässt sich einfach beheben, wenn man sieht das die kernel maxkeys default auf 200 stehen:

root@lxc-prox1:~# sysctl -n kernel.keys.maxkeys
kernel.keys.maxkeys = 200

Einfach erhöhen:

root@lxc-prox1:~# sysctl -w kernel.keys.maxkeys=1000
kernel.keys.maxkeys = 1000

Und am besten gleich noch persistieren
file /etc/sysctl.d/lxc-maxkeys.conf
Code:
kernel.keys.maxkeys=1000

Evtl. kann man das ja auch in default proxmox einfließen oder über UI konfigurierbar machen (-:
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!