-----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/