[Solved] Zmstats & Server HIGH CPU after reboot

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
User avatar
jasggomes
Advanced member
Advanced member
Posts: 90
Joined: Sat Sep 13, 2014 12:59 am
Location: Lisbon, PT
ZCS/ZD Version: Release 8.7.11.GA.1854.UBUNTU14.64
Contact:

[Solved] Zmstats & Server HIGH CPU after reboot

Post by jasggomes »

Hi, after upgrading this morning my server from ZCS Foss 8.8.6 to 8.8.7 I noticed a very high use of the CPU doing soem GZIP tasks ???

Never saw this behaviour before ...

Image

Any ideas why???
Last edited by jasggomes on Sun Mar 11, 2018 8:12 pm, edited 1 time in total.
User avatar
jasggomes
Advanced member
Advanced member
Posts: 90
Joined: Sat Sep 13, 2014 12:59 am
Location: Lisbon, PT
ZCS/ZD Version: Release 8.7.11.GA.1854.UBUNTU14.64
Contact:

Re: Server HIGH CPU after reboot

Post by jasggomes »

hi, it seams that zmstat is generating huge files :

-rw------- 1 zimbra zimbra 38096896000 Mar 10 18:13 io-x.csv
-rw-r----- 1 zimbra zimbra 621222084 Mar 10 14:43 io-x.csv.gz
-rw------- 1 zimbra zimbra 37955010560 Mar 10 18:13 io.csv
-rw-r----- 1 zimbra zimbra 242968560 Mar 10 14:31 io.csv.gz
-rw------- 1 zimbra zimbra 39309541376 Mar 10 18:13 vm.csv
-rw-r----- 1 zimbra zimbra 208158485 Mar 10 14:28 vm.csv.gz

Again any ideas ?
Last edited by jasggomes on Sun Mar 11, 2018 8:11 pm, edited 1 time in total.
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Server HIGH CPU after reboot

Post by phoenix »

If you don't use the stats, have you considered resetting them? There's an article for that here: https://wiki.zimbra.com/wiki/Ajcody-Log ... om_Scratch
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
User avatar
jasggomes
Advanced member
Advanced member
Posts: 90
Joined: Sat Sep 13, 2014 12:59 am
Location: Lisbon, PT
ZCS/ZD Version: Release 8.7.11.GA.1854.UBUNTU14.64
Contact:

Re: Server HIGH CPU after reboot

Post by jasggomes »

phoenix wrote:If you don't use the stats, have you considered resetting them? There's an article for that here: https://wiki.zimbra.com/wiki/Ajcody-Log ... om_Scratch
Thak you for the reply.

This is a very strange behaviour, since it's a new server, only around 4 weeks old.
A new server and a new deploy of Zimbra 8.8.6 foss, upgraded this morning, but I haven't noticed this before since I haven't rebooted it for the last 2 weeks.

I'll not implement this to see if someone, or me, find the 'bug', or not.

I'll also keep an eye to this files getting bigger and not being properly dealt by the system, since they shouldn't be getting this big ..

Regards.

JG
User avatar
ccelis5215
Outstanding Member
Outstanding Member
Posts: 632
Joined: Sat Sep 13, 2014 2:04 am
Location: Caracas - Venezuela
ZCS/ZD Version: 8.8.15.GA.3869.UBUNTU18.64 P12

Re: Server HIGH CPU after reboot

Post by ccelis5215 »

Hi jasggomes,

Of course, your server or those stats aren't OK, you need to take phoenix advices in order to keep disk space.

Show an excerpt of those files, sure there are many errors in it.

ccelis
User avatar
jasggomes
Advanced member
Advanced member
Posts: 90
Joined: Sat Sep 13, 2014 12:59 am
Location: Lisbon, PT
ZCS/ZD Version: Release 8.7.11.GA.1854.UBUNTU14.64
Contact:

Re: Server HIGH CPU after reboot

Post by jasggomes »

ccelis5215 wrote:Hi jasggomes,

Of course, your server or those stats aren't OK, you need to take phoenix advices in order to keep disk space.

Show an excerpt of those files, sure there are many errors in it.

ccelis
I agree, but my point is, this is a completely new server and if there is errors on it maybe something is wrong with the server setup in the first place.
I have deleted the big files, just deleted them, so we cannot see what was in them, unless I do a restore of a previous backup.
But they were around 30gb Saturday morning.
I will keep you posted.
Stay sharp.


Sent from my iPhone using Tapatalk
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Server HIGH CPU after reboot

Post by phoenix »

This appears to happen from timer to time with the stats, if you search the forums you'll see various reports of large files and excessive CPU just like you've seen. If this is a 'new' server my inclination would be to reset the stats and see if the problems goes away - you'll only lose a couple of weeks data and I'm not really sure how useful these stats are. When was the last time you looked at them? I last looked at my stats page about two years ago and I prefer to use other monitoring solutions such as this: https://wiki.zimbra.com/wiki/Monitoring ... nd_Grafana
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
User avatar
jasggomes
Advanced member
Advanced member
Posts: 90
Joined: Sat Sep 13, 2014 12:59 am
Location: Lisbon, PT
ZCS/ZD Version: Release 8.7.11.GA.1854.UBUNTU14.64
Contact:

Re: Server HIGH CPU after reboot

Post by jasggomes »

phoenix wrote:This appears to happen from timer to time with the stats, if you search the forums you'll see various reports of large files and excessive CPU just like you've seen. If this is a 'new' server my inclination would be to reset the stats and see if the problems goes away - you'll only lose a couple of weeks data and I'm not really sure how useful these stats are. When was the last time you looked at them? I last looked at my stats page about two years ago and I prefer to use other monitoring solutions such as this: https://wiki.zimbra.com/wiki/Monitoring ... nd_Grafana
Again, true.

I also use Grafana, from Jorge de la Cruz and Zabbix.

Maybe disabling the stats would be good.

PS - I never saw this on the other server, on it 5 year of use, again strange on a brand new server installation.
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Server HIGH CPU after reboot

Post by phoenix »

Disabling them might be good but I haven't actually looked into that, I just don't use them. Although now you mention it I might have a look this afternoon at how to disable them. :)
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
User avatar
jasggomes
Advanced member
Advanced member
Posts: 90
Joined: Sat Sep 13, 2014 12:59 am
Location: Lisbon, PT
ZCS/ZD Version: Release 8.7.11.GA.1854.UBUNTU14.64
Contact:

Re: Server HIGH CPU after reboot

Post by jasggomes »

Well, it's raining like hell here in Lisbon PT, so no bike ride for today ... So lets do some checks to keep me busy ..

I went to CP and used the stats, to see if something strange appear and ... it did, look at the images below, thats not real at all, those values didn't happen.
Stats for the last 48hrs, look at the end of the graph, thats for yesterday ...

Using CP from Zimbra
Image
Image

Now using Grafana:

Image
Image
Image

Well, lets see during today ...

Stay sharp and well.

JG
Post Reply