Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum   wpForo Support Forum

Massive CPU usage  

  RSS

SiteBastion
(@pixual)
Member Customer
Joined: 2 years ago
Posts: 19
24/08/2019 11:14 pm  

Hello,

We had a massive CPU usage problem this morning. It was clear it was due to wpDiscuz because the process window on our server had a number of these lines showing heavy CPU usage:

usr/local/php72/bin/php wpdiscuz-ajax.php

We have a dedicated server, 4 core, 8 thread CPU and 32gb of RAM. We do have a lot of plugins running and on Saturday AM we have as many as 500 concurrent users on the site. We've been using wpDiscuz for a while and while it always used up some CPU power, it never went this high. This is the first weekend using our new dedicated server.

We were averaging 150% to 200% of CPU for most of the morning. The website was not available on/off for most of the morning costing us quite a bit if ad revenue.
Here are the steps I took:
1) First, I stopped live updates.
2) Then I disabled a few of the add-ons but the CPU usage continued.
3) Finally I disabled the plugin and the rest of the add-ons and emptied our cache, OPcache and object cache.
4) This finally started to calm the CPU after a few minutes.

Strangely, I am still seeing the php wpdiscuzz-ajax.php showing up in my process list even though the plugin has been disabled now for at least 2 hours!!


Quote
Topic Tags
Astghik
(@astghik)
Support Team Admin
Joined: 3 years ago
Posts: 4386
26/08/2019 6:08 pm  

Hi @pixual,

Could you please leave the example URL to allow us to check it. 


ReplyQuote
SiteBastion
(@pixual)
Member Customer
Joined: 2 years ago
Posts: 19
26/08/2019 9:30 pm  

Hello Astghik

 

I had to deactivate the plugin because the site was non-functional.

I did figure out the php wpdiscuzz-ajax.php issue! The are running Apache with suexec. suexec was caching the php file and that's why it kept appearing in the process logs. I had to go in with SFTP and manually delete the file from the suexec cache. One part solved.

I can probably reactivate the plugin but I am sure it will be working fine during the week. Our traffic about 10%-20% of what it is Saturday morning. On Saturday we have over 500 and as many as 700 active users when measured in real time. Do you know if there is a limit is on active users?

Please let me know if you need me to turn the plugin back on. the site can be found at https://www.rvtravel.com

 


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 3 years ago
Posts: 4386
27/08/2019 4:39 pm  

@pixual

Could you please enable the "Use WordPress native AJAX functions" option and check again? 

The option is located in the Dashboard > Comments > Settings > General admin page. 

 


ReplyQuote
Share:
Scroll to top
0

Your Cart