Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
16.1 Legacy Series
»
[SOLVED] High CPU usage.
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] High CPU usage. (Read 9962 times)
Martinezio
Newbie
Posts: 44
Karma: 3
[SOLVED] High CPU usage.
«
on:
April 13, 2016, 12:03:13 pm »
Hi.
We have noticed, that couple of days after upgrading OpnSense to current production version, CPU starts to be eating by something in user space. Process monitor says, that mostly is is consumed by php-cgi, but CPU usage on those procesess is no more than 3% (there is about 5 of them). But top command says, that CPU is used in 100%, with over 60% taken by user, about 1% for interrupt and the rest for system. Usage in user space is varying between 60-80%.
My installation is working on vmware hypervisor (ESXi 5.5) with 1 vCPUs (Xeon X3430 @2.4GHz). Currently running OpnSense 16.1.7.
What can be do to solve this issue? Thx in advance for any info and hint.
«
Last Edit: April 15, 2016, 01:47:41 pm by franco
»
Logged
franco
Administrator
Hero Member
Posts: 17474
Karma: 1587
Re: High CPU usage.
«
Reply #1 on:
April 13, 2016, 07:11:33 pm »
Hi there,
Are you sure the ESXi is not under heavy load from other VMs during the time of the observartion?
Do you use the IDS/IPS or Proxy server?
Which version were you coming from prior to 16.1.7? Latest OPNsense version is 16.1.9 with 16.1.10 coming out tomorrow.
Cheers,
Franco
Logged
Martinezio
Newbie
Posts: 44
Karma: 3
Re: High CPU usage.
«
Reply #2 on:
April 13, 2016, 10:15:02 pm »
Yes, I'm sure ESXi is not overloaded - it serves only two virtual machines - one is this router and second is a Linux for VPN.
Prior version was 15.7 series (but I don't know exactly which build).
My IDS/IPS configuration doesn't change between 15.7 and 16.1 :/ And there is huge difference in CPU usage. I will perform a small change right now: I will add 1 core to the vCPU for this VM and restart the router. Then I will check, if there is any difference and report this to You in this topic.
Cheers!
Logged
Martinezio
Newbie
Posts: 44
Karma: 3
Re: High CPU usage.
«
Reply #3 on:
April 13, 2016, 11:01:26 pm »
Adding second core and reboot as for now make the situation better. Will see, what happens, when states table grows up a little. Now is 3% and CPU is varying around 10-20%.
Further reports will follow after next business hours
Logged
Martinezio
Newbie
Posts: 44
Karma: 3
Re: High CPU usage.
«
Reply #4 on:
April 15, 2016, 01:34:13 pm »
Ok, looks that the problem is solved
CPU is cold as for now and I think it should stay in this state.
Best regards!
Logged
franco
Administrator
Hero Member
Posts: 17474
Karma: 1587
Re: [SOLVED] High CPU usage.
«
Reply #5 on:
April 15, 2016, 01:48:06 pm »
Ok, thanks for letting us know.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
16.1 Legacy Series
»
[SOLVED] High CPU usage.