How to fix CSF’s error Another app is currently holding the xtables lock

The error should be looking as below:

You have an unresolved error when starting csf:
Error: Error processing command for line [339] (6 times): [Another app is currently holding the xtables lock. Perhaps you want to use the -w option?], at line 339 in /usr/sbin/csf

You need to restart csf successfully to remove this warning, or delete /etc/csf/csf.error

CSF recommends to set WAITLOCK to “1”

cat /etc/csf/csf.conf |grep WAITLOCK

# csf uses a last ditch timeout, WAITLOCK_TIMEOUT in seconds, that will trigger

Change it to “1”


remove /etc/csf/csf.error

rm -fv /etc/csf/csf.error

Start csf

csf -e



Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *