httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe Jr." <wr...@rowe-clan.net>
Subject Re: [users@httpd] Clean shutdown on Windows
Date Mon, 25 Oct 2010 09:53:06 GMT
On 10/25/2010 4:21 AM, Gabriel Petrovay wrote:
> Hi,
> 
> I am using:
> Server version: Apache/2.2.16 (Win32)
> Server built:   Jul 30 2010 16:15:37
> and also:
> mod_fcgid (2.4.6)
> 
> I start Apache form console:
> httpd.exe -f my_httpd_conf_file.conf
> 
> fcgid starts as expectedly my_fcgi.exe (written in C++) which performs
> the logic of my requests. The problem is that at shutdown, some more
> steps have to be performed by and my_fcgi.exe. When I press Ctrl-C in
> the cmd where Apache was started, Apache gets it and simply kills my
> my_fcgi.exe that was started. my_fcgi.exe also catches CTRL-C but at a
> random time during it's shutdown logic, it's killed by Apache.
> 
> Is there a way to shutdown Apache properly in order to have a clean
> shutdown or an un-initialize of the underlying processes?
> Or, is there un-initialize handlers that modules like mod_fcgid have
> such that I can peoperly showdown my-fcgi.exe?
> 
> Apache has to wait somehow until the Apache modules (mod_fcgi in this
> case) are un-initialized. Probably I don't implement something in the
> un-initialize process. Any hint are very appreciated.

Interesting question; the users list is unlikely to be the right place to
raise it.  I'd take your question to the dev@ list where a small handful
of us watch mod_fcgid issues :)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message