websavers
Regular Pleskian
Hey everyone,
We've got a number of servers with Plesk panel, making use of php-fpm and nginx processing. All (or very close to all) of them are running 11.5.30 Update #48.
Just before migrating a few of these servers, I've discovered that the file /var/log/sw-cp-server/sw-engine.log is typically massive (20-50GB) causing IO performance issues and, of course, creating longer than necessary migrations.
We've taken to simply nulling the log file with cat /dev/null > /var/log/sw-cp-server/sw-engine.log, however I don't want to be constantly having to do this on a regular basis. Shouldn't this file be automatically rotating?
Is this a bug in Plesk that the devs forgot to add this file to logrotate?
We've got a number of servers with Plesk panel, making use of php-fpm and nginx processing. All (or very close to all) of them are running 11.5.30 Update #48.
Just before migrating a few of these servers, I've discovered that the file /var/log/sw-cp-server/sw-engine.log is typically massive (20-50GB) causing IO performance issues and, of course, creating longer than necessary migrations.
We've taken to simply nulling the log file with cat /dev/null > /var/log/sw-cp-server/sw-engine.log, however I don't want to be constantly having to do this on a regular basis. Shouldn't this file be automatically rotating?
Is this a bug in Plesk that the devs forgot to add this file to logrotate?