i guess that main problem is that rsync is going to use what it needs, no
more no less. If you limit rsync's memory it wont just use less memory, it
will throw a fit. If rsync runs out of ram it will crash. Also, I think
that if you use a memory limitor like ulimit or vlimit then rsync cant use
any swap so you really will get a crash.
On Jan 18, 2008 8:57 PM, Adam Goryachev <[EMAIL PROTECTED]>
wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> dan wrote:
> > on linux you can install the vserver utilities (on debian/ubuntu apt-get
> > install util-vserver)
> >
>
> What is wrong with using ulimit ? in bash, I think "help ulimit" or "man
> ulimit" on most other (unix) systems should get you in the right
> direction.
>
> Regards,
> Adam
>
> > you can expiriment what that a little. keep in mind that when the limit
> > is reached, it is just like running out of memory and will probably just
> > crash miserably.
>
>
> Of course, that still applies, but you could use scripts which will set
> a limit before calling the binary that is actually going to do your
> backup, so when the limit is reached, it simply crashes that specific
> backup, and your other hosts will continue.
>
> Just another thought, there are some command in the daemontools package
> that will set a memory limit as well.... used for qmail and other djb
> apps. They can be used something like:
> softlimit -m 1000000 somecommand and options
> Which would limit the memory use for "somecommand and options" which
> might be easier than the ulimit above because you don't need to call
> script instead of the actual backup command....
>
> Hope it is slightly useful anyway....
>
> Regards,
> Adam
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHkXUdGyoxogrTyiURAthBAJ9ShkkZTUm2gkZwJ12BY53Vr7WZ9ACgqxqP
> 1Zpr2o9xZiFPL2UhZeM64XQ=
> =2fTb
> -----END PGP SIGNATURE-----
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki: http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/