SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
rsync appearing multiple times in process list?
Author Message
Post rsync appearing multiple times in process list? 
Hi, can anybody tell me why I always see 2 or 3 rsync processes in my
process list when I start up an rsnapshot for a single machine? Have I
configured something the wrong way? Here is an example when running
'rsnapshot daily' for a machine called 'scratchy':

[root < at > scratchy ~]# ps aux | grep rsync
root 31055 2.6 0.1 16716 7112 ? D 17:46 0:05
/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded
--exclude-from=/etc/rsnapshot/scratchy.excludes
--exclude=rsnapshot/scratchy-snapshots /.
/rsnapshot/scratchy-snapshots/daily.0/scratchy/
root 31056 0.8 0.1 16376 6404 ? S 17:46 0:01
/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded
--exclude-from=/etc/rsnapshot/scratchy.excludes
--exclude=rsnapshot/scratchy-snapshots /.
/rsnapshot/scratchy-snapshots/daily.0/scratchy/
root 31071 2.7 0.1 16680 6572 ? S 17:47 0:04
/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded
--exclude-from=/etc/rsnapshot/scratchy.excludes
--exclude=rsnapshot/scratchy-snapshots /.
/rsnapshot/scratchy-snapshots/daily.0/scratchy/
root 31148 0.0 0.0 61232 760 pts/0 S+ 17:50 0:00 grep rsync

Thanks.



------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post rsync appearing multiple times in process list? 
Rsync forks a couple of times, presumably to avoid rewriting code that already had to work in a client/server stylee when working across a network. It's nothing to worry about.

--
David Cantrell

This electrogram was despatched by wireless field telegraph. I would therefore ask that the recipient be so kind as to excuse any failures of courtesy or linguistic inelegance as an unfortunate side-effect of the technology.

On 23 Aug 2011, at 17:53, Khusro Jaleel <mailing-lists < at > kerneljack.com> wrote:

Hi, can anybody tell me why I always see 2 or 3 rsync processes in my
process list when I start up an rsnapshot for a single machine? Have I
configured something the wrong way? Here is an example when running
'rsnapshot daily' for a machine called 'scratchy':

[root < at > scratchy ~]# ps aux | grep rsync
root 31055 2.6 0.1 16716 7112 ? D 17:46 0:05
/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded
--exclude-from=/etc/rsnapshot/scratchy.excludes
--exclude=rsnapshot/scratchy-snapshots /.
/rsnapshot/scratchy-snapshots/daily.0/scratchy/
root 31056 0.8 0.1 16376 6404 ? S 17:46 0:01
/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded
--exclude-from=/etc/rsnapshot/scratchy.excludes
--exclude=rsnapshot/scratchy-snapshots /.
/rsnapshot/scratchy-snapshots/daily.0/scratchy/
root 31071 2.7 0.1 16680 6572 ? S 17:47 0:04
/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded
--exclude-from=/etc/rsnapshot/scratchy.excludes
--exclude=rsnapshot/scratchy-snapshots /.
/rsnapshot/scratchy-snapshots/daily.0/scratchy/
root 31148 0.0 0.0 61232 760 pts/0 S+ 17:50 0:00 grep rsync

Thanks.



------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post rsync appearing multiple times in process list? 
On 08/23/2011 09:45 PM, David Cantrell wrote:
Rsync forks a couple of times, presumably to avoid rewriting code
that already had to work in a client/server stylee when working
across a network. It's nothing to worry about.


I'm sorry but I'm having trouble parsing what you wrote. "rewriting code
that already had to work in a client/server style"? There is no code
being re-written as far as I'm aware since it's a compiled program.

Could you please clarify what you meant? Thanks.

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post rsync appearing multiple times in process list? 
On Tue, Aug 23, 2011 at 10:42:29PM +0100, Khusro Jaleel wrote:
On 08/23/2011 09:45 PM, David Cantrell wrote:
Rsync forks a couple of times, presumably to avoid rewriting code
that already had to work in a client/server stylee when working
across a network. It's nothing to worry about.
I'm sorry but I'm having trouble parsing what you wrote. "rewriting code
that already had to work in a client/server style"? There is no code
being re-written as far as I'm aware since it's a compiled program.
Could you please clarify what you meant? Thanks.

rsync has to work in client-server mode. There's a bunch of code
written for that. By forking and working in the same way even when only
using local filesystems, the programmers didn't have to do the same job
twice.

--
David Cantrell | Hero of the Information Age

"There's a hole in my bucket, dear Liza, dear Liza."
"WHAT MAKES YOU SAY THERE IS A HOLE IN YOUR BUCKET?"

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB