Title: Apache trottles
Last modified: November 3, 2016

---

# Apache trottles

 *  Resolved [Thomas Blomberg](https://wordpress.org/support/users/thomasdk81/)
 * (@thomasdk81)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/apache-trottles/)
 * When I look at the Apache access.log, BugFu is spamming the log.
    CPU is close
   to 100%.

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

 *  Plugin Author [Federico Andrioli](https://wordpress.org/support/users/fedeandri/)
 * (@fedeandri)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/apache-trottles/#post-8395024)
 * Hi Thomas, thanks for the feedback, that’s probably due to the ability to debug
   AJAX calls that I added in this 1.2 version.
    In order to be able to debug AJAX
   calls in realtime (without the need to manually refresh the page), BugFu uses
   polling and does one call to the server every 300 milliseconds.
 * I couldn’t think of a better way to achieve this, but I’ll look into it to see
   if there’s a better way to get to the same result (worse case I’ll add an option
   to turn this feature on and off).
 * If you have any suggestion in this regard, please feel free to drop me a line
   here 🙂
 * In the meanwhile here are some temporary fixes for you:
    – use the previous version(
   1.1) that doesn’t have the AJAX calls debug feature – leave BugFu on only for
   the necessary time to debug your code and then turn it off
 * One final recommendation, if possible only use BugFu on your (local) development
   server.
 * Hope this help (until I find a better solution) and thanks again for pointing
   out this issue, I’ll work on it as soon as possible.
 *  Thread Starter [Thomas Blomberg](https://wordpress.org/support/users/thomasdk81/)
 * (@thomasdk81)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/apache-trottles/#post-8395757)
 * I really really like your idea with this plugin.
    I am almost certain, you describe
   the cause and I don’t have a solution. I get back to you, if I find anything.
 * My development setup is:
    – Windows 10 (updated) – Xampp (newest) – PHP 5.6.x–
   Apache 2.4 – Chrome – WP 4.7 b1
 *  Plugin Author [Federico Andrioli](https://wordpress.org/support/users/fedeandri/)
 * (@fedeandri)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/apache-trottles/#post-8396898)
 * Hey Thomas, thanks for the info, I might have fixed it (at least it works for
   me now, there’s no more CPU overhead when BugFu is active), can you please test
   this updated version?
    [https://github.com/fedeandri/bugfu-console-debugger/archive/master.zip](https://github.com/fedeandri/bugfu-console-debugger/archive/master.zip)
 * Please overwrite your BugFu version with this one and then delete your browser’s
   cache in order to be sure that your using the updated JavaScript file, which 
   is the only one I changed (js/ajax-bugfu-console-debugger.js you can also overwrite
   only this one, your choice)
 * If it also works for you, I’m going to release an updated version here.
 * Thanks a lot for your help!
 *  Plugin Author [Federico Andrioli](https://wordpress.org/support/users/fedeandri/)
 * (@fedeandri)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/apache-trottles/#post-8400346)
 * Thomas, I decided to release the updated version (1.2.1) eventually, let me know
   if it solves the problem for you too (it should), thanks!
 *  Thread Starter [Thomas Blomberg](https://wordpress.org/support/users/thomasdk81/)
 * (@thomasdk81)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/apache-trottles/#post-8404552)
 * Great news, I’ll give it a go 🙂
 *  Thread Starter [Thomas Blomberg](https://wordpress.org/support/users/thomasdk81/)
 * (@thomasdk81)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/apache-trottles/#post-8405244)
 * Looks promising 🙂 no CPU throttling yet.
 * Minor detail:
    ( ! ) Notice: Undefined index: class in *\bugfu-console-debugger\
   bugfu-console-debugger.php on line 145
 *  Plugin Author [Federico Andrioli](https://wordpress.org/support/users/fedeandri/)
 * (@fedeandri)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/apache-trottles/#post-8430131)
 * Hey Thomas, sorry for being late on this, just fixed that notice issue in version
   1.2.2
 * I’m closing this topic but feel free to open a new one if you have any more feedback
   related to bugs or new features you would like to see.
 * And, last but not least, if you like BugFu I would really appreciate it if you
   could rate it here 🙂
    Thanks!

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

The topic ‘Apache trottles’ is closed to new replies.

 * ![](https://ps.w.org/bugfu-console-debugger/assets/icon-256x256.png?rev=1484257)
 * [BugFu Console Debugger](https://wordpress.org/plugins/bugfu-console-debugger/)
 * [Support Threads](https://wordpress.org/support/plugin/bugfu-console-debugger/)
 * [Active Topics](https://wordpress.org/support/plugin/bugfu-console-debugger/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bugfu-console-debugger/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bugfu-console-debugger/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Federico Andrioli](https://wordpress.org/support/users/fedeandri/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/apache-trottles/#post-8430131)
 * Status: resolved