Pegasus Mail & Mercury

Welcome to the Community for Pegasus Mail and
The Mercury Mail Transport System, the Internet's longest-serving PC e-mail system!
Welcome to Pegasus Mail & Mercury Sign in | Join | Help
in
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview Wiki

Mercury wasting CPU and reading disk all the time

Last post 02-21-2019, 15:42 by PaulW. 9 replies.
Sort Posts: Previous Next
  •  01-29-2019, 23:18

    • aggg63 is not online. Last active: 31-01-2019, 21:51 aggg63
    • Not Ranked
    • Joined on 05-08-2007
    • Barcelona
    • Member
    • Points 125

    Mercury wasting CPU and reading disk all the time

    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

  •  01-30-2019, 16:57

    • Greenman is not online. Last active: 12 Apr 2019, 15:55 Greenman
    • Top 10 Contributor
    • Joined on 07-19-2007
    • UK
    • SuperStar
    • Points 14,155

    Re: Mercury wasting CPU and reading disk all the time

    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.
  •  01-30-2019, 20:28

    • aggg63 is not online. Last active: 31-01-2019, 21:51 aggg63
    • Not Ranked
    • Joined on 05-08-2007
    • Barcelona
    • Member
    • Points 125

    Re: Mercury wasting CPU and reading disk all the time

    Hello Greenman.

    How is Mercury being used?

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

    Do you have a lot of filtering rules set up, IMAP connections, POP3, SMTP connections etc.?

    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.

    Our installation has low usage and has 0.01CPU.

    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.

  •  01-30-2019, 23:30

    • Brian Fluet is not online. Last active: 04-18-2019, 18:16 Brian Fluet
    • Top 10 Contributor
    • Joined on 12-24-2014
    • North Carolina, USA
    • SuperStar
    • Points 24,700

    Re: Mercury wasting CPU and reading disk all the time

    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.   

  •  01-31-2019, 8:45

    Re: Mercury wasting CPU and reading disk all the time

    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).

  •  01-31-2019, 9:58

    • Greenman is not online. Last active: 12 Apr 2019, 15:55 Greenman
    • Top 10 Contributor
    • Joined on 07-19-2007
    • UK
    • SuperStar
    • Points 14,155

    Re: Mercury wasting CPU and reading disk all the time

    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. 

  •  01-31-2019, 20:53

    • aggg63 is not online. Last active: 31-01-2019, 21:51 aggg63
    • Not Ranked
    • Joined on 05-08-2007
    • Barcelona
    • Member
    • Points 125

    Re: Mercury wasting CPU and reading disk all the time

    Hello Thomas.

    Thanks for the suggestion, I will try it.

  •  01-31-2019, 20:58

    • aggg63 is not online. Last active: 31-01-2019, 21:51 aggg63
    • Not Ranked
    • Joined on 05-08-2007
    • Barcelona
    • Member
    • Points 125

    Re: Mercury wasting CPU and reading disk all the time

    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.

  •  02-05-2019, 16:26

    • Greenman is not online. Last active: 12 Apr 2019, 15:55 Greenman
    • Top 10 Contributor
    • Joined on 07-19-2007
    • UK
    • SuperStar
    • Points 14,155

    Re: Mercury wasting CPU and reading disk all the time

    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.
  •  02-21-2019, 15:42

    • PaulW is not online. Last active: 04 Apr 2019, 10:01 PaulW
    • Top 10 Contributor
    • Joined on 05-08-2007
    • UK
    • SuperStar
    • Points 18,275

    Re: 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.)

View as RSS news feed in XML

Contact | Advertise | Host provider: PraktIT | Terms of Use | Privacy Statement
Copyright © 2007-2011 David Harris / Peter Strömblad. | Pegasus Mail Home Page