High CPU ocuppation starting rsync Automatically

3 posts / 0 new
Last post
itefix
Offline
Last seen: 5 days 11 hours ago
Joined: 01.05.2008 - 21:33
High CPU ocuppation starting rsync Automatically

I have installed cwrsync_Server 2.0.3 on a WNT machine, i started it as daemon from the command line and it goes ok. But when i configure the service for Automatic Startup and reset the machine, during startup the cygrunsrv process and the rsync process take a high CPU ocuppation (50 - 70%) and the system slowdown.
I suspect a possible problem in the start of rsync that is disrupting the cygrunsrv. But i don't know why this problem is not found when i start the service from the command line (net start rsyncserver).

itefix
Offline
Last seen: 5 days 11 hours ago
Joined: 01.05.2008 - 21:33
Re: High CPU ocuppation starting rsync Automatically

rsync starts as an attached process to cygrunsrv. If manual net start RsyncServer works as expected, the problem should be lying somewhere in system startup. Do you have any kind of anti-virus software delaying other services? You can try to make RsyncServer dependent on workstation/server services, to introduce an artificial delay during startup.

itefix
Offline
Last seen: 5 days 11 hours ago
Joined: 01.05.2008 - 21:33
Re: High CPU ocuppation starting rsync Automatically

Of course, the problem is in the startup, i have tried your sugerence but the delay of workstation and server services is not sufficient, after a lot of trials i have found that making the service dependent from RpcSs is a possible solution.
I don't know if rsync (or cygwin) uses RPC (and obviously the dependence is necessary) or if it is the delay in the startup who permits start rsync, in this case it can occurs than some startups were malfunctioning.

Many thanks for the help.

Release announcements