Problem after manual compile kernel
-
Hi!
I manually compile kernel and it seemed worked ok, but now I got error kmem_malloc(4096): kmem_map too small: here size in kb and server crashes. Next it restarts but again crashes (usually when it starts ftp helper, firewall or carp).
I compiled kernel to increase HFSC_MAX_CLASSES from 64 to 512.
For compilation I used:
RELEASE_6_2-p12 and:
http://cvs.pfsense.com/cgi-bin/cvsweb.cgi/tools/builder_scripts/conf/make.conf.6
http://cvs.pfsense.com/cgi-bin/cvsweb.cgi/tools/builder_scripts/conf/pfSense.6According to list :http://cvs.pfsense.com/cgi-bin/cvsweb.cgi/tools/builder_scripts/patches.RELENG_6_2?rev=1.109;content-type=text%2Fplain
from directory
http://cvs.pfsense.com/cgi-bin/cvsweb.cgi/tools/patches/RELENG_6_2/Maybe I should use some other patches from directory not only these from list.
To avoid that problem I put in loader.conf vm.kmem_size_max="536870912", but it helped only for short time.
The error occurs when I try add any new rules,nat and sometimes shaping. After error, the only way to restore pfsense is bring config.xml before changes which caused crash.Maybe my configuration becomes too big and it cannot allocate memory? I think it is because of lack of some patch.
Regards,
Hans -
Also I get errors:
There were error(s) loading the rules: pfctl: DIOCADDRULE: Cannot allocate memory
And
There were error(s) loading the rules: pfctl: DIOCADDRULE: device busyMaybe this 1st error sometimes cause pfsense to crash. Not sure