客户端的rsync已配置好,用ps aux | grep rsync看已经开启
服务器的sersync。输入/usr/local/sersync/sersync2 -d -r -o
/usr/local/sersync/confxml.xml
也能刷出正确的信息
set the system param
execute:echo 50000000 > /proc/sys/fs/inotify/max_user_watches
execute:echo 327679 > /proc/sys/fs/inotify/max_queued_events
parse the command param option: -d run as a daemon
daemon thread num: 10
parse xml config file
host ip : localhost host port: 8008
daemon start,sersync run behind the console
config xml parse success
please set /etc/rsyncd.conf max connections=0 Manually
sersync working thread 112 = 1(primary thread) + 1(fail retry thread) + 10(daemon sub threads)
Max threads numbers is: 22 = 12(Thread pool nums) + 10(Sub threads)
please according your cpu ,use -n param to adjust the cpu rate run the sersync: watch path is: /opt/tongbu
但我sersync主服务器上的东西就是不能同步到目标服务器上,求高手解答
服务器的sersync。输入/usr/local/sersync/sersync2 -d -r -o
/usr/local/sersync/confxml.xml
也能刷出正确的信息
set the system param
execute:echo 50000000 > /proc/sys/fs/inotify/max_user_watches
execute:echo 327679 > /proc/sys/fs/inotify/max_queued_events
parse the command param option: -d run as a daemon
daemon thread num: 10
parse xml config file
host ip : localhost host port: 8008
daemon start,sersync run behind the console
config xml parse success
please set /etc/rsyncd.conf max connections=0 Manually
sersync working thread 112 = 1(primary thread) + 1(fail retry thread) + 10(daemon sub threads)
Max threads numbers is: 22 = 12(Thread pool nums) + 10(Sub threads)
please according your cpu ,use -n param to adjust the cpu rate run the sersync: watch path is: /opt/tongbu
但我sersync主服务器上的东西就是不能同步到目标服务器上,求高手解答