Clean shutdown on Windows

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

 



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.

Thanks!

-- 
MSc Gabriel Petrovay
Mobile: +41(0)787978034
www.28msec.com

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux