From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
---|---|
To: | Stephen Frost <sfrost(at)snowman(dot)net> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-www(at)postgreSQL(dot)org |
Subject: | Re: Weird glitches for N messages sent to list simultaneously |
Date: | 2016-06-06 23:25:43 |
Message-ID: | 20160606232543.GA435900@alvherre.pgsql |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-www |
Stephen Frost wrote:
> What it looks like is that, when a message comes in, mj2 does a queue
> run, which will happily process everything in the queue that it sees
> when it starts up, but if messages come in while the queue is being run
> they seem to get missed until the next queue run, which isn't happening
> til the next email arrives.
>
> I've got basically no idea why it isn't immediately re-running the
> queue when it finishes, or why there isn't some other process to kick it
> when there's messages in the queue to be processed..
>
> Looks like Alvaro is taking a look at it also, perhaps he'll have more
> insight into what's happening inside mj2.
Thanks for the vote of confidence, but I don't actually know what is
happening inside Mj2 because the trace logs are essentially useless.
The theory of the race condition sounds like a good guess.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2016-06-07 09:38:47 | Re: Symlink redirection breaks FTP site re-organisation |
Previous Message | Alvaro Herrera | 2016-06-06 23:21:59 | Re: Weird glitches for N messages sent to list simultaneously |