• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

offloading stats and backup to second machine

M

MrSmith

Guest
Hey,

Plesk runs a few things (stats, backups etc) in cron.daily. I've run into a problem where from about mid-month, this daily run does not complete before peak morning load and this is causing degraded user experience for all sites hosted on the machine. I have already changed cron.daily from 6:25 to 0:25 a while ago.
Even with that though, the stats runs first, and this takes about 6-8 hours to process (1800+ websites on the machine) and then the mysqldump kicks in during peak business hours causing read lock problems.
The machine (hardware wise) would be more than sufficient for the load if plesk didn't need to run stats every day.

I've realised that to get around mysql locking, I can replicate to a 2nd mysql instance, and run all heavy commands (mysqldump etc) on the 2nd instance. This prevents table or row locking from affecting the control panel/client access.

What I'd like to figure out though, is a way to offload the processing of dailies.
If I can move the load of the statistics to a second machine (perhaps by nfs mounting the drive from the main plesk host) this will solve the problem and allow load to grow by almost 5 times per machine rather than split the domains across 2 machines.

Given that we have many plesk hosts (10 at the moment) with the same problem, we'd be able to use 1 piece of hardware dedicated to processing stats for all the plesk hosts rather than buying 10 extra machines and halving the load on each.

I'd really appreciate some brain storm on this.

Thanks
-Rob
 
I am still looking for a solution to this.
I would appreciate any feedback I can get.
 
Back
Top