1846866 Members
2928 Online
110256 Solutions
New Discussion

rsync error

 
mparasur
Advisor

rsync error

Hi,

We have a HP-UX 11.11 server. The issue is while running rsync I am getting the following error:

rsync error: error allocating core memory buffers (code 22) at util.c(120)

Kindly provide your suggestions to resolve this issue.

Thanks,
Mani
1 REPLY 1
Bill Hassell
Honored Contributor

Re: rsync error

Most likely your maxdsiz kernel parameter is too low (default = 64MiB or perhaps 256MiB). Use kmtune to see the current value:

kmtune -lq maxdsiz
Parameter: maxdsiz
Current: 0x7f000000
Planned: 0X7F000000
Default: 0x10000000
Minimum: -
Module: -
Version: -
Dynamic: No

In this example, 0x10000000 is 256MB, whereas 0x3ffffff is 64MiB (will be shown as 67MB -- see http://en.wikipedia.org/wiki/MiB ). This system has maxdsiz set to about 2GiB.

rsync (depending on the magnitude of the task) will likely need more than 64MiB of local memory but will not likely grow to more than 200MiB. If kmtune reports maxdsiz greater than 200MiB, then check ulimit in the environment where rsync runs. ulimit -a will show all the values, ulimit -d will show the maximum size for maxdsiz in KiB. Change ulimit to a larger value before running rsync.


Bill Hassell, sysadmin