RLIMIT_NOFILE problem

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

RLIMIT_NOFILE problem

Postby kolargol » Sun Dec 02, 2007 6:46 pm

Hello,
recently i got problem regarding open file limits. I am running on debian and have changed /etc/security/limits.conf the "nofiles" to 10000 (ten thousands),
but grsec still complains about limits (i read previous posts about that but they was about "attempt" - and mean to be warning only), putting following message:

Dec 2 19:25:52 localhost kernel: grsec: From x.x.x.x: denied resource overstep by requesting 1024 for RLIMIT_NOFILE against limit 1024 for /usr/local/lib/erlang/erts-5.5.5/bin/beam[beam:2232] uid/e
uid:1001/1001 gid/egid:1001/1001, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0

with cleanly says that it deny oversteping limits. The ulimit on UID 1001 shows correct value (10000) at -n

kernel: 2.6.23.1, grsec 2.1.11-2.6.23-200710121810, setting - "high"
kolargol
 
Posts: 36
Joined: Thu Sep 23, 2004 5:19 am

Return to grsecurity support