Check the Status of The Iptables Error: child pid 24546 exit signal File size limit exceeded (25)

Sometimes we  find the error messages in /etc/httpd/logs/error_log  as follows :-

[notice] child pid 24546 exit signal File size
limit exceeded (25)

This means that we have a log file that is greater than 2GB in size.
For cPanel serves you should set the log rotation from following link in WHM to avoid this :

WHM >> Service Configuration >> Apache Configuration >> Log Rotation

To fix this run the following :

cd /etc/httpd/domlogs
du -sh * | grep [0-9]G

This will show you the file that is causing issues e.g. example.com.log
To reset it run:

cd /etc/httpd/domlogs
rm example.com.log
touch domain.com.log
/etc/init.d/httpd stop
/etc/init.d/httpd start

Done.

Previously we have discuss about how to disable or enable iptable firewall.