https://bugzilla.samba.org/show_bug.cgi?id=7749

           Summary: socket listen queue fills, rejects further connections
           Product: rsync
           Version: 2.6.9
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: way...@samba.org
        ReportedBy: rhals...@wikimedia.org
         QAContact: rsync...@samba.org


We have run into an issue where the rsync daemon socket listen queue (accept
queue) is filling before it is able to accept() the incoming connection
requests.  It appears that the rsync source code currently hard codes this
limit to 5.

On our deployment, we push our changes via dsh and sync to hundreds of servers
for Wikipedia in as fast a manner as possible.  This is causing the systems to
back up in the listen backlog and failing multiple servers as they eventually
time out, being ignored by the rsync server in question.  The socket.c source
shows this hard limit (presently set to 5).  We were able to fix the bottleneck
by raising the hard-coded value to 255.  We would propose that this be changed
to a configuration variable, which can default to the old value of 5.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
-- 
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