exit signal File size limit exceeded

Written by Peter Davies on .

I recently ran into an error whilst trying to debug an application.
The actual error that appeared on screen was blank and a quick of the apache logs revealed multiple:

exit signal File size limit exceeded

I soon realised that the php_error_log had reached a 2Gb file limit meaning that it could no longer be written to.

echo "" > php_errors.log

Restart apache and then the system works again!