httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barry Scott <barry.sc...@onelan.co.uk>
Subject Re: [mod_fcgid proposal] defining processing options for particular commands
Date Fri, 02 Oct 2009 09:15:26 GMT
Jeff Trawick wrote:
> (instead of based on uri or vhost)
>
> FCGIDCommand /path/to/command
>   IdleTimeout n
>   MaxProcessLifetime n
>   MinProcesses n
>   MaxProcesses n
>   MaxRequestsPerProcess n
>   InitialEnv var[=val] ...
>   <class>
>
> (the names of these options follow my proposal for the names of 
> existing directives ;) )
>
> When a command is to be started by mod_fcgid, any options specified 
> for the command on this directive override those defined for the uri, 
> vhost, global, or the defaults.  When a wrapper is used, it is that 
> wrapper which must be specified on this directive.  This directive is 
> not required unless one or more options must be customized for a command.
>
> Initially this would be allowed only in global sections.
> InitialEnv can be repeated.
>
> Regarding *class*:  Something is needed to disable or alter existing 
> management of applications based on their class.  Currently a class is 
> limited to the processes started by the same command within the same 
> vhost (except when ServerName isn't specified) with the same identity.
>
> One possibility is to provide an option to ignore the vhost name when 
> managing the class (IgnoreVHost or ClassIsGlobal).  Another 
> possibility is to set the name of the class to be used in lieu of the 
> virtual host (ClassName foo), which could be used to the same effect 
> but might be more useful in the future when the process manager can 
> see per-server configs (for existing directives as well as FCGIDCommand).
>
> None of this would affect the identity checks.  (Processes with 
> different uid/gid would never be considered to be in the same class.)
>
This seems to offer all the features of mod_fastcgi process 
configuration and then go usefully beyond what mod_fastcgi does.

Is it possible to also ask for the fcgi process to be started before any 
request arrive?

Barry


Mime
View raw message