Title: Hanging server
Last modified: June 6, 2017

---

# Hanging server

 *  [Slams](https://wordpress.org/support/users/slams/)
 * (@slams)
 * [9 years ago](https://wordpress.org/support/topic/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)

 *  Thread Starter [Slams](https://wordpress.org/support/users/slams/)
 * (@slams)
 * [9 years ago](https://wordpress.org/support/topic/hanging-server/#post-9204794)
 * 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 🙁
 *  [Sugekoppen](https://wordpress.org/support/users/sugekoppen/)
 * (@sugekoppen)
 * [9 years ago](https://wordpress.org/support/topic/hanging-server/#post-9206654)
 * 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?
 *  Thread Starter [Slams](https://wordpress.org/support/users/slams/)
 * (@slams)
 * [9 years ago](https://wordpress.org/support/topic/hanging-server/#post-9208592)
 * 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 9 years ago by [Slams](https://wordpress.org/support/users/slams/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Hanging server’ is closed to new replies.

 * ![](https://ps.w.org/favorites/assets/icon-128x128.png?rev=1677726)
 * [Favorites](https://wordpress.org/plugins/favorites/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/favorites/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/favorites/)
 * [Active Topics](https://wordpress.org/support/plugin/favorites/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/favorites/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/favorites/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Slams](https://wordpress.org/support/users/slams/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/hanging-server/#post-9208592)
 * Status: not resolved