httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50444] New: Pre-close logging handles in cgid agent
Date Thu, 09 Dec 2010 17:49:21 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50444

           Summary: Pre-close logging handles in cgid agent
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_cgid
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: wrowe@apache.org


mod_cgid appears to be very inefficient; because it is spawned off working
strictly with CGI's, it would seem all access logs and all but the main server
error log file handles could all be pre-closed when cgid itself is forked.

As these handles are left open, given a significant number of vhosts, 2x the
number of vhost handles typically need to be closed in the process of forking 
each CGI process.  Passing the appropriate error logging file handle through 
the domain socket, and pre-closing the remaining log file handles would provide 
a significant performance improvement.

Some OS's and architectures react more negatively than others to the current
design of mod_cgid.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message