Richard Yen dba at richyen.com
Mon Sep 29 11:57:57 PDT 2008
Hi All,

I have to slon processes (one is a parent of the other), and doing an  
strace on both shows that there's no activity.

Doing a ps to get the proc IDs:
> postgres at db3.oaktown ~ $ ps afux | grep slon | grep -v global | grep  
> conf
> postgres 22075  0.0  0.0  14284  1432 ?        S    11:16   0:00  
> slon -f /db/data/slon.conf tii
> postgres 22076  0.6  0.0 115716  5232 ?        Sl   11:16   0:13  \_  
> slon -f /db/data/slon.conf tii

Followed by strace -p:
> postgres at db3.oaktown ~ $ strace -p 22075
> Process 22075 attached - interrupt to quit
> wait4(-1, ^C <unfinished ...>
> Process 22075 detached
>
> postgres at tii-db3.oaktown ~ $ strace -p 22076
> Process 22076 attached - interrupt to quit
> futex(0x40c279e0, FUTEX_WAIT, 22078, NULL^C <unfinished ...>
> Process 22076 detached

I can understand why the parent would wait forever, but I don't seem  
to understand why the child proc stays in FUTEX_WAIT forever?  Can  
anyone explain this?  Seems like this happens on all nodes, so I'm  
guessing it's normal.  After all, replication *is* happening.

Just curious...
--Richard


More information about the Slony1-general mailing list