Hi, I am using rsync-2.5.5 on power pc system. It is an embedded system with very low memory few MBs. Most of the time only 4-5 MB memory is free (as shown using free command). I have an application that periodically (every 20 sec) fires rsync command from system command i.e. system ("rsync..") to a remote m/c connected to it. The data I have to rsync has hardly 60 files with total size of 4MB. My problem is that even with this short file list and such small sized files, system leads to OUT OF MEMORY error within 2 hours killing my application and many other applications! Is there any solution? Should I look for some other tool which is equivalent for rsync but can be used for such small optimized transfers? Regards, Preeti -------------- next part -------------- HTML attachment scrubbed and removed
Le Lundi 29 Janvier 2007 00:08, Preeti Joshi a ?crit?:> Hi, > > I am using rsync-2.5.5 on power pc system. It is an embedded system > with very low memory few MBs. Most of the time only 4-5 MB memory is > free (as shown using free command). I have an application that > periodically (every 20 sec) fires rsync command from system command > i.e. system ("rsync..") to a remote m/c connected to it. The data I > have to rsync has hardly 60 files with total size of 4MB. > My problem is that even with this short file list and such small > sized files, system leads to OUT OF MEMORY error within 2 hours > killing my application and many other applications! > Is there any solution? Should I look for some other tool which is > equivalent for rsync but can be used for such small optimized > transfers?Why not just copy the files over? Peter
> with total size of 4MB. > My problem is that even with this short file list and such small sized > files, system leads to OUT OF MEMORY error within 2 hours killing my > application and many other applications! > Is there any solution? Should I look for some other tool which is > equivalent > for rsync but can be used for such small optimized transfers?Perhaps a little routine at the start to ensure that the previous RSync had finished before the next one has started? I assume this is the reason for the memory errors? -- Stuart Halliday This email is the property of ECS Technology Ltd. This company is registered in Scotland with company number 212513. VAT registered GB 761 7456 12 http://www.ecs-tech.com/