Maxim Dounin
February 03, 2015 09:00AM
Hello!

On Mon, Feb 02, 2015 at 10:38:24PM -0500, xinghua_hi wrote:

> hello,
>
> I use error_page = /500.html to show myself 500 page, and for some
> reason, I need ssi include in 500.html, for example:
>
> 500.html
>
> <!--# include virtual="/fastcgi/global" -->
> <!--# include virtual="/fastcgi/cap" -->
> <!--# include virtual="/fastcgi/header" -->
>
> if fastcgi upstream return 500 response code, it will cause
> subrequest cycle, a set number of error logs such as "subrequests cycle
> while processing "xxx" while sending response to client".
>
> but if I add "wait" parameter in ssi
>
> 500.html
>
> <!--# include virtual="/fastcgi/global" wait="yes" -->
> <!--# include virtual="/fastcgi/cap" -->
> <!--# include virtual="/fastcgi/header" -->
>
> I find endless error log such as "subrequest cycle" in error_log,
> and cpu go up to 100%
>
> I wonder why wait parameter cause so strange case, thanks

With the "wait" parameter you'll eventually reach the limit as
well, but it will take longer as there will be no other
subrequests executed in parallel.

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

subrequest cycle cause cpu 100%

xinghua_hi February 02, 2015 10:38PM

Re: subrequest cycle cause cpu 100%

Maxim Dounin February 03, 2015 09:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 300
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready