Reply to Re: CGI-BIN Forced Termination (Apache)

Your name:

Reply:


Posted by petersprc on 11/20/06 05:05

As far as I know, in the event of a disconnect, Apache will send a
SIGTERM to the child, and then, if needed, wait up to approximately 3
seconds and send a SIGKILL. Your CGI could handle the SIGTERM and do
any required cleanup. It could also leave behind a long-running process
using the "at now" command.

Some more info here:

http://mail-archives.apache.org/mod_mbox/www-apache-bugdb/200107.mbox/%3C20010723003312.54024.qmail@apache.org%3E

David T. Ashley wrote:
> I've noticed that some scripting languages (PHP, for example) have options
> to control whether the script can be terminated by the user clicking STOP on
> their browser (or similar mechanisms).
>
> How does this apply to CGI-BINs? Can Apache ever try to terminate a
> CGI-BIN, or does it just keep running and its output is discarded? Is there
> any signalling?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация