System hangs when copying large files?

2012-05-09 Thread [BG-Consulting] Elmar Bschorer
Hi list,

I do a backup of a remote system by running rsync over ssh. The backup is
stored as tgz. Both systems running OBSD 5.0. For convinience I rsync the
whole system to keep the backup script very simple in crontab. The remote
system uses about 17.8G.

Once in a while the remote systems hangs and needs to be rebooted.

Furthermore, after the rsync-backup is done, I copy the tarball (11G) over to
a terastation share mounted with slight. Unfortunately this also fails (file
too large).

Do I have to modify any system limits or something to solve that problem? Or
do I have to increase memory/swap? How much would I need?



Tia,

Elmar



Re: System hangs when copying large files?

2012-05-09 Thread Stuart Henderson
On 2012-05-09, [BG-Consulting] Elmar Bschorer 
elmar.bscho...@bugconsulting.de wrote:
 Hi list,

 I do a backup of a remote system by running rsync over ssh. The backup is
 stored as tgz. Both systems running OBSD 5.0. For convinience I rsync the
 whole system to keep the backup script very simple in crontab. The remote
 system uses about 17.8G.

 Once in a while the remote systems hangs and needs to be rebooted.

unless you can obtain more information (e.g. from DDB) this is going to be
hard to track down.

 Furthermore, after the rsync-backup is done, I copy the tarball (11G) over to
 a terastation share mounted with slight. Unfortunately this also fails (file
 too large).

 Do I have to modify any system limits or something to solve that problem? Or
 do I have to increase memory/swap? How much would I need?

slight? do you mean sharity light? iirc that uses nfsv2 which has size
limits. (also it doesn't work very well). you might do better with samba's
smbclient, or maybe you could share out from the terastation via nfsv3 or iscsi.