Package: wordpress
Version: 4.3+dfsg-1
Severity: normal
Tags: upstream

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Wordpress performance degrades over time dues to increasing high CPU usage and 
become unusable under moderaate to high loads (20 plus connections)
Finally located thousands of wp_cron entries with numbers as hooks and 
wp_batch_split_terms under "Next run" with old date Thu 1970/01/01 00:00:00
Every hit on the site results in more of these cron entries causing 
increasingly large database loads of the cron entry from wp_options on every 
connection

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Applied changes to wordpress/wp-includes/taxonomy.php as per
https://core.trac.wordpress.org/ticket/33423

Line: 4448

wp_schedule_single_event( 'wp_batch_split_terms', time() + MINUTE_IN_SECONDS );

Meant to call

wp_schedule_single_event( time() + MINUTE_IN_SECONDS, 'wp_batch_split_terms' );

Ran from theme's functions.php:

add_action("init", "remove_taxonomy_cron_job");

function remove_taxonomy_cron_job()
{
$cron = get_option("cron");
unset($cron["wp_batch_split_terms"]);
update_option("cron", $cron);
}

   * What was the outcome of this action?

Restored normal performance

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.1.0-1-amd64 (SMP w/5 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages wordpress depends on:
ii  apache2 [httpd]                  2.4.16-3
ii  ca-certificates                  20150426
ii  libapache2-mod-php5              5.6.12+dfsg-1
ii  libjs-cropper                    1.2.2-1
ii  libjs-mediaelement               2.15.1+dfsg-1
ii  libphp-phpmailer                 5.2.10+dfsg-1
ii  mysql-client                     5.5.44-0+deb8u1
ii  mysql-client-5.5 [mysql-client]  5.5.44-0+deb8u1
ii  php-getid3                       1.9.9+dfsg-2
ii  php5                             5.6.12+dfsg-1
ii  php5-gd                          5.6.12+dfsg-1
ii  php5-mysql                       5.6.12+dfsg-1

Versions of packages wordpress recommends:
ii  wordpress-l10n                 4.3+dfsg-1
ii  wordpress-theme-twentyfifteen  4.3+dfsg-1

Versions of packages wordpress suggests:
pn  mysql-server  <none>
pn  php5-ssh2     <none>

-- Configuration Files:
/etc/wordpress/htaccess changed [not included]

-- no debconf information

Reply via email to