Support » Plugin: Favorites » Hanging server

  • Hello,

    I’ve noticed that favorites started hanging my server.

    fpm slow log:

    script_filename = /var/www/site/index.php
    [0x00007f85968126c0] session_start() /var/www/site/wp-content/plugins/favorites/app/Bootstrap.php:68
    [0x00007f8596812650] startSession() /var/www/site/wp-includes/class-wp-hook.php:298
    [0x00007f8596812570] apply_filters() /var/www/site/wp-includes/class-wp-hook.php:323
    [0x00007f8596812500] do_action() /var/www/site/wp-includes/plugin.php:453
    [0x00007f8596812400] do_action() /var/www/site/wp-settings.php:449
    
    script_filename = /var/www/site/wp-admin/admin-ajax.php
    [0x00007f8596812660] session_start() /var/www/site/wp-content/plugins/favorites/app/Bootstrap.php:68
    [0x00007f85968125f0] startSession() /var/www/site/wp-includes/class-wp-hook.php:298
    [0x00007f8596812510] apply_filters() /var/www/site/wp-includes/class-wp-hook.php:323
    [0x00007f85968124a0] do_action() /var/www/dsite/wp-includes/plugin.php:453
    [0x00007f85968123a0] do_action() /var/www/site/wp-settings.php:449

    I’m hope for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Everything seems to be working once the cookies were deleted. I think there is a bug in the javascript logic.
    To bad that plugin isn’t supported anymore 🙁

    Out of interest – did you inspect or save the cookies by chance?

    I don’t really see how the js could cause a server hang; that logic almost certainly is to be found in the PHP part.

    If the problem arises again you should describe the exact steps how to reproduce the problem and the state of the WP install. Does the hang happen when a user clicks on something, when loading a page with favorites, etc. Also, do you have any code hooks which interact with the Favorites plugin or is it a vanilla install? Which plugins are you running? Can you provide a link to the site?

    Now I’m working on the cookbook using this plugin (local server).

    This bug appear while I open a lot of tabs with articles and adding to favorites one by one. While adding I’m checking if bookmark is correctly saved by reloading page. Sometimes article wasn’t save so I clicked fav button again. After a while I stuck with 504 error and one thing which I could got from system logs I’ve posted above.

    I will try to reproduce this bug soon to understand what is wrong.

    • This reply was modified 2 years, 3 months ago by  Slams.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hanging server’ is closed to new replies.