Re: error in IPC Code (code 14) at main.c(669) [receiver=2.6.9cvs]
Hi, I got the issue solved after doing some analysis.. I am not closing a file handle in one case and the same process is invoking rsync command.. In the long run the process is running out of file descriptors and causing the failure.. Suresh Kumar wrote: Hi, I am using rsync 2.6.9 and recently I got a error with the setup. I searched in the forums but I couldn't find much clues on this. Once I restarted the rsync daemon and rerunning the job didn't gave any errors further. I also tried to reproduce the issue for much details. But I couldn't do that even after hours. The rsync log says opening tcp connection to 172.21.3.148 port 874 opening connection using --server --sender -vvulgtprxz --timeout=38400 --safe-links . job_27825 receiving file list ... 23 files to consider rsync: pipe failed in do_recv: Too many open files (24) rsync error: error in IPC code (code 14) at main.c(669) [receiver=2.6.9cvs] If anybody has already faced similar kind error let me know what was the issue and how this has been suppressed. Regards, Suresh -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- View this message in context: http://www.nabble.com/error-in-IPC-Code-%28code-14%29-at-main.c%28669%29--receiver%3D2.6.9cvs--tf4421785.html#a12811047 Sent from the Samba - rsync mailing list archive at Nabble.com. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: error in IPC Code (code 14) at main.c(669) [receiver=2.6.9cvs]
On 9/13/07, Suresh Kumar [EMAIL PROTECTED] wrote: Can anybody tell me the good way of find out the which process is opened too many files and this is causing rsync fails to open new fd?? The error message tells you: it's the client/receiver process. Currently i want to see /proc/pid/fd directory and check which process is using lot fds in use.. To give yourself time to check the client's /proc/pid/fd , you may need to modify its source code and put in a kill(getpid(), SIGSTOP) just before it exits with the error. Alternatively, you could check the shell's /proc/pid/fd for what fds rsync is inheriting and then strace rsync to find out what additional fds it is opening. Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: error in IPC Code (code 14) at main.c(669) [receiver=2.6.9cvs]
Hi, I am replicating the oracle database files from one system to another. This error is not always present. I tried to find out what is going on on the system that is causing too many open files.. But didn't get success. Can anybody tell me the good way of find out the which process is opened too many files and this is causing rsync fails to open new fd?? Currently i want to see /proc/pid/fd directory and check which process is using lot fds in use.. Regards, Suresh Wayne Davison-2 wrote: On Tue, Sep 11, 2007 at 03:41:48AM -0700, Suresh Kumar Pedamallu wrote: rsync: pipe failed in do_recv: Too many open files (24) This is the error that caused the failure. Your system had too many open files on it for some reason, causing the pipe() system call to fail. ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- View this message in context: http://www.nabble.com/error-in-IPC-Code-%28code-14%29-at-main.c%28669%29--receiver%3D2.6.9cvs--tf4421785.html#a12648691 Sent from the Samba - rsync mailing list archive at Nabble.com. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
error in IPC Code (code 14) at main.c(669) [receiver=2.6.9cvs]
Hi, I am using rsync 2.6.9 and recently I got a error with the setup. I searched in the forums but I couldn't find much clues on this. Once I restarted the rsync daemon and rerunning the job didn't gave any errors further. I also tried to reproduce the issue for much details. But I couldn't do that even after hours. The rsync log says opening tcp connection to 172.21.3.148 port 874 opening connection using --server --sender -vvulgtprxz --timeout=38400 --safe-links . job_27825 receiving file list ... 23 files to consider rsync: pipe failed in do_recv: Too many open files (24) rsync error: error in IPC code (code 14) at main.c(669) [receiver=2.6.9cvs] If anybody has already faced similar kind error let me know what was the issue and how this has been suppressed. Regards, Suresh -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: error in IPC Code (code 14) at main.c(669) [receiver=2.6.9cvs]
On Tue, Sep 11, 2007 at 03:41:48AM -0700, Suresh Kumar Pedamallu wrote: rsync: pipe failed in do_recv: Too many open files (24) This is the error that caused the failure. Your system had too many open files on it for some reason, causing the pipe() system call to fail. ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html