• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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