Title: admin-ajax.php high CPU usage
Last modified: July 3, 2023

---

# admin-ajax.php high CPU usage

 *  Resolved [brad1st](https://wordpress.org/support/users/brad1st/)
 * (@brad1st)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/admin-ajax-php-high-cpu-usage/)
 * Firstly, thank you for creating this great plugin.
   currently, I have high CPU
   usage with the QSM plugin, I have a heavy-traffic website everything works fine
   but when I publish a quiz and a large number of active users start the quiz my
   server gets overloaded because when someone selects an answer the admin-ajax.
   php is being executed ( 2 admin-ajax.php post requests per an answer select, 
   one returns success/incorrect message. and the other one correct info message.)
 * imagine 500 active users and too many admin-ajax.php requests when users select
   an answer that is why the load spiked and high server CPU usage caused the website
   to crash. hope you guys improve and fix this issue
 * note: my website is on a dedicated server using litspeed web server and litspeed
   caching it can handle more than 50K active online users with no issue.

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

 *  [sumitsanadhya](https://wordpress.org/support/users/sumitsanadhya/)
 * (@sumitsanadhya)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/admin-ajax-php-high-cpu-usage/#post-16867464)
 * Dear [@brad1st](https://wordpress.org/support/users/brad1st/),
 * Sorry for the inconvaince you have faced.
 * Can you please provide us the below-given information that will help us to identify
   the issue.
    1. QSM version you are using right now.
    2. WP, PHP, Database version of your website.
    3. error log / debug log of your website.
 * Please provide the above-given details as soon as possible so we can look into
   this issue.
 * Looking forward to your reply.
 * Regards,
   Sumit
 *  Thread Starter [brad1st](https://wordpress.org/support/users/brad1st/)
 * (@brad1st)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/admin-ajax-php-high-cpu-usage/#post-16868461)
 * Hi,
    1. QSM Version 8.1.10
    2. WP 6.2.2 – PHP 7.4 – MySQL 5.7.40
    3. [INFO] [12985] [T0] [APVH_yaranet_Suea-php74:] request force stop: too many 
       503 errors
 * during the load spike PHP service/admin-ajax.php was using most CPU% 120%
 *  [sumitsanadhya](https://wordpress.org/support/users/sumitsanadhya/)
 * (@sumitsanadhya)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/admin-ajax-php-high-cpu-usage/#post-16868580)
 * Dear [@brad1st](https://wordpress.org/support/users/brad1st/) 
   Thank you for 
   the prompt response. Let me discuss this issue with our technical team.If possible
   can you please share the quiz link with us in which you are facing the issue.
   I will keep you posted with further updates soon.Thank you for your patience 
   and understanding in this matter.Regards,Sumit
 *  [sumitsanadhya](https://wordpress.org/support/users/sumitsanadhya/)
 * (@sumitsanadhya)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/admin-ajax-php-high-cpu-usage/#post-16872000)
 * Dear [@brad1st](https://wordpress.org/support/users/brad1st/) ,
 * As per the technical team, we have marked your request as a feature request. 
   This means that they will be prioritizing the implementation of these improvements
   in future versions of our plugin.
   I know that this is an important issue to you,
   and I want to thank you for your patience and understanding as we work to address
   it.
 * If you have any further questions or suggestions, please do not hesitate.
 * Thank you again for your feedback.
 * Regards,
   Sumit
 *  [sumitsanadhya](https://wordpress.org/support/users/sumitsanadhya/)
 * (@sumitsanadhya)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/admin-ajax-php-high-cpu-usage/#post-16916654)
 * Dear [@brad1st](https://wordpress.org/support/users/brad1st/) ,
   This feature 
   is released I request you to please update QSM to its latest version and then
   check.Let me know if you need more help.
 * Regards,
   Sumit

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

The topic ‘admin-ajax.php high CPU usage’ is closed to new replies.

 * ![](https://ps.w.org/quiz-master-next/assets/icon-128x128.png?rev=3158087)
 * [Quiz and Survey Master (QSM) - Easy Quiz and Survey Maker](https://wordpress.org/plugins/quiz-master-next/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quiz-master-next/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quiz-master-next/)
 * [Active Topics](https://wordpress.org/support/plugin/quiz-master-next/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quiz-master-next/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quiz-master-next/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [sumitsanadhya](https://wordpress.org/support/users/sumitsanadhya/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/admin-ajax-php-high-cpu-usage/#post-16916654)
 * Status: resolved