You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/12/09 18:49:21 UTC

DO NOT REPLY [Bug 50444] New: Pre-close logging handles in cgid agent

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