1、 Problem description
When using Rsync file transfer, the same two servers transfer the same file. One succeeds and the other reports the following error. It is obvious that there is insufficient memory
[root@sss085080 ~]# rsync -atvu /alauda/new/* /alauda/data/
sending incremental file list
ERROR: out of memory in flist_expand [sender]
rsync error: error allocating core memory buffers (code 22) at util2.c(106) [sender=3.1.2]
ERROR: out of memory in flist_expand [receiver]
rsync error: error allocating core memory buffers (code 22) at util2.c(106) [receiver=3.1.2]
2、 Process analysis
Successful server
Failed server
3、 Solution
It can be seen from the above server parameters that the successful server has enabled swap. If the memory is insufficient, swap will be used. However, if the failed server is not enabled, exceptions will be thrown directly when the memory is insufficient. Therefore, in this case, the two solutions are available
1. Turn on swap
2. Expand the memory of the machine
Read More:
- Rsync: failed to exec SSH: no such error in remote Rsync
- C++ Error: allocating an object of abstract class type
- Kvm internal error: process exited :cannot set up guest memory ‘pc.ram‘:Cannot allocate memory
- The difference, cause and solution of memory overflow and memory leak
- os::commit_memory(0x0000000538000000, 11408506880, 0) failed; error=‘Cannot allocate memory‘
- Hbase Native memory allocation (mmap) failed to map xxx bytes for committing reserved memory
- Rsync client synchronization error
- Fatal error: Newspace:: rebalance allocation failed – process out of memory (memory overflow)
- [error summary] Rsync remote synchronization: error password file must not be other accessible
- Solution: Rsync error: some files could not be transferred (code 23) at main. C (702)
- WebHost failed to process a request.Memory gates checking failed because the free memory (140656640 …
- Mysql cannot allocate memory for the buffer pool solution
- Swap off failed: cannot allocate memory
- Error: 701 use DAC connection when out of memory
- [Solved] Android compile error: cannot allocate memory
- [PostgreSQL tutorial] · out of memory issue
- Server composer install error: proc_open(): fork failed-Cannot allocate memory
- Remember a virtual machine expansion swapoff failed: cannot allocate memory
- 【error】Segmentation fault (core dumped)
- Oracle 11g installation prompt ora-27102: out of memory