• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

how to control plesk own logrotate?

nocrash

Basic Pleskian
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE

10.4.4 SuSE 11.4 1013111102.18 (patch version="57"), 64 bit

PROBLEM DESCRIPTION

Plesk seems to rotate some website at business time, the web service will be blocked at this time.

ps shows me a lot of defunct httpd2-prefork processes at this time, it last about 15 min or more. Enough to alarm our customers that their website is not working.

First thought about /etc/logrotate.conf and /etc/logrotate.d/ , i read that plesk has its own logrotate configuration files...


STEPS TO REPRODUCE

example of today...
some websites are rotated well within night till morning time from 00:45 till 07:45, then rotating starts for 5 sites at 14:45

$ ls -lisat /srv/www/vhosts/*/statistics/logs/access_log.processed | head
1048653 0 -rw-r--r-- 1 root root 0 Jan 27 14:45 /srv/www/vhosts/a.b.c/statistics/logs/access_log.processed
14681690 0 -rw-r--r-- 1 root root 0 Jan 27 14:45 /srv/www/vhosts/d.e.f/statistics/logs/access_log.processed
...
31850748 4 -rw-r--r-- 1 root root 81 Jan 27 07:15 /srv/www/vhosts/m.n.o/statistics/logs/access_log.processed
31850669 4 -rw-r--r-- 1 root root 81 Jan 27 07:14 /srv/www/vhosts/p.q.r/statistics/logs/access_log.processed
...
23347600 4 -rw-r--r-- 1 root root 1770 Jan 27 00:45 /srv/www/vhosts/x.y.z/statistics/logs/access_log.processed

like yesterday the later rotated files are 0 byte at size.

EXPECTED RESULT

is there any chance of configration at /usr/local/psa/etc/logrotate.conf or /usr/local/psa/etc/logrotate.d/ or maybe at Plesk Webfrontend?

ANY ADDITIONAL INFORMATION
 
Back
Top