Strange bug (buffer overflow) happening only under cron
Kevin Korb
kmk at sanitarium.net
Fri Oct 28 09:21:26 MDT 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It sounds like your cron jobs are memory limited. Can you put 'ulimit
- -a' into a cron job and see what it outputs?
On 10/28/11 09:51, Pedro Fortuny wrote:
> Hi,
>
> I am running OS X Snow Leopard on the 'sender' side and
> Linux (2.6.32, possibly fedora but unsure) on the 'receiver'
> side. Both with rsync 3.0.9.
>
> If I run the following command from the command line:
>
> /usr/local/bin/rsync -av -e "ssh -i \
> /Users/pedrofortunyayuso/.ssh/backup_pfortuny_net" \
> --filter ': rsync.dirs' ~/ pfortuny at pfortuny.net:"~/backup_mbpro/"
>
> Everything works OK. However, if I run it as a cron task, I
> receive the following mail:
>
> [headers stripped]
> X-Cron-Env: <SHELL=/bin/bash>
> X-Cron-Env: <PATH=/usr/bin:/bin>
> X-Cron-Env: <LOGNAME=pedrofortunyayuso>
> X-Cron-Env: <USER=pedrofortunyayuso>
> X-Cron-Env: <HOME=/Users/pedrofortunyayuso>
> Message-Id: <20111028133407.4BC171BF226 at mypera.local>
> Date: Fri, 28 Oct 2011 15:34:01 +0200 (CEST)
> Status: RO
>
> cp: ./Dropbox/HostMonsterPage/doc/ampliacion.pdf: No such file or directory
> cp: ./Dropbox/HostMonsterPage/doc/metodos.pdf: No such file or directory
> building file list ... ERROR: buffer overflow in recv_rules [Receiver]
> rsync error: error allocating core memory buffers (code 22) at util.c(123) [Receiver=3.0.9]
> rsync: connection unexpectedly closed (157 bytes received so far) [sender]
> rsync error: error allocating core memory buffers (code 22) at io.c(605) [sender=3.0.9]
>
> I am attaching a -avvvv output at the end of the mail. I cannot
> figure out what the matter may be.
>
> Thank you in advance,
>
>
> Pedro Fortuny.
>
>
>
> --
> Pedro Fortuny Ayuso
> http://pfortuny.net
> EPIG, Campus de Viesques, Gijon
> Dpto. de Matematicas
> Universidad de Oviedo
> fortunypedro at uniovi.es
>
>
- --
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
Kevin Korb Phone: (407) 252-6853
Systems Administrator Internet:
FutureQuest, Inc. Kevin at FutureQuest.net (work)
Orlando, Florida kmk at sanitarium.net (personal)
Web page: http://www.sanitarium.net/
PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6qyHYACgkQVKC1jlbQAQfv9QCeM+FBBdY7wcevcWFNCxYSA+Wi
7rMAnA6ObEj9I/WfwHyt23UQMo8kAIoA
=/mhz
-----END PGP SIGNATURE-----
More information about the rsync
mailing list