Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3984

Serf pegs CPU when waiting for server response

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: trunk
    • Fix Version/s: ---
    • Component/s: libsvn_ra_serf
    • Labels:
      None

      Description

      Last week the ASF svn servers were wonky, and they were accepting connections but then hanging.  As a 
      result, any Subversion commands were connecting to the server, and then waiting for a response.  While 
      that in and of itself is bad, it's not the fault of Subversion, per se.
      
      However, I did notice that my CPU usage during the wait was inordinately high.  It appeared that serf was in 
      some kind of busy loop which was simply churning CPU cycles, which is bad.  This was using a recent-ish 
      1.7.x build.
      
      While I don't expect users to routinely interact with bustified servers, this CPU usage hints to me that other 
      things may be lurking within serf which are consuming many more resources than needed.
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hwright Hyrum Wright
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: