One of our XI hosts is pegged at 100% CPU usage across all four processors and high usage culprit seems to be Apache.
We're looking for some recommendations on Apache tuning, or with perhaps the server (virtual machine) is under spec and additional CPU's are required based on number of objects?
The object summary is 1,082 Hosts and 3,521 Services.
Server MPM is Prefork with the following settings:
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
Please advise,
100% CPU usage
100% CPU usage
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: 100% CPU usage
It's not apache tuning directly, but we do make some suggestions in https://assets.nagios.com/downloads/nag ... ios-XI.pdf
One thing to take note of is that the default is for dashlets to update every second. If you have a lot of users using a lot of dashlets, this can really add up.
According to https://assets.nagios.com/downloads/nag ... ements.pdf you should be looking at something about 10GB RAM and 6 CPU, but that is going to depend on a variety of factors probably not worth getting into at this point.
Can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.
After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
UPDATE: Profile received in 2017063010000089. Waiting to see if @TBT wants to continue here or in ticket.
One thing to take note of is that the default is for dashlets to update every second. If you have a lot of users using a lot of dashlets, this can really add up.
According to https://assets.nagios.com/downloads/nag ... ements.pdf you should be looking at something about 10GB RAM and 6 CPU, but that is going to depend on a variety of factors probably not worth getting into at this point.
Can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.
After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
UPDATE: Profile received in 2017063010000089. Waiting to see if @TBT wants to continue here or in ticket.
Re: 100% CPU usage
PM wouldn't allow the profile attachment size, so I emailed it to support.
Thanks,
Thanks,
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: 100% CPU usage
Are you heavy dashlet users? That's not something we get in the profile.
Also, did you want to continue here or in the ticket?
Also, did you want to continue here or in the ticket?