• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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