On Monday 27 August 2007 16:14, Andrew Sullivan wrote:
> On Mon, Aug 27, 2007 at 04:00:50PM -0500, Dan Falconer wrote:
> > I'm really unclear as to what you mean by "snapshot size". I've updated
> > the maximum SYNC group size from 6 to 25, and (some time ago, apparently)
> > the sync
>
> That's what I meant, yes. Sorry for speaking imprecisely.
>
> > In fact, the most distressing part out of all of this, which could be due
> > to some lack of information, is that the master thinks it's out of date
> > with itself:::
>
> Hrm. Are you sure SYNC messages are getting through everywhere?
> There is some point (5 days may well be approaching it) where you
> need to rebuild everything.
>
> At the very least, I would stop everything and VACUUM ANALYSE the
> slony tables, first, though. My guess is that you're now hitting
> badly messed up log tables, and you're in the dead tuple death
> spiral.
Lol. I think "dead tuple death spiral" may indeed be the problem, though I
have no idea what causes it. Going with the suggestions of David Rees, I
stopped slons & ran some vacuums: on each server, I vacuumed every time I
found within the "_pl_replication" schema. At most, the vacuums took 30
seconds to run, and I saw nothing terrible in regards to the number of rows
removed, rows that couldn't be removed, etc.
I believe that SYNCs are getting through, but some insight into the log files
to clarify would be great. I've attached log files for roughly the same
period of time for both the master & slave. Also, when I restarted the
slons, I get notices printed to the console (instead of a log file)
indicating that the switch from log_1 to log_2 failed... help?
>
> A
--
Best Regards,
Dan Falconer
"Head Geek", Avsupport, Inc. / Partslogistics.com
http://www.partslogistics.com
2007-08-27 16:23:14 CDT DEBUG2 localListenThread: Received event 2,159160 SYNC
2007-08-27 16:23:15 CDT DEBUG2 remoteListenThread_1: queue event 1,85580 SYNC
2007-08-27 16:23:15 CDT DEBUG2 remoteListenThread_1: UNLISTEN
2007-08-27 16:23:15 CDT DEBUG2 remoteWorkerThread_1: Received event 1,85580 SYNC
2007-08-27 16:23:15 CDT DEBUG2 remoteWorkerThread_1: SYNC 85580 processing
2007-08-27 16:23:15 CDT DEBUG2 remoteWorkerThread_1: no sets need syncing for
this event
2007-08-27 16:23:16 CDT DEBUG2 syncThread: new sl_action_seq 28123401 - SYNC
159161
2007-08-27 16:23:19 CDT DEBUG2 localListenThread: Received event 2,159161 SYNC
2007-08-27 16:23:20 CDT DEBUG2 remoteListenThread_1: LISTEN
2007-08-27 16:23:22 CDT DEBUG2 syncThread: new sl_action_seq 28123496 - SYNC
159162
2007-08-27 16:23:24 CDT DEBUG2 localListenThread: Received event 2,159162 SYNC
2007-08-27 16:23:25 CDT DEBUG2 remoteListenThread_1: queue event 1,85581 SYNC
2007-08-27 16:23:25 CDT DEBUG2 remoteListenThread_1: UNLISTEN
2007-08-27 16:23:25 CDT DEBUG2 remoteWorkerThread_1: Received event 1,85581 SYNC
2007-08-27 16:23:25 CDT DEBUG2 remoteWorkerThread_1: SYNC 85581 processing
2007-08-27 16:23:25 CDT DEBUG2 remoteWorkerThread_1: no sets need syncing for
this event
2007-08-27 16:23:27 CDT DEBUG2 syncThread: new sl_action_seq 28123538 - SYNC
159163
2007-08-27 16:23:29 CDT DEBUG2 localListenThread: Received event 2,159163 SYNC
2007-08-27 16:23:30 CDT DEBUG2 remoteListenThread_1: LISTEN
2007-08-27 16:23:32 CDT DEBUG2 syncThread: new sl_action_seq 28123561 - SYNC
159164
2007-08-27 16:23:34 CDT DEBUG2 localListenThread: Received event 2,159164 SYNC
2007-08-27 16:23:35 CDT DEBUG2 remoteListenThread_1: queue event 1,85582 SYNC
2007-08-27 16:23:35 CDT DEBUG2 remoteListenThread_1: UNLISTEN
2007-08-27 16:23:35 CDT DEBUG2 remoteWorkerThread_1: Received event 1,85582 SYNC
2007-08-27 16:23:35 CDT DEBUG2 remoteWorkerThread_1: SYNC 85582 processing
2007-08-27 16:23:35 CDT DEBUG2 remoteWorkerThread_1: no sets need syncing for
this event
2007-08-27 16:23:37 CDT DEBUG2 syncThread: new sl_action_seq 28123604 - SYNC
159165
2007-08-27 16:23:39 CDT DEBUG2 localListenThread: Received event 2,159165 SYNC
2007-08-27 16:23:40 CDT DEBUG2 remoteListenThread_1: LISTEN
2007-08-27 16:23:42 CDT DEBUG2 syncThread: new sl_action_seq 28123643 - SYNC
159166
2007-08-27 16:23:43 CDT DEBUG2 remoteWorkerThread_1: forward confirm 2,73398
received by 1
2007-08-27 16:23:44 CDT DEBUG2 localListenThread: Received event 2,159166 SYNC
2007-08-27 16:23:45 CDT DEBUG2 remoteListenThread_1: queue event 1,85583 SYNC
2007-08-27 16:23:45 CDT DEBUG2 remoteListenThread_1: UNLISTEN
2007-08-27 16:23:45 CDT DEBUG2 remoteWorkerThread_1: Received event 1,85583 SYNC
2007-08-27 16:23:45 CDT DEBUG2 remoteWorkerThread_1: SYNC 85583 processing
2007-08-27 16:23:45 CDT DEBUG2 remoteWorkerThread_1: no sets need syncing for
this event
2007-08-27 16:23:47 CDT DEBUG2 syncThread: new sl_action_seq 28123715 - SYNC
159167
2007-08-27 16:23:49 CDT DEBUG2 localListenThread: Received event 2,159167 SYNC
2007-08-27 16:23:50 CDT DEBUG2 remoteListenThread_1: LISTEN
2007-08-27 16:23:52 CDT DEBUG2 syncThread: new sl_action_seq 28123784 - SYNC
159168
2007-08-27 16:23:54 CDT DEBUG2 localListenThread: Received event 2,159168 SYNC
2007-08-27 16:23:55 CDT DEBUG2 remoteListenThread_1: queue event 1,85584 SYNC
2007-08-27 16:23:55 CDT DEBUG2 remoteListenThread_1: UNLISTEN
2007-08-27 16:23:55 CDT DEBUG2 remoteWorkerThread_1: Received event 1,85584 SYNC
2007-08-27 16:23:55 CDT DEBUG2 remoteWorkerThread_1: SYNC 85584 processing
2007-08-27 16:23:55 CDT DEBUG2 remoteWorkerThread_1: no sets need syncing for
this event
2007-08-27 16:23:57 CDT DEBUG2 syncThread: new sl_action_seq 28123824 - SYNC
159169
2007-08-27 16:23:59 CDT DEBUG2 localListenThread: Received event 2,159169 SYNC
2007-08-27 16:24:00 CDT DEBUG2 remoteListenThread_1: LISTEN
2007-08-27 16:24:02 CDT DEBUG2 syncThread: new sl_action_seq 28123870 - SYNC
159170
2007-08-27 16:24:04 CDT DEBUG2 localListenThread: Received event 2,159170 SYNC
2007-08-27 16:24:05 CDT DEBUG2 remoteListenThread_1: queue event 1,85585 SYNC
2007-08-27 16:24:05 CDT DEBUG2 remoteListenThread_1: UNLISTEN
2007-08-27 16:24:05 CDT DEBUG2 remoteWorkerThread_1: Received event 1,85585 SYNC
2007-08-27 16:24:05 CDT DEBUG2 remoteWorkerThread_1: SYNC 85585 processing
2007-08-27 16:24:05 CDT DEBUG2 remoteWorkerThread_1: no sets need syncing for
this event
2007-08-27 16:23:14 CDT DEBUG2 localListenThread: Received event 1,85579 SYNC
2007-08-27 16:23:15 CDT DEBUG2 syncThread: new sl_action_seq 1 - SYNC 85580
2007-08-27 16:23:17 CDT DEBUG2 remoteListenThread_2: queue event 2,159161 SYNC
2007-08-27 16:23:19 CDT DEBUG2 localListenThread: Received event 1,85580 SYNC
2007-08-27 16:23:22 CDT DEBUG2 remoteListenThread_2: queue event 2,159162 SYNC
2007-08-27 16:23:25 CDT DEBUG2 syncThread: new sl_action_seq 1 - SYNC 85581
2007-08-27 16:23:27 CDT DEBUG2 remoteListenThread_2: queue event 2,159163 SYNC
2007-08-27 16:23:32 CDT DEBUG2 remoteListenThread_2: queue event 2,159164 SYNC
2007-08-27 16:23:34 CDT DEBUG2 localListenThread: Received event 1,85581 SYNC
2007-08-27 16:23:35 CDT DEBUG2 syncThread: new sl_action_seq 1 - SYNC 85582
2007-08-27 16:23:37 CDT DEBUG2 remoteListenThread_2: queue event 2,159165 SYNC
2007-08-27 16:23:39 CDT DEBUG2 localListenThread: Received event 1,85582 SYNC
2007-08-27 16:23:41 CDT DEBUG2 remoteHelperThread_2_2: 119.937 seconds delay
for first row
2007-08-27 16:23:41 CDT DEBUG2 remoteHelperThread_2_2: 119.939 seconds until
close cursor
2007-08-27 16:23:41 CDT DEBUG2 remoteHelperThread_2_2: inserts=15 updates=8
deletes=0
2007-08-27 16:23:43 CDT DEBUG2 remoteWorkerThread_2: new sl_rowid_seq value:
2000000000000000
2007-08-27 16:23:43 CDT DEBUG2 remoteWorkerThread_2: SYNC 73398 done in 121.696
seconds
2007-08-27 16:23:43 CDT DEBUG2 remoteWorkerThread_2: Received event 2,73399 SYNC
2007-08-27 16:23:43 CDT DEBUG2 remoteWorkerThread_2: SYNC 73399 processing
2007-08-27 16:23:43 CDT DEBUG2 remoteWorkerThread_2: syncing set 1 with 129
table(s) from provider 2
2007-08-27 16:23:43 CDT DEBUG2 ssy_action_list length: 0
2007-08-27 16:23:43 CDT DEBUG2 remoteWorkerThread_2: current local log_status
is 2
2007-08-27 16:23:43 CDT DEBUG2 remoteWorkerThread_2_2: current remote
log_status = 2
2007-08-27 16:23:43 CDT DEBUG2 remoteListenThread_2: queue event 2,159166 SYNC
2007-08-27 16:23:45 CDT DEBUG2 syncThread: new sl_action_seq 1 - SYNC 85583
2007-08-27 16:23:48 CDT DEBUG2 remoteListenThread_2: queue event 2,159167 SYNC
2007-08-27 16:23:53 CDT DEBUG2 remoteListenThread_2: queue event 2,159168 SYNC
2007-08-27 16:23:54 CDT DEBUG2 localListenThread: Received event 1,85583 SYNC
2007-08-27 16:23:55 CDT DEBUG2 syncThread: new sl_action_seq 1 - SYNC 85584
2007-08-27 16:23:59 CDT DEBUG2 remoteListenThread_2: queue event 2,159169 SYNC
2007-08-27 16:23:59 CDT DEBUG2 localListenThread: Received event 1,85584 SYNC
2007-08-27 16:24:04 CDT DEBUG2 remoteListenThread_2: queue event 2,159170 SYNC
2007-08-27 16:24:05 CDT DEBUG2 syncThread: new sl_action_seq 1 - SYNC 85585
2007-08-27 16:24:09 CDT DEBUG2 remoteListenThread_2: queue event 2,159171 SYNC
2007-08-27 16:24:14 CDT DEBUG2 remoteListenThread_2: queue event 2,159172 SYNC
2007-08-27 16:24:14 CDT DEBUG2 localListenThread: Received event 1,85585 SYNC
2007-08-27 16:24:15 CDT DEBUG2 syncThread: new sl_action_seq 1 - SYNC 85586
2007-08-27 16:24:19 CDT DEBUG2 remoteListenThread_2: queue event 2,159173 SYNC
2007-08-27 16:24:19 CDT DEBUG2 localListenThread: Received event 1,85586 SYNC
2007-08-27 16:24:24 CDT DEBUG2 remoteListenThread_2: queue event 2,159174 SYNC
2007-08-27 16:24:25 CDT DEBUG2 syncThread: new sl_action_seq 1 - SYNC 85587
2007-08-27 16:24:29 CDT DEBUG2 remoteListenThread_2: queue event 2,159175 SYNC
2007-08-27 16:24:34 CDT DEBUG2 remoteListenThread_2: queue event 2,159176 SYNC
2007-08-27 16:24:34 CDT DEBUG2 localListenThread: Received event 1,85587 SYNC
2007-08-27 16:24:35 CDT DEBUG2 syncThread: new sl_action_seq 1 - SYNC 85588
_______________________________________________
Slony1-general mailing list
[email protected]
http://lists.slony.info/mailman/listinfo/slony1-general