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

Fetching POP3 mail pauses the editor for a second (microfreeze)

Last post 01-15-2020, 2:56 by idw. 13 replies.
Sort Posts: Previous Next
  •  01-13-2020, 14:13

    Fetching POP3 mail pauses the editor for a second (microfreeze)

    I recently migrated from my venerable old laptop to a new Windows 10 machine.  I also updated to Pegasus 4.73 (build 639).  You don't want to know how old the previous version I was using was.

    Some observations:

    1. migration by directory copying the /Pmail/MAIL folder worked fine for me, 30GB of mail (23179 sent items, 5040 items in New Mail, 280 mail folders, all present on the new machine) - note that on the old machine the mail folder was /Pmail/MAIL/ADMIN (maybe that was a multi-user setup?), on the new machine I copied the contents of /Pmail/MAIL/ADMIN to /Pmail/MAIL and it seems to work fine

    2. this brought a huge grin, I was dancing around the room, it is awesome that the same software works by a simple directory copy and hasn't changed the .CNM data structure in all these years, meaning I have my full email history intact (I've been using Pegasus since 1997) - top quality software. Well done David Harris!

    3. an issued noticed in the latest version is that while Pegasus does a POP3 check, my typing in the new message editor is paused for approximately 1 second - it is briefly frozen.  The on screen editor then 'catches up' with what I was typing while it was paused, but it's annoying and disconcerting, it's not smooth to edit messages.  Old Pegasus didn't do this.  This feels like the POP3 check is maybe not running in a separate thread?

    4. I am also wondering if these pauses are an artifact because of me changing folders see point 1 above, or something caused by Windows 10?  My Windows 10 installation is pretty clean, bloat eliminated and everything other application on this PC works smoothly without pauses.

     

    Grateful for any help - it would be helpful just to know if other users are experiencing these pauses or micro-freezes, or if it's only me? 

  •  01-13-2020, 15:20

    • Brian Fluet is not online. Last active: 01-29-2020, 16:06 Brian Fluet
    • Top 10 Contributor
    • Joined on 12-24-2014
    • North Carolina, USA
    • SuperStar
    • Points 28,835

    Re: Fetching POP3 mail pauses the editor for a second (microfreeze)

    archimedes1:
  • migration by directory copying the /Pmail/MAIL folder worked fine for me, 30GB of mail (23179 sent items, 5040 items in New Mail, 280 mail folders, all present on the new machine) - note that on the old machine the mail folder was /Pmail/MAIL/ADMIN (maybe that was a multi-user setup?), on the new machine I copied the contents of /Pmail/MAIL/ADMIN to /Pmail/MAIL and it seems to work fine
  • Normally a copy of /Pmail/MAIL/ADMIN to /Pmail/MAIL/ADMIN is the only way it should work without some path issues so I'm curious exactly what your procedure was.  Did you do a clean, single user install before doing the copy? 

    archimedes1:
  • an issued noticed in the latest version is that while Pegasus does a POP3 check, my typing in the new message editor is paused for approximately 1 second - it is briefly frozen.  The on screen editor then 'catches up' with what I was typing while it was paused, but it's annoying and disconcerting, it's not smooth to edit messages.  Old Pegasus didn't do this.  This feels like the POP3 check is maybe not running in a separate thread?
  • That is exactly what is happening.  It is a known issue that affects some users much more than others.  There isn't a solution.  Reducing the frequency of checking for new mail has helped reduce the annoyance frequency for me.

  •  01-13-2020, 16:08

    Re: Fetching POP3 mail pauses the editor for a second (microfreeze)

    Hi Brian, thank you for your quick response. A nice welcome to the forum, as a long time fan of Pmail but new to the forums. 

    Did you do a clean, single user install before doing the copy?

    Yes.  After that, I closed Pegasus and cleared the \Pmail\MAIL folder it had created, so that it is an empty MAIL folder.  Then I copied all the contents of \Pmail\MAIL\ADMIN from the old PC, to the destination \Pmail\MAIL on the new PC.  I created no ADMIN folder on the new PC.  The process has worked fine, I have all my mail fully accessible on the new PC.  All message metadata also looks to be correct, e.g. unread emails in the New Mail folder are still unread.  It even remembered the same on-screen layout (I guess that is held in STATE.PMJ ?)

    Looking at PMAIL.INI on the new PC it includes these lines:

    Internal username                = Single-user mode
    Working home mailbox location    = C:\PMAIL\MAIL
    New mailbox location             = C:\PMAIL\MAIL

    The equivalent lines on the old PC show:
     
    Internal username                = Admin
    Working home mailbox location    = C:\PMAIL\MAIL\Admin
    New mailbox location             = C:\PMAIL\MAIL\Admin

    I did not edit PMAIL.INI.  So it looks like Pegasus Mail edited those mailbox locations itself. It must have done this when I next ran Pegasus on the new PC - I guess it tries to ensure that PMAIL.INI in the mailbox matches \Pmail\Programs\PMAIL.CFG?  Certainly I did copy the old PC's PMAIL.INI across as part of this process, because it has all my POP3 and SMTP settings and username and other preferences, I did not set those manually on the new PC.  Sending and receiving messages is working fine on the new PC.
     
    I don't really see why copying the \MAIL\ADMIN folder into \MAIL wouldn't work ... it looks like the only place where the folder locations are specified is in PMAIL.INI as quoted above.  Everything else in the mail folder - all the CNM and PMM files - are fully portable.
     
    I posted here the full procedure I followed.  If you think my approach should not have worked and might mislead other users, I should maybe add some caveats?  But I confim 100% that the above worked for me.   If anyone else is trying this, I suggest they should check the mailbox locations are correctly set as C:\PMAIL\MAIL (or whatever it should be) in PMAIL.INI on the new PC.  Hopefully it should be as simple as that.
  •  01-13-2020, 16:25

    Re: Fetching POP3 mail pauses the editor for a second (microfreeze)

    Brian Fluet:
    archimedes1:
  • an issued noticed in the latest version is that while Pegasus does a POP3 check, my typing in the new message editor is paused for approximately 1 second - it is briefly frozen.  The on screen editor then 'catches up' with what I was typing while it was paused, but it's annoying and disconcerting, it's not smooth to edit messages.  Old Pegasus didn't do this.  This feels like the POP3 check is maybe not running in a separate thread?
  • That is exactly what is happening.  It is a known issue that affects some users much more than others.  There isn't a solution.  Reducing the frequency of checking for new mail has helped reduce the annoyance frequency for me.

    Thank you for confirming. I guess the severity of the issue depends on how quickly the remote POP3 server responds, and Windows 10 may add its own special delays which I was not experiencing on my old PC.  (My old PC ran Windows XP SP3, a.k.a. the last good operating system from Microsoft.)
  •  01-13-2020, 16:37

    • Brian Fluet is not online. Last active: 01-29-2020, 16:06 Brian Fluet
    • Top 10 Contributor
    • Joined on 12-24-2014
    • North Carolina, USA
    • SuperStar
    • Points 28,835

    Re: Fetching POP3 mail pauses the editor for a second (microfreeze)

    It is a relatively recent observation (for me anyway) that a single user installation sets \MAIL as the new mail directory instead of a subdirectory of \MAIL, like \MAIL\ADMIN.  The fact that you can copy the contents of \MAIL\ADMIN to \MAIL like you did is good to know. 

    I prefer copying data and select configuration files so as not to bring over any obsolete files from previous versions but I think they are harmless and your approach sure is easier.

    Thanks for sharing the details.

  •  01-13-2020, 16:42

    • idw is online. Last active: Wed, Jan 29 2020, 22:36 idw
    • Top 10 Contributor
    • Joined on 03-25-2007
    • Germany
    • SuperStar
    • Points 48,580
    • BetaTeam

    Re: Fetching POP3 mail pauses the editor for a second (microfreeze)

    Well, I'm only doing idle checks ever since I'm using Pegasus Mail, and I really hate applications and websites trying to distract me from what I'm doing all the time so I never encountered any such delays at all Smile


    Michael

    --
    PGP Key ID (RSA 2048): 0xC45D831B
    PGP Plugin for Pegasus Mail: <http://www.pmpgp.de/pmpgp/>
    S/MIME Certificate Fingerprint: 94 c6 b4 71 0c 62 30 88 a5 b2 77 01 74 2b 86 66 3b 7e 65 7c
  •  01-13-2020, 17:02

    • Brian Fluet is not online. Last active: 01-29-2020, 16:06 Brian Fluet
    • Top 10 Contributor
    • Joined on 12-24-2014
    • North Carolina, USA
    • SuperStar
    • Points 28,835

    Re: Fetching POP3 mail pauses the editor for a second (microfreeze)

    idw:
    Well, I'm only doing idle checks ever since I'm using Pegasus Mail, and I really hate applications and websites trying to distract me from what I'm doing all the time so I never encountered any such delays at all Smile

    You're lucky Michael.  It seems that those most well equipped to troubleshoot the problem aren't experiencing it but you can tell from the posts that it can be interrupting and annoying to those of us who do.  I have experienced it on three different machines, local Pmail installations on each, noticeably worse on a slow PC, Win7 or Win10 didn't make a difference.

  •  01-13-2020, 18:12

    Re: Fetching POP3 mail pauses the editor for a second (microfreeze)

    Thanks to Michael's suggestion I switched to idle checks, and have not experienced the microfreezes since then.

    Later I'll also try some tests to see if I can isolate this some more.

     

    PS  How are you guys dealing with formatting issues when posting on this forum?  Seems like every post I write, the editor adds unwanted HTML codes including font-size changes.   I know BBCode and haven't experienced this on other phpBB forums.

  •  01-13-2020, 18:53

    • Brian Fluet is not online. Last active: 01-29-2020, 16:06 Brian Fluet
    • Top 10 Contributor
    • Joined on 12-24-2014
    • North Carolina, USA
    • SuperStar
    • Points 28,835

    Re: Fetching POP3 mail pauses the editor for a second (microfreeze)

    Ooops!  I missed the "idle checks" relevance in Michaels' post.  Sorry for the inappropriate post.

    Now I need to check my problem installations.

  •  01-14-2020, 18:25

    • idw is online. Last active: Wed, Jan 29 2020, 22:36 idw
    • Top 10 Contributor
    • Joined on 03-25-2007
    • Germany
    • SuperStar
    • Points 48,580
    • BetaTeam

    Re: Fetching POP3 mail pauses the editor for a second (microfreeze)

    Brian Fluet:
    Now I need to check my problem installations.

    Hope it helps, Brian Wink


    Michael

    --
    PGP Key ID (RSA 2048): 0xC45D831B
    PGP Plugin for Pegasus Mail: <http://www.pmpgp.de/pmpgp/>
    S/MIME Certificate Fingerprint: 94 c6 b4 71 0c 62 30 88 a5 b2 77 01 74 2b 86 66 3b 7e 65 7c
  •  01-14-2020, 18:28

    • idw is online. Last active: Wed, Jan 29 2020, 22:36 idw
    • Top 10 Contributor
    • Joined on 03-25-2007
    • Germany
    • SuperStar
    • Points 48,580
    • BetaTeam

    Re: Fetching POP3 mail pauses the editor for a second (microfreeze)

    archimedes1:
    PS  How are you guys dealing with formatting issues when posting on this forum?  Seems like every post I write, the editor adds unwanted HTML codes including font-size changes.   I know BBCode and haven't experienced this on other phpBB forums.

    What browser do you use? I'm not experiencing any issues and usually don't need to care using Firefox ...


    Michael

    --
    PGP Key ID (RSA 2048): 0xC45D831B
    PGP Plugin for Pegasus Mail: <http://www.pmpgp.de/pmpgp/>
    S/MIME Certificate Fingerprint: 94 c6 b4 71 0c 62 30 88 a5 b2 77 01 74 2b 86 66 3b 7e 65 7c
  •  01-14-2020, 19:01

    • Brian Fluet is not online. Last active: 01-29-2020, 16:06 Brian Fluet
    • Top 10 Contributor
    • Joined on 12-24-2014
    • North Carolina, USA
    • SuperStar
    • Points 28,835

    Re: Fetching POP3 mail pauses the editor for a second (microfreeze)

    idw:

    Brian Fluet:
    Now I need to check my problem installations.

    Hope it helps, Brian Wink

    After looking at this I remember not fully understanding how it would work and never pursued it.  It seems to me that its usage would be to set a relatively short time period (say 60 seconds) when "Idle" is enabled so that a check is done shortly after going into idle state but does that mean that checks are done every 60 seconds when PMail is idle? 

    Perhaps the "Check no more frequently than once every X minutes" setting then controls the frequency?

  •  01-14-2020, 19:24

    • Brian Fluet is not online. Last active: 01-29-2020, 16:06 Brian Fluet
    • Top 10 Contributor
    • Joined on 12-24-2014
    • North Carolina, USA
    • SuperStar
    • Points 28,835

    Re: Fetching POP3 mail pauses the editor for a second (microfreeze)

    archimedes1:
    PS  How are you guys dealing with formatting issues when posting on this forum?  Seems like every post I write, the editor adds unwanted HTML codes including font-size changes.   I know BBCode and haven't experienced this on other phpBB forums.

    I had to give up on using Vivaldi.  A remember the problem being specific to trying to include a quote from another message in a post. 

    It's Firefox only for me now.

  •  01-15-2020, 2:56

    • idw is online. Last active: Wed, Jan 29 2020, 22:36 idw
    • Top 10 Contributor
    • Joined on 03-25-2007
    • Germany
    • SuperStar
    • Points 48,580
    • BetaTeam

    Re: Fetching POP3 mail pauses the editor for a second (microfreeze)

    Brian Fluet:
    Perhaps the "Check no more frequently than once every X minutes" setting then controls the frequency?

    Well, for me it's all pretty easy: Firstly, I don't really care whether I'm getting messages sooner or later since I prefer to not be interrupted when working on my machine. Secondly, if I feel the need to do an immediate check I manually trigger it, so keeping idle checks limited to 900 seconds = 15 minutes is my setting, especially since I once had a free account limited to this frequency anyway.


    Michael

    --
    PGP Key ID (RSA 2048): 0xC45D831B
    PGP Plugin for Pegasus Mail: <http://www.pmpgp.de/pmpgp/>
    S/MIME Certificate Fingerprint: 94 c6 b4 71 0c 62 30 88 a5 b2 77 01 74 2b 86 66 3b 7e 65 7c
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