Support » Plugin: MultiSite System Cron » Stressing the webserver

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Pau Iglesias

    (@pauiglesias)

    Good morning Viktor,

    thanks for your opinion, but I don’t understand why you say “stressing” based only on the plugin screenshot ¿?

    The wget command is executed only one time by minute (or you can change the frecuency if not needed accurated execution), and with this plugin you can control and avoid overlapping of processes.

    This plugin wast tested in several production servers running WordPress MultiSite without any issue with server performance or WordPress behaviour.

    Please, try before the plugin, and if you do not like wget you can use curl or something you consider.

    Regards,
    Pau

    Thread Starter Viktor Szépe

    (@szepeviktor)

    thanks for your opinion, but I don’t understand why you say “stressing” based only on the plugin screenshot ¿?

    You’re right. Running cron through the webserver does not stress it only puts more load on the webserver.

    This is a simplified stack:

    3. webserver
    2. PHP-FPM
    1. kernel

    If you use wget you put load on all three.
    By using PHP-CLI load goes only on the kernel.

    The above mentioned scripts help detecting and handling errors.
    But these could only be used on servers with SSH access (not necessarily with root access).

    I’ve also began with a one-liner!!

    All the best wishes to you!

    Thread Starter Viktor Szépe

    (@szepeviktor)

    Do you know this script with wp-cli?

    https://github.com/TheLastCicada/WordPress-Multisite-System-Cron/blob/master/run-wp-cron-multi.sh

    But it also fires HTTP requests through the webserver.

    The proper solution is a fully wp-cli script.
    See: http://wp-cli.org/commands/cron/

    Plugin Author Pau Iglesias

    (@pauiglesias)

    Anything puts more load, the question I think is how it affect to server perfomance, in this case we have a low impact 😉

    Many thanks for the links, how I mentioned wget is not mandatory and I’m sure that those scripts run better.

    And what a surprise about that shell script with the same name of this plugin, I had no idea.

    Regards,
    Pau

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Stressing the webserver’ is closed to new replies.