Mmh, I put uname -a into the cron job and it says:

core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 2560
pipe size            (512 bytes, -p) 1
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 266
virtual memory          (kbytes, -v) unlimited

which is the same (exactly) as the output when run from
the shell (bash, by the way, in both environments).

Thanks, anyway.

Pedro.

On Fri, Oct 28, 2011 at 11:21:26AM -0400, Kevin Korb wrote:
> -----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' ~/ [email protected]:"~/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: <[email protected]>
> > 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
> > [email protected]
> > 
> > 
> 
> - -- 
> ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
>       Kevin Korb                      Phone:    (407) 252-6853
>       Systems Administrator           Internet:
>       FutureQuest, Inc.               [email protected]  (work)
>       Orlando, Florida                [email protected] (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-----
> -- 
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options: 
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

-- 
Pedro Fortuny Ayuso
http://pfortuny.net
EPIG, Campus de Viesques, Gijon
Dpto. de Matematicas
Universidad de Oviedo
[email protected]
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to