FASTSTART option give exit code of 137 on restart

Post Reply
marcele
Junior Member
Posts: 214
Joined: 17 Sep 2007, 17:02

FASTSTART option give exit code of 137 on restart

Post 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.
marcele
Junior Member
Posts: 214
Joined: 17 Sep 2007, 17:02

Re: FASTSTART option give exit code of 137 on restart

Post 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.
Post Reply