I am trying to run spamdyke in front of qmail on a gentoo-hardened system. Its a KVM but that probably doesn't matter.
dmesg tells me
Code: Select all
grsec: From 212.23.1.5: denied resource overstep by requesting 16228352 for RLIMIT_AS against limit 16000000 for /usr/bin/spamdyke[spamdyke:1626] Code: Select all
@40000000553d65a02edc836c /usr/bin/spamdyke: error while loading shared libraries: libz.so.1: failed to map segment from shared object.spamdyke is made up of
Code: Select all
# lddtree /usr/bin/spamdyke
spamdyke => /usr/bin/spamdyke (interpreter => /lib64/ld-linux-x86-64.so.2)
libssl.so.1.0.0 => /usr/lib64/libssl.so.1.0.0
libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0
libdl.so.2 => /lib64/libdl.so.2
libz.so.1 => /lib64/libz.so.1
libc.so.6 => /lib64/libc.so.6Having tried to change it in /etc/security/limits.conf and with ulimit -v in a wrapper script, nothing will change the RLIMIT_AS - not even downwards.
Where is RLIMIT_AS set and how can i change it?

