WordPress.org

Support

Support » Plugins and Hacks » Facebook » [Resolved] It is sooo slow (and PHP-FPM's slowlog tell who is to blame)

[Resolved] It is sooo slow (and PHP-FPM's slowlog tell who is to blame)

  • 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/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] It is sooo slow (and PHP-FPM's slowlog tell who is to blame)’ is closed to new replies.
Skip to toolbar