LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-24-2005, 03:10 PM   #1
nodger
Member
 
Registered: Oct 2003
Location: Ireland
Distribution: Slackware 9.1, Ubuntu
Posts: 192

Rep: Reputation: 30
Apache CGI question


Im trying to debug a script on my server and I have a hunch its going into an infinite loop. My question is this: does apache terminate a cgi script after a certain amount of time?
 
Old 12-24-2005, 03:52 PM   #2
nodger
Member
 
Registered: Oct 2003
Location: Ireland
Distribution: Slackware 9.1, Ubuntu
Posts: 192

Original Poster
Rep: Reputation: 30
Ok, that sounds a bit vague.

I'll elaborate: does apache terminate a child process (cgi script) if it has been running for a long time and/or the connection with the client has been closed?
 
Old 12-25-2005, 11:21 AM   #3
nodger
Member
 
Registered: Oct 2003
Location: Ireland
Distribution: Slackware 9.1, Ubuntu
Posts: 192

Original Poster
Rep: Reputation: 30
alright, ive found out a few more things: Apache will send a sigterm signal to the cgi script if the user disconnects.

Because Google is useless thesedays, I have to rely on forums like this to find out whats the problem. I need to know about sigterm. does it wait for the program to finish?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache CGI question stakhous Linux - Software 3 07-15-2005 09:51 PM
Apache CGI config question (index scripts) rjlee Linux - Networking 1 06-26-2005 06:07 AM
Apache Newbie cgi-bin question Jukas Linux - Newbie 2 04-28-2005 12:32 PM
Apache CGI Question clefler Linux - Software 2 11-04-2003 06:46 PM
CGI+Apache Question. Urgently! KittyWu Linux - Software 2 07-03-2003 11:29 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration