Postgresql resource oversteps
Posted: Thu Jul 08, 2004 1:37 am
I have a problem with Grsecurity+PAX+SELinux with postgresql that's driving me insane.
Running the postgresql server results in an error about an "attempted resource overstep by requesting 1024 for RLIMIT_NOFILE against limit 1024 by /usr/bin/postgres[postmaster:pid] ..." The kernel then unceremoniously blows the process away with a SIGABRT, triggering a core dump, which isn't allowed to happen by a RLIMIT_CORE limit of 0 (by design).
No matter what I set the RLIMIT_NOFILE to in /etc/security/limits.conf, the same thing will happen, except that 1024 will be replaced with whatever I set the limit to.
At this point, I'd be happy just turning off the actual killing of processes due to resource limitations, particularly since I'm beginning to suspect that this might be a bug in postgresql 7.3. (How?) Postgresql is the only process on this machine that I would worry about going off the deepend anyway.
Any ideas?
Running the postgresql server results in an error about an "attempted resource overstep by requesting 1024 for RLIMIT_NOFILE against limit 1024 by /usr/bin/postgres[postmaster:pid] ..." The kernel then unceremoniously blows the process away with a SIGABRT, triggering a core dump, which isn't allowed to happen by a RLIMIT_CORE limit of 0 (by design).
No matter what I set the RLIMIT_NOFILE to in /etc/security/limits.conf, the same thing will happen, except that 1024 will be replaced with whatever I set the limit to.
At this point, I'd be happy just turning off the actual killing of processes due to resource limitations, particularly since I'm beginning to suspect that this might be a bug in postgresql 7.3. (How?) Postgresql is the only process on this machine that I would worry about going off the deepend anyway.
Any ideas?