4
High CPU Usage (8517)
Problem reported by Trydon Lancaster - 5/1/2023 at 11:22 PM
Being Fixed
Hi,

Is anyone else experiencing high CPU usgae? To a point where I have to restart the service just to get the server perfomaing ok. But the high will return of a while.

I assume it could be related to a mailbox or a few, not sure how back up that client but in the evening when most of my users have shutdown the service seems to be stable then.

Regards,

Trydon

15 Replies

Reply to Thread
0
Brian Bjerring-Jensen Replied
Have you checked your spool service to see if any messages are stuck in the spooler??
I had the same and deleting mails from the spool made the server clam down.
0
Josip Meglaj Replied
Hello Trydon,

Absolutely.
Since 1st May 2023, we have > 50%.
On the afternoon of 1st May, due to a MAPI Problem, we had to re-sync one Mailbox on 3 PCs via MAPI (shared mailbox), then in the same time two other users with MAPI had to re-sync. So therefore just five (5) MAPI syncs, we had > 90% CPU on an 6 Core >4GHz Machine.

And "no", there is nothing in the spool service:



0
Kyle Kerst Replied
Employee Post
Do you have any errors showing up in the Errors logging or any of the protocol logs? You may also find relevant exceptions in the Event Viewer in Windows.
Kyle Kerst IT Coordinator SmarterTools Inc. www.smartertools.com
0
Josip Meglaj Replied
Hello Kyle,

Do you have any errors showing up in the Errors logging or any of the protocol logs?
--> nothing unusual

You may also find relevant exceptions in the Event Viewer in Windows. 
--> nothing unusual

Right now, Zach Sylvester told me that I should upload the ZIP File from "C:\Program Files (x86)\SmarterTools\SmarterMail\Service\Settings\Profiling" to my Emergency Ticket "244-[left-blank]-0B16".

I don't know if you want to go back to Zach for this issue.
0
Brian Davidson Replied
We have not noticed any CPU spikes or issues with this build.
0
Gabriele Maoret - SERSIS Replied
No CPU issues here...
Gabriele Maoret - Head of SysAdmins at SERSIS Currently manages 6 SmarterMail installations (1 in the cloud for SERSIS which provides services to a few hundred third-party email domains + 5 on-premise for customers who prefer to have their mail server in-house)
0
Josip Meglaj Replied
FYI - after a reboot, the high CPU load was gone (yesterday).
And right now, I have a custom build installed for another reason, so I cannot go further because the situation has changed.

Regards,

Josip
0
Michael Replied
Yes, was monitoring and intending to post. We've been seeing CPU 50%-70% +
We are suspecting it's the Outlook/MAPI clients syncing or constantly re-syncing since all the Outlook clients constantly are reporting "Updating email@domain.com... Updating Inbox.... Connected to: Microsoft Exchange"
They seem to always be "Updating"
0
echoDreamz Replied

CPU usage has gone up for sure, maybe reindexing? It's not catastrophic or anything, but we are seeing higher avg usage.
1
Zach Sylvester Replied
Employee Post
Hello Everyone, 

Thank you for your input here. We have a custom build that we have been testing and it seems to fix some high-resource issue scenarios. 
Indexing definitely uses a ton of CPU the indexing settings that I recommend using are as follows. 
This is in Manage->Troubleshooting
  1. Max threads 1 per thousand users 
    1. So if you have 2000 users set this to 2 threads. But round down so if you have 1800 users 1 thread is still likely enough just check in on it every so often and make sure you don't have a huge queue.
  2. Items per pass set this to 25000 or higher
  3. Seconds in the queue before indexing 5
 
But the issue looks like it could be related to some MAPI behaviors so there are going to be some fixes in the next release. If you'd like to help us validate the fix feel free to open a ticket(If you haven't already).

Thanks, 
Zach Sylvester Software Developer SmarterTools Inc. www.smartertools.com
1
Michael Replied
Zach Sylvester  thanks for the Indexing optimization tip. Awesome.
But we think these CPU and Memory issues are related to Outlook. If we close down several of our Outlook clients. The CPU drops. Re-open, the CPU rises. Re-syncing users only temporarily lowers CPU. It builds back over time.
0
Zach Sylvester Replied
Employee Post
Hey Michael, 

We think it's related to Outlook as well. The protocol that we observed the issues with was MAPI. Have you found that another protocol is having issues too?

Thanks, 
Zach Sylvester Software Developer SmarterTools Inc. www.smartertools.com
1
Stefano Replied
Hello Zach,

your configuration under Manage->Troubleshooting is something that we all should set or just for that build?
Thanks!
0
Brian Bjerring-Jensen Replied
By using that suggestion on 8517 our memory usage jumped 2,3GB upwards....

More spiky CPU use but not anything critical.
Edit: Upped it again to 10 threads and 10 seconds in the queue. Didnt change the 25.000 setting. Memory dropped 1GB instantly.

0
Michael Replied

Brian Bjerring-Jensen
 you may be on to something here... It seems tinkering with the Indexing settings impacts memory and CPU. Even though SM isn't reporting within the interface that it's indexing anything. We're trying a couple various settings and the CPU will lower and Memory will lower but in all cases (even when CPU is high) SM doesn't show that it's indexing anything in the interface. I wonder what it's doing?

Reply to Thread