osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 61927] New: Excessive sendfile() calls


https://bz.apache.org/bugzilla/show_bug.cgi?id=61927

            Bug ID: 61927
           Summary: Excessive sendfile() calls
           Product: Apache httpd-2
           Version: 2.4.27
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: bugs@xxxxxxxxxxxxxxxx
          Reporter: alex.gacovski@xxxxxxxxx
  Target Milestone: ---

Created attachment 35628
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35628&action=edit
Truss output from apache process.

When apache attempts to send a file using the sendfile() syscall and the socket
buffer is full, apache does not wait for the socket buffer to be ready for
writing but will constantly call sendfile() causing high cpu usage.

OS: FreeBSD 11.1-RELEASE x64.
HTTPD: Apache 2.4.27 from precompiled freebsd fresh ports.
MPM: Prefork.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx