Extremely high memory usage and CPU since upgrade to 7611
Problem reported by Paul White - 11/10/2020 at 9:53 AM
Submitted
One of my users reported that the server was running slow, so I remoted in and found that smartermail was using 16GB of RAM. Normally it only uses 1 - 2 GB.  Now its using 34 GB of ram.  CPU is high too.  Its all on the smartermail process.  when I look at the performance monitor I see a lot of read and writes to MailProcessing folders.  The box has about 300 users on it.  This just started happening.  I upgraded to the latest version 7611 a few days ago.  I already rebooted, same issue, reinstalled the 7611.  Same issue.  Any thoughts?
Paul White Replied
After about an Hour it slowly dropped back down to a reasonable level.
Any clue as to what would cause the sudden spike. For a while I was sitting at 94% memory usage, close to crashing the server.
John Marx Replied
I would expect it was indexing mailbox files.
Paul White Replied
Is it normal for it to be that intensive with indexing?  Does that run on a schedule?  Is that something I can control?
John Marx Replied
I've seen indexing peg a CPU on a new install/upgrade. It can take a few hours. 

It is also possible you had a large amount of email (e.g., spam) or a lot of attempts to log in that were unauthorized. I've seen those as other options for high CPU's.
Michael Replied
Same. Also, I've seen indexing eat up a lot of CPU on new install/upgrade. I agree I've seen it take many hours to normalize. You can monitor the indexing threads to see progress.
Kyle Kerst Replied
Employee Post
Indexing should not eat up all of the available memory on a server, and so it might be worth checking how many threads you have allotted to indexing in Manage>Troubleshooting>Options. Its possible though a major influx of email was the root cause here, as this would introduce load on both the spool and indexing engines. If you see this again please submit a ticket with us - we'd be happy to dig into it for you and get you some answers. Have a good one!
Kyle Kerst Acting IT Manager SmarterTools Inc. www.smartertools.com
Paul White Replied
I looked at my indexing settings, they were set to 14 threads. I lowered this to 8 threads. Seems to have dropped memory usage. If it happens again I will let you know.

Reply to Thread

Enter the verification text