Page 1 of 1

FASTSTART option give exit code of 137 on restart

Posted: 11 Mar 2013, 11:20
by marcele
I'm just curious what the memory requirements are for enabling the FASTSTART option ? I have a test VM running with 512 MB RAM. With the FASTSTART option enabled I see an exit code of 137 (google says that exit code is because of low memory). Note that there are around 500 permanent blocks in the csf.deny file.

Code: Select all

[~]# csf -r
Killed
[~]# echo $?
137
With FASTSTART disabled I can have over 1000 permanent blocks in the same VM with no issues.

Re: FASTSTART option give exit code of 137 on restart

Posted: 27 Mar 2013, 15:03
by marcele
I just wanted to update this and let you know that I've also seen this error happen on one of our production systems also. It seems that the faststart option can't handle a lot of iptables rules with low memory.

On this server it had 1GB ram and enabling the Spamhaus, TOR, BOGON, and one country deny list was enough to cause csf to error with this exit code on restart.