Largo samurai58
Tue Oct 10 06:59:22 PDT 2006
Hi

Thank you , I used these options that I see for the first time !
-------------------------------------------------------------------------
slon $CLUSTERNAME -s 500 -t 1000 "dbname=$MASTERDB user=$REPLICATIONUSER 
host=$MASTERHOST"
-------------------------------------------------------------------------

I get this time this message , but only on the slave (I started SLON on 
both slave on master with the same options)
-------------------------------------------------------------------------
FATAL  localListenThread: Another slon daemon is serving this node already
-------------------------------------------------------------------------
And nothing will be replicated in 0.5 seconds or even after hours !


Largo .

------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

Christopher Browne schrieb:
> Largo <samurai58 at web.de> writes:
>   
>> Can I change in the file
>> "/usr/src/slony1-1.0.2/src/slon/sync_thread.c" the lines 35 and 36 to
>>
>> int    sync_interval = 500;
>> int    sync_interval_timeout = 10000;
>>
>> to have 0.5 seconds  ??????
>> I get no files slon and slonik after compiling and building ... So
>> there was errors .
>>     
>
> You might consider looking at slon options:
>
> pgaero at TOR-570-DB9033:/opt/home/pgaero $ slon -h
> 2006-10-10 12:30:18 UTC CONFIG main: slon version 1.1.5 starting up
> usage: slon [options] clustername conninfo
>
> Options:
>     -d <debuglevel>       verbosity of logging (1..4)
>     -s <milliseconds>     SYNC check interval (default 10000)
>     -t <milliseconds>     SYNC interval timeout (default 60000)
>     -o <milliseconds>     desired subscriber SYNC processing time
>     -g <num>              maximum SYNC group size (default 6)
>     -c <num>              how often to vacuum in cleanup cycles
>     -p <filename>         slon pid file
>     -f <filename>         slon configuration file
>     -a <directory>        directory to store SYNC archive files
>
> You don't need to recompile to specify different values; you merely
> need to have -s / -t options.
>   




More information about the Slony1-general mailing list