Hi,
I have a problem as following:
Same smartfoxserver instance running on ubuntu 16.04.1, if zone extension connect to mysql instance running on same server (mysql 5.7.18) CPU usage increased dramatically whenever new user login ( 6-7% / per user). But if I change to mysql instance running on test server which running Ubuntu 14, CPU usage is normal under 1%
Anyone dealt with same problem?
CPU Usage increased dramatically
Re: CPU Usage increased dramatically
Hi,
you should take a look at which process is actually using up the CPU. I doubt it's SFS.
Use top/htop to keep an eye on what's going on. Maybe there's some issue with the DB?
Cheers
you should take a look at which process is actually using up the CPU. I doubt it's SFS.
Use top/htop to keep an eye on what's going on. Maybe there's some issue with the DB?
Cheers
Re: CPU Usage increased dramatically
Yes, it's issue with the database I guess. I posted here so anyone did deal with same problem might provide a solution. Kind of weird though
Re: CPU Usage increased dramatically
As I ran top command on server, Java took 300% CPU, each user logged in will result in 100% increase
Re: CPU Usage increased dramatically
Check the AdminTool's Dashboard and take a screenshot of both views (main and queue) when the problem is present.
Then post it here. It sounds like an issue with your Extension code.
Thanks
Then post it here. It sounds like an issue with your Extension code.
Thanks
Re: CPU Usage increased dramatically
Please check above images, SFSWorker extension take up 95% CPU usage
Re: CPU Usage increased dramatically
Hi,
since SFSWorker threads handle exclusively Extension code, I would suggest to check your server side code. Evidently something is working continuously (apparently) and taking up resources.
Maybe some kind of loop or scheduled task that is working hard?
Does this happen in your development environment using the same server side code?
p.s. = the screenshots are pretty small so I can't really read any values
since SFSWorker threads handle exclusively Extension code, I would suggest to check your server side code. Evidently something is working continuously (apparently) and taking up resources.
Maybe some kind of loop or scheduled task that is working hard?
Does this happen in your development environment using the same server side code?
p.s. = the screenshots are pretty small so I can't really read any values
Who is online
Users browsing this forum: Google [Bot] and 99 guests