WordPress.org

Forums

plugins.php and update-core.php sometimes hang on Ubuntu 14.04 and Nginx 1.6.0 (3 posts)

  1. Ryan Burnette
    Member
    Posted 2 years ago #

    I am running Ubuntu 14.04, Nginx 1.6.0, and PHP 5.5.9. I'm using php5-fpm and Nginx connects to it via a .sock reference.

    I'm noticing that quite often when loading plugins.php or update-core.php the process hangs. It's not always true, but through testing I feel confident that it is not connected to a plugin. It happens intermittently even when the plugins directory is empty.

    I changed options in PHP so slow requests would be logged and this the output I get.

    [07-May-2014 13:19:08]  [pool www] pid 5020
    script_filename = /srv/staging.mysite.com/wordpress/wp-admin/update-core.php
    [0x00007f77aa537b68] fread() /srv/staging.mysite.com/wordpress/wp-includes/class-http.php:1008
    [0x00007f77aa5379c0] request() /srv/staging.mysite.com/wordpress/wp-includes/class-http.php:333
    [0x00007f77aa5377d8] _dispatch_request() /srv/staging.mysite.com/wordpress/wp-includes/class-http.php:249
    [0x00007f77aa537660] request() /srv/staging.mysite.com/wordpress/wp-includes/class-http.php:378
    [0x00007f77aa537538] post() /srv/staging.mysite.com/wordpress/wp-includes/http.php:195
    [0x00007f77aa537428] wp_remote_post() /srv/staging.mysite.com/wordpress/wp-content/plugins/acf-gallery/acf-gallery-update.php:136
    [0x00007f77aa537310] get_remote() /srv/staging.mysite.com/wordpress/wp-content/plugins/acf-gallery/acf-gallery-update.php:165
    [0x00007fff2e87c320] check_update() unknown:0
    [0x00007f77aa537178] call_user_func_array() /srv/staging.mysite.com/wordpress/wp-includes/plugin.php:192
    [0x00007f77aa537000] apply_filters() /srv/staging.mysite.com/wordpress/wp-includes/option.php:1379
    [0x00007f77aa536d98] set_site_transient() /srv/staging.mysite.com/wordpress/wp-includes/update.php:253
    [0x00007fff2e87c9a0] wp_update_plugins() unknown:0
    [0x00007f77aa536bb0] call_user_func_array() /srv/staging.mysite.com/wordpress/wp-includes/plugin.php:470
    [0x00007f77aa5369c8] do_action() /srv/staging.mysite.com/wordpress/wp-admin/admin.php:315
    [0x00007f77aa536808] +++ dump failed

    I'm not sure how to troubleshoot further. Help is appreciated.

  2. Terence
    Member
    Posted 1 year ago #

    @Ryan Burnette ~ OMG, and here was me thinking I was the only one with this problem. I posted about it here ~ but until I saw your post I hadn't associated it with Ubuntu 14.04 and Nginx, but as it turns out, I am running both with PHP 5.6 on a ServerPilot install on DigitalOcean.

    I have de-/re-activated my plugins with Debug Bar running more times than the Salvation Army has served hot dinners, but I can't find any point in the sequence where the delay jumps to the point where its unacceptable (22 seconds at present).

    No matter how much memory I give WordPress it just gradually gets worse and worse, as I add back in the plugins.

    It seems to be only plugins.php and update-core.php which are causing the problems here.

  3. Ryan Burnette
    Member
    Posted 1 year ago #

    I never figured out what the problem was back when this happened to me. I reloaded my droplet from scratch and the problem did no reappear for me. It may be a problem with a particular version of some dependency package. I'd suggest using apt to make sure everything is up-to-date. Hope you find a solution to your issue.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.