you need to diagnose why your system is running out of system resources and fix the problem. According to /usr/include/linux/capability.h, sys_resource is required to: /* Override resource limits. Set resource limits. */ /* Override quota limits. */ /* Override reserved space on ext2 filesystem */ /* Modify data journaling mode on ext3 filesystem (uses journaling resources) */ /* NOTE: ext2 honors fsuid when checking for resource overrides, so you can override using fsuid too */ /* Override size restrictions on IPC message queues */ /* Allow more than 64hz interrupts from the real-time clock */ /* Override max number of consoles on console allocation */ /* Override max number of keymaps */
According to /usr/include/linux/capability.h, sys_resource is required to:
/* Override resource limits. Set resource limits. */
/* Override quota limits. */
/* Override reserved space on ext2 filesystem */
/* Modify data journaling mode on ext3 filesystem (uses journaling
resources) */
/* NOTE: ext2 honors fsuid when checking for resource overrides, so
you can override using fsuid too */
/* Override size restrictions on IPC message queues */
/* Allow more than 64hz interrupts from the real-time clock */
/* Override max number of consoles on console allocation */
/* Override max number of keymaps */
根據 /usr/include/linux/capability.h,sys_resource 必須:
/* 凌駕資源限制。設定資源限制。 */
/* 凌駕配額限制。 */
/* 凌駕 ext2 檔案系統上的保留空間。 */
/* 修改 ext3 檔案系統上的資料日誌模式(使用日誌
資源) */
/* 備註:ext2 在檢查資源凌駕時會尊重 fsuid,所以您也可以
用 fsuid 凌駕 */
/* 凌駕 IPC 訊息佇列的大小限制 */
/* 允許高於實時時鐘 64hz 次的中斷 */
/* 凌駕終端機分配的最大終端機數 */
/* 凌駕 keymap 的最大數 */