3
Excessive CPU Usage on on build 8545
Problem reported by Jade B - 5/31/2023 at 10:22 AM
Submitted
Just finding out if there are any others on here that have experienced high cpu usage on the latest build of smartermail, and if so what to look out for?

Thought I would ask whilst we dig through the logs

pftop on dc firewall shows only 100 or so connections to this server now (after hours) so hardly and issue with overload, cpu stats below

11 Replies

Reply to Thread
0
Jade B Replied
logs below seem consistent with excessive cpu usage


[2023.05.31] 10:02:55.404 Sequence contains no elements
[2023.05.31]    at System.Linq.Enumerable.Average(IEnumerable`1 source)
[2023.05.31]    at SmarterMail.Common.Helpers.NtpClient.<GetAveragedUtcTime>d__4.MoveNext()
[2023.05.31] --- End of stack trace from previous location where exception was thrown ---
[2023.05.31]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
[2023.05.31]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[2023.05.31]    at MailService.Core.MailServer.<PullOfficialTimeFromInternetAndUpdateOffset>d__215.MoveNext() 
[2023.05.31] 11:02:54.894 Sequence contains no elements
[2023.05.31]    at System.Linq.Enumerable.Average(IEnumerable`1 source)
[2023.05.31]    at SmarterMail.Common.Helpers.NtpClient.<GetAveragedUtcTime>d__4.MoveNext()
[2023.05.31] --- End of stack trace from previous location where exception was thrown ---
[2023.05.31]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
[2023.05.31]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[2023.05.31]    at MailService.Core.MailServer.<PullOfficialTimeFromInternetAndUpdateOffset>d__215.MoveNext() 
[2023.05.31] 12:02:55.073 Sequence contains no elements
[2023.05.31]    at System.Linq.Enumerable.Average(IEnumerable`1 source)
[2023.05.31]    at SmarterMail.Common.Helpers.NtpClient.<GetAveragedUtcTime>d__4.MoveNext()
[2023.05.31] --- End of stack trace from previous location where exception was thrown ---
[2023.05.31]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
[2023.05.31]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[2023.05.31]    at MailService.Core.MailServer.<PullOfficialTimeFromInternetAndUpdateOffset>d__215.MoveNext() 
[2023.05.31] 13:02:55.131 Sequence contains no elements
[2023.05.31]    at System.Linq.Enumerable.Average(IEnumerable`1 source)
[2023.05.31]    at SmarterMail.Common.Helpers.NtpClient.<GetAveragedUtcTime>d__4.MoveNext()
[2023.05.31] --- End of stack trace from previous location where exception was thrown ---
[2023.05.31]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
[2023.05.31]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[2023.05.31]    at MailService.Core.MailServer.<PullOfficialTimeFromInternetAndUpdateOffset>d__215.MoveNext() 
[2023.05.31] 14:02:55.084 Sequence contains no elements
[2023.05.31]    at System.Linq.Enumerable.Average(IEnumerable`1 source)
[2023.05.31]    at SmarterMail.Common.Helpers.NtpClient.<GetAveragedUtcTime>d__4.MoveNext()
[2023.05.31] --- End of stack trace from previous location where exception was thrown ---
[2023.05.31]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
[2023.05.31]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[2023.05.31]    at MailService.Core.MailServer.<PullOfficialTimeFromInternetAndUpdateOffset>d__215.MoveNext() 
[2023.05.31] 15:02:55.793 Sequence contains no elements
[2023.05.31]    at System.Linq.Enumerable.Average(IEnumerable`1 source)
[2023.05.31]    at SmarterMail.Common.Helpers.NtpClient.<GetAveragedUtcTime>d__4.MoveNext()
[2023.05.31] --- End of stack trace from previous location where exception was thrown ---
[2023.05.31]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
[2023.05.31]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[2023.05.31]    at MailService.Core.MailServer.<PullOfficialTimeFromInternetAndUpdateOffset>d__215.MoveNext() 
[2023.05.31] 16:02:54.961 Sequence contains no elements
[2023.05.31]    at System.Linq.Enumerable.Average(IEnumerable`1 source)
[2023.05.31]    at SmarterMail.Common.Helpers.NtpClient.<GetAveragedUtcTime>d__4.MoveNext()
[2023.05.31] --- End of stack trace from previous location where exception was thrown ---
[2023.05.31]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
[2023.05.31]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[2023.05.31]    at MailService.Core.MailServer.<PullOfficialTimeFromInternetAndUpdateOffset>d__215.MoveNext() 
[2023.05.31] 17:02:55.102 Sequence contains no elements
[2023.05.31]    at System.Linq.Enumerable.Average(IEnumerable`1 source)
[2023.05.31]    at SmarterMail.Common.Helpers.NtpClient.<GetAveragedUtcTime>d__4.MoveNext()
[2023.05.31] --- End of stack trace from previous location where exception was thrown ---
[2023.05.31]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
[2023.05.31]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[2023.05.31]    at MailService.Core.MailServer.<PullOfficialTimeFromInternetAndUpdateOffset>d__215.MoveNext() 
[2023.05.31] 18:02:54.891 Sequence contains no elements
[2023.05.31]    at System.Linq.Enumerable.Average(IEnumerable`1 source)
[2023.05.31]    at SmarterMail.Common.Helpers.NtpClient.<GetAveragedUtcTime>d__4.MoveNext()
[2023.05.31] --- End of stack trace from previous location where exception was thrown ---
[2023.05.31]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
[2023.05.31]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[2023.05.31]    at MailService.Core.MailServer.<PullOfficialTimeFromInternetAndUpdateOffset>d__215.MoveNext() 
[2023.05.31] 19:02:55.633 Sequence contains no elements
[2023.05.31]    at System.Linq.Enumerable.Average(IEnumerable`1 source)
[2023.05.31]    at SmarterMail.Common.Helpers.NtpClient.<GetAveragedUtcTime>d__4.MoveNext()
[2023.05.31] --- End of stack trace from previous location where exception was thrown ---
[2023.05.31]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
[2023.05.31]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[2023.05.31]    at MailService.Core.MailServer.<PullOfficialTimeFromInternetAndUpdateOffset>d__215.MoveNext() 

0
Kyle Kerst Replied
Employee Post
Hi Jade, I'm sorry to hear you're having issues with high CPU. I recommend we get a ticket submitted on this one to look for any signs of trouble. I can create the ticket for you today and will reach out here shortly to get the ball rolling.
Kyle Kerst System/Network Administrator SmarterTools Inc. (877) 357-6278 www.smartertools.com
1
Jade B Replied
Hi Kyle,

Thanks for reaching out, will create a ticket tomorrow morning (it's past 20H00 here now).
Still checking on my side to see if I can narrow things down.
0
Kyle Kerst Replied
Employee Post
You're very welcome Jade, this sounds like a good plan. If you don't find anything obvious we're here to help!
Kyle Kerst System/Network Administrator SmarterTools Inc. (877) 357-6278 www.smartertools.com
0
Samuel S Replied
We're seeing this issue as well.
Right after upgrading to build 8545 we saw highly increased CPU, RAM and disk usage with lots of CPU peaks at 95-99% which we didn't have before.
0
Jade B Replied
Use windows resource monitor to drill down on the disk activity, this may give you insight into what is going on, ie it could be the indexing service that is re-indexing your users mail boxes after the upgrade.


CPU usage seemed to normalize in the early hours of the morning so I'll monitor this to see if there is a repeat and if so log a ticket, interestingly at the same time spool grew and mail was not being processed.
CPU graph below showing massive spike

Spool graph showing big spike during the cpu issues

1
kevind Replied
We're seeing something similar. Did you ever figure out what was causing this and get it resolved?

Thanks.
0
Gabriele Maoret - SERSIS Replied
It seems to be URIBLs filters. Resolved in 8587
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)
1
kevind Replied
We're still see excessive CPU with Build 8587 (Jul 6, 2023). Not using any URIBLs filters.
0
Gabriele Maoret - SERSIS Replied
Then it must be some other problem... Luckily my server is back to CPU and RAM usage at quite low levels after upgrading to 8580 and then to 8587...

Always a little more than the "old" SmarterMail, but nothing to worry about, so unfortunately I don't know what other advice to give you...
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)
1
Alessandro Pereira Replied
We have a serious problem with excessive CPU usage in Build 8587 (July 6), we didn't have this problem in previous versions.
We disabled the URIBLS and also several RBL to be able to work again.

Reply to Thread