WordPress.org

Ready to get started?Download WordPress

Forums

Facebook
It killed my blog (2 posts)

1 star
  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...

  2. Niall Kennedy
    Member
    Plugin Author

    Posted 1 year ago #

    Hi glarrain,
    I believe you experienced an issue with a HTTP proxy holding on to the connection for longer than you would like. Plugin version 1.3 asks the proxy to shutoff the connection after its use.

    If you rather not retrieve comments stored on Facebook's servers for inclusion in your posts inside a noscript element (for SEO and other no-JS purposes) you can return an empty string through the facebook_comments_wrapper filter.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.