100% CPU usage when fetching all UIDLs?

Hi all,

Fetchmail intermittently uses 100% CPU or so (well, one core) when it's
apparently doing it's hourly "make sure there are no missing UIDLs" with
POP3.

I presume it's because I have a lot of mail.  More than 30k in one
mailbox, and possibly even more in another.

Is there a way to fix this somehow?  Or if not, is there a way to tell
it not to check for all of them until I say so?

My defaults are

  set daemon 300
  set logfile .fetchmail.log

  defaults proto pop3 service 995 uidl fastuidl 6
	ssl sslcertck keep

and they are not overriden for those two particular mailboxes.

Johann
Matthias Andree | 7 Jun 2012 22:57
Picon
Picon

Re: 100% CPU usage when fetching all UIDLs?

Am 07.06.2012 20:45, schrieb Johann 'Myrkraverk' Oskarsson:
> Hi all,
> 
> Fetchmail intermittently uses 100% CPU or so (well, one core) when it's
> apparently doing it's hourly "make sure there are no missing UIDLs" with
> POP3.
> 
> I presume it's because I have a lot of mail.  More than 30k in one
> mailbox, and possibly even more in another.
> 
> Is there a way to fix this somehow?  Or if not, is there a way to tell
> it not to check for all of them until I say so?
> 
> My defaults are
> 
>   set daemon 300
>   set logfile .fetchmail.log
> 
>   defaults proto pop3 service 995 uidl fastuidl 6
> 	ssl sslcertck keep
> 
> and they are not overriden for those two particular mailboxes.

Johann,

I'm sorry to say that this is a known issue in your situation but I
haven't gotten around to doing a new major release due to real-life
work. The algorithms dealing with UIDL in 6.3.X do not scale well, the
time they take grows with the number of messages squared, O(n²).

(Continue reading)


Gmane