• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issues with error_log not rotating

freaky@

Regular Pleskian
Hi there,

just had a server /var full because of an error_log that was 4GB in size. First entries were from 28th of august last year.

Log rotation is configured on the webspace and access.log is rotating. It's set to rotate every 10240kiB.

Since the difference between 10MiB and >4GiB is quite large and there being a lot of errors on 28th august already it should have been rotated way sooner. Even if cron only runs the job once a day.

Any ideas what's causing this?

Host OS is Ubuntu 12.04.5 in case it matter.

Kind regards,
 
This issue has been seen on CentOS 6 as well (even with the log rotation set to 10240 KB it still fails to rotate when it hits that size when the daily log rotation process runs even though other logs are properly rotated)
 
Thanks for the re'. Since you don't mention a solution I take it there is none? :)

Couldn't find anything in the knowledge base with regards to 12 either. Did find some KB's for 11 and older, but their solutions don't seem to apply.
 
The process didn't generate errors so perhaps there is another way of tracking this down (or maybe a conflicting setting that is preventing the specific file from being rotated)
 
I do have the same issue on Centos 6.6, Plesk 12. My log file is 4gb and not rotated.
Rotation log is set by size 10240kb.
Access log is rotated well but error_log is not.
/var/www/vhosts/domain.tld/logs/error_log 4GB
/var/www/vhosts/domain.tld/logs/error_log.1 2GB
/var/www/vhosts/domain.tld/logs/error_log.1.gz -> error_log.7.gz 208kb

I don't know how to reduce this error log. Could someone have any suggestions?

Kind regards,
 
Back
Top