rsync processes hang and client failing on "max connections"

tim.conway at philips.com tim.conway at philips.com
Thu Apr 11 11:36:02 EST 2002


With the exception of SIGKILL (usually number 9), and SIGSEGV(usually 
number 11), kills are just signals.  Most programs respond to 
SIGTERM(usually number 15, and the default signal from the kill program) 
by putting their toys away and going to bed, so to speak.  They are free, 
however, to ignore the signal (or to be hung and just not notice it).  Try 
a "kill -KILL" on the processes, and i suspect that they will go away.

That doesn't address the root problem, though.  I've seen ancient hung 
processes, but don't know how to prevent them.

Tim Conway
tim.conway at philips.com
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn, 
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), 
".\n" '
"There are some who call me.... Tim?"




"Diburim" <diburim at active.co.il>
Sent by: rsync-admin at lists.samba.org
04/11/2002 03:01 AM

 
        To:     <rsync at samba.org>
        cc:     (bcc: Tim Conway/LMT/SC/PHILIPS)
        Subject:        rsync processes hang and client failing on "max connections"
        Classification: 



rsync processes hang and client failing on "max connections",
I can't kill rsync process.

The temporary work around are:
increase max connections in /etc/rsyncd.conf
or
reboot the server !

The client get this error:
@ERROR: max connections (6) reached - try again later

$ ps -aux | grep rsync
admin    30408  0.0  0.0  1696  232 ?        S    Mar26   0:00 [rsync]
admin    28121  0.0  0.0  1688   40 ?        S    Mar26   0:00 [rsync]
admin    29137  0.0  0.0  1724   40 ?        S    Mar26   0:00 [rsync]
admin    30430  0.0  0.0  1724   40 ?        S    Mar26   0:00 [rsync]
admin    11476  0.0  0.0  1688   40 ?        S    Mar27   0:01 [rsync]
root      4529  0.0  0.6  2412 1704 ?        S    Apr10   0:03
rsyncd --daemon
admin    16211  0.0  0.2  1368  520 pts/0    S    02:48   0:00 grep rsync

Some rsync process never exit they are up for ~20 days.
I can't kill them, nothing happen when I try to:
kill 4529
kill 30408
etc...

rsync is started from inetd
rsync  version on the server 2.5.2 clients are 2.5.2 and 2.5.4

Please advise

Dib Urim


-- 
To unsubscribe or change options: 
http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html







More information about the rsync mailing list