Community Discussions and Support
Mercury wasting CPU and reading disk all the time

How are you running Mercury - as an app or a service?

Also, I had an issue some time ago when it was on a multi-core processor and I had to tie it to 1 cpu.  See if that helps at all.  (I have to say this problem hasn't affected me for some years with the latest Mercury version.)

<p>How are you running Mercury - as an app or a service?</p><p>Also, I had an issue some time ago when it was on a multi-core processor and I had to tie it to 1 cpu.  See if that helps at all.  (I have to say this problem hasn't affected me for some years with the latest Mercury version.)</p>

Hello.

I have a Mercury setup in a virtual machine with Windows 7 x32 and all updates. The VM is the last (almost) version of VirtualBox, 5.2.24. It has 2 VCPU and 2GB of RAM. The host is W7 x64 with 8 CPU (4 cores HT) and 16GB RAM. As you can see in the image (link below), Mercury has a load of CPU more than 5% and reading disk more than 20KB. Also, I add the mercury.ini file (link below) to verify the schedules for POP3 clinet, SMTP realy, etc. What is Mercury doing all the time? I think, until december all was correct. Please, ask for more information if you need it. Thanks a lot for your help.

https://www.dropbox.com/s/kbjcjc7rlcihya4/MERCURY.INI?dl=0

https://www.dropbox.com/s/o2q7clcomxgbaw2/mercury.jpg?dl=0

I add this image to see process generated by Mercury. Thanks.

 https://www.dropbox.com/s/07nqehur4xfdb18/mercury1.jpg?dl=0

<p>Hello.</p><p>I have a Mercury setup in a virtual machine with Windows 7 x32 and all updates. The VM is the last (almost) version of VirtualBox, 5.2.24. It has 2 VCPU and 2GB of RAM. The host is W7 x64 with 8 CPU (4 cores HT) and 16GB RAM. As you can see in the image (link below), Mercury has a load of CPU more than 5% and reading disk more than 20KB. Also, I add the mercury.ini file (link below) to verify the schedules for POP3 clinet, SMTP realy, etc. What is Mercury doing all the time? I think, until december all was correct. Please, ask for more information if you need it. Thanks a lot for your help. </p><p>https://www.dropbox.com/s/kbjcjc7rlcihya4/MERCURY.INI?dl=0 </p><p>https://www.dropbox.com/s/o2q7clcomxgbaw2/mercury.jpg?dl=0</p><p>I add this image to see process generated by Mercury. Thanks. </p><p> https://www.dropbox.com/s/07nqehur4xfdb18/mercury1.jpg?dl=0</p>

How is Mercury being used? Do you have a lot of filtering rules set up, IMAP connections, POP3, SMTP connections etc.? If the use is sustained perhaps it's legitimate. Our installation has low usage and has 0.01CPU.

How is Mercury being used? Do you have a lot of filtering rules set up, IMAP connections, POP3, SMTP connections etc.? If the use is sustained perhaps it's legitimate. Our installation has low usage and has 0.01CPU.

Hello Greenman.

[quote]How is Mercury being used?[/quote]

Its use is very basic and normal. I think ;-)

[quote]Do you have a lot

of filtering rules set up, IMAP connections, POP3, SMTP connections

etc.?[/quote]

I only have a global rule with 5 conditions. I haven't IMAP connections, only POP3.

I have only 4 clients for download POP3 mail from GMAIL and 3 clients for mail from 'telefonica' (Spain).

I have lists but are closed with 5 or 6 users.

[quote]Our installation

has low usage and has 0.01CPU.[/quote]

At work I have another Mercury installation and the usage is about 0.05CPU, it has only SMTP server and client.

This is a message generated by system statistics. Is from Sun, 27 Jan 2019 and is generated every 6 hours.

https://www.dropbox.com/s/phqt218smgjh128/mercury.txt?dl=0

Thanks.

<p>Hello Greenman. </p><p>[quote]How is Mercury being used?[/quote]</p><p>Its use is very basic and normal. I think ;-) </p><p>[quote]Do you have a lot of filtering rules set up, IMAP connections, POP3, SMTP connections etc.?[/quote]</p><p>I only have a global rule with 5 conditions. I haven't IMAP connections, only POP3.</p><p>I have only 4 clients for download POP3 mail from GMAIL and 3 clients for mail from 'telefonica' (Spain).</p><p>I have lists but are closed with 5 or 6 users. </p><p>[quote]Our installation has low usage and has 0.01CPU.[/quote]</p><p>At work I have another Mercury installation and the usage is about 0.05CPU, it has only SMTP server and client.</p><p>This is a message generated by system statistics. Is from Sun, 27 Jan 2019 and is generated every 6 hours. </p><p>https://www.dropbox.com/s/phqt218smgjh128/mercury.txt?dl=0</p><p>Thanks. </p>

FWIW, I'm running Mercury C,D, & I along with POPFile and ClamAV.  I watched the CPU load for all running processes thru a couple of POP3 retrieval cycles and saw it briefly hit a high of 17% (probably POPFile & ClamAV processing).  Most of the time it sat at >1%.

I don't have any answers as to what could be causing your CPU load.   

<p>FWIW, I'm running Mercury C,D, & I along with POPFile and ClamAV.  I watched the CPU load for all running processes thru a couple of POP3 retrieval cycles and saw it briefly hit a high of 17% (probably POPFile & ClamAV processing).  Most of the time it sat at >1%.</p><p><span style="font-size: 13.3333px;">I don't have any answers as to what could be causing your CPU load. </span><span style="font-size: 13.3333px;"> </span> </p>

Hello Greenman.

 

I had this effect suddenly 2-3 years ago and it did not even help with a backup of Mercury.

After a day of troubleshooting, I used a fresh MERCURY.INI and configured this new one. The setup is completely identical, but it works (for whatever reason).

<p>Hello Greenman. </p><p> </p><p><span class="tlid-translation translation"><span title="" class=""> I had this effect suddenly 2-3 years ago and it did not even help with a backup of Mercury.</span> <span title="">After a day of troubleshooting, I used a fresh MERCURY.INI and configured this new one.</span> <span title="">The setup is completely identical, but it works (for whatever reason).</span></span> </p>

To put my previous answer in context we have about 170 mail accounts, no POP3, about 10 IMAP/remote SMTP connections. We use a filtering service (Proofpoint) so use MErcury C, but don't use an integrated AV solution, and instead rely on Proofpoint and our installation of Sophos on the client machines but Sophos does not monitor the Mercury folder or the PMail folder on the server.

Troubleshooting CPU issues can be tricky. I can see you are using SysInternals so perhaps as well as Process Explorer you can also use Process Monitor to capture activity during a CPU spike and see what the Mercury process is doing. It may give you an insight. 

<p>To put my previous answer in context we have about 170 mail accounts, no POP3, about 10 IMAP/remote SMTP connections. We use a filtering service (Proofpoint) so use MErcury C, but don't use an integrated AV solution, and instead rely on Proofpoint and our installation of Sophos on the client machines but Sophos does not monitor the Mercury folder or the PMail folder on the server.</p><p>Troubleshooting CPU issues can be tricky. I can see you are using SysInternals so perhaps as well as Process Explorer you can also use Process Monitor to capture activity during a CPU spike and see what the Mercury process is doing. It may give you an insight. </p>

Hello Thomas.

Thanks for the suggestion, I will try it.

<p>Hello Thomas. </p><p>Thanks for the suggestion, I will try it. </p>

Hello.

I run Process Monitor filtering the image path 'mercury'. I get this capture. There are a lot of "Process Profiling" events and few about writing or reading disk.

https://www.dropbox.com/s/wb4p6kv5p102qm7/Logfile.CSV?dl=0

Thanks.

<p>Hello.</p><p>I run Process Monitor filtering the image path 'mercury'. I get this capture. There are a lot of "Process Profiling" events and few about writing or reading disk. </p><p>https://www.dropbox.com/s/wb4p6kv5p102qm7/Logfile.CSV?dl=0</p><p>Thanks. </p>

You need to compare it to a capture where Mercury is not spiking the CPU. Interpretation is down to someone who understands the intimacies of how Mercury interacts, or should interact with the OS.

You need to compare it to a capture where Mercury is not spiking the CPU. Interpretation is down to someone who understands the intimacies of how Mercury interacts, or should interact with the OS.
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft