[FASTCGI] Terminated

double ninive at gmx.at
Fri Mar 13 11:48:49 EDT 2009


Hello,

After receiving the SIGTERM from mod_fastcgi, the errorlog shows:

[Fri Mar 13 13:30:46 2009] [error] [client 1.1.1.1] FastCGI: incomplete
       headers (0 bytes) received from server "/home/cgi-bin/index.cgi"

My questions, after a SIGTERM my application tries to exit as soon
as possible (as written in the documentation).

In a debian bug report it was written, the application should finish
gracefully:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=349891

Should the application - after receiving a SIGTERM - finish the current
request?

Thanks a lot
Marcus


double schrieb:
> Hello,
>
> During uploading big files, mod-fastcgi sends me a SIGTERM.
>
> In the apache main error log I will find these lines:
>
> [Fri Mar 13 13:17:30 2009] [warn] FastCGI: (dynamic) server
>    "/home/cgi-bin/index.cgi" restarted (pid 26173)
> [Fri Mar 13 13:22:25 2009] [warn] FastCGI: (dynamic) server
>    "/home/cgi-bin/index.cgi" (pid 26173) termination signaled
> [Fri Mar 13 13:30:46 2009] [warn] FastCGI: (dynamic) server
>    "/home/cgi-bin/index.cgi" (pid 26173) terminated by calling
>    exit with status '0'
>
> The backtrace says tells me, the applications stays in the
> function "FCGX_GetStr". Why sends "mod-fastcgi" a SIGKILL,
> during parsing "stdin"?
>
> Thank you very much
> Marcus
>
>
> _______________________________________________
> FastCGI-developers mailing list
> FastCGI-developers at mailman.fastcgi.com
> http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers
>



More information about the FastCGI-developers mailing list