WordPress.org

Ready to get started?Download WordPress

Forums

Facebook
[resolved] It is sooo slow (and PHP-FPM's slowlog tell who is to blame) (4 posts)

  1. glarrain
    Member
    Posted 1 year ago #

    I have a decent server running Ubuntu 12.04 + Nginx + PHP-FPM + WordPress 3.5.1. We use this plugin (version 1.2.3) and at some point performance got terrible, so "request_slowlog_timeout" came in handy.

    Guess what:

    [26-Feb-2013 17:48:17] [pool www] pid 8117
    script_filename = /usr/share/nginx/www/wordpress/index.php
    [0x0000000002ec56d0] stream_get_contents() /usr/share/nginx/www/wordpress/wp-includes/class-http.php:950
    [0x0000000002ec5260] request() /usr/share/nginx/www/wordpress/wp-includes/class-http.php:250
    [0x0000000002ec37d0] _dispatch_request() /usr/share/nginx/www/wordpress/wp-includes/class-http.php:187
    [0x0000000002ec35f0] request() /usr/share/nginx/www/wordpress/wp-includes/class-http.php:293
    [0x0000000002ec3470] get() /usr/share/nginx/www/wordpress/wp-includes/http.php:76
    [0x0000000002ec2830] wp_remote_get() /usr/share/nginx/www/wordpress/wp-content/plugins/facebook/includes/facebook-php-sdk/class-facebook-wp.php:129
    [0x0000000002ec24e0] graph_api() /usr/share/nginx/www/wordpress/wp-content/plugins/facebook/includes/facebook-php-sdk/class-facebook-wp.php:167
    [0x0000000002ec2028] graph_api_with_app_access_token() /usr/share/nginx/www/wordpress/wp-content/plugins/facebook/social-plugins/class-facebook-comments.php:194
    [0x0000000002ec1890] get_comments_by_url() /usr/share/nginx/www/wordpress/wp-content/plugins/facebook/social-plugins/class-facebook-comments.php:363
    [0x0000000002ec1360] comments_markup() /usr/share/nginx/www/wordpress/wp-content/plugins/facebook/social-plugins/class-facebook-comments.php:453
    [0x00007fff44a21000] the_content_comments_box() unknown:0
    [0x0000000002ec0a38] call_user_func_array() /usr/share/nginx/www/wordpress/wp-includes/plugin.php:173
    [0x0000000002ec0868] apply_filters() /usr/share/nginx/www/wordpress/wp-includes/post-template.php:166
    [0x0000000002ebe860] the_content() /usr/share/nginx/www/wordpress/wp-content/themes/Unicorn/single.php:82
    [0x0000000002ebda50] +++ dump failed

    Now I know who is responsible...

    http://wordpress.org/extend/plugins/facebook/

  2. abrander
    Member
    Posted 1 year ago #

    I experienced the same problem on Debian 6.0.7...

    I have submitted a pull-request with a fix here:
    https://github.com/facebook/wordpress/pull/410

  3. Niall Kennedy
    Member
    Plugin Author

    Posted 1 year ago #

    Can you please update to plugin version 1.3 and report if you still experience this problem?

  4. glarrain
    Member
    Posted 1 year ago #

    Thanks Niall, it works fine now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags