Welcome! Log In Create A New Profile

Advanced

Re: question about nginx, slowloris and fastcgi

Maxim Dounin
July 01, 2009 08:30AM
Hello!

On Wed, Jul 01, 2009 at 01:59:31PM +0200, Michiel van Es wrote:

> Hi,
>
> i am new to Nginx and I am testing the latest stable Nginx as webserver
> with slowloris.
> When I test slowloris on my php enabled website I see Nginx running to
> 100% and get the following error:
>
> 500 Internal Server Error
>
> I don't think Nginx crashes (although the 100% cpu concerns me) but I
> think fastcgi/php is crashing.

What's in error_log?

Symptoms suggest that you've run out of file descriptors in your
OS. At start nginx tries to warn you about the problem if
worker_connections are more than open file resource limit, but
even this isn't enough (since every connection usually allocates at
leas 2 file descriptors, and system-wide limit for all processes
isn't taken into account).

Maxim Dounin

>
> Are other people using Nginx and fastcgi/php are also experiencing this
> behaviour and is there a fix to ensure that my website is still running
> when slowloris is checking?
>
> Kind regards,
>
> Michiel
>
>
Subject Author Posted

question about nginx, slowloris and fastcgi

Michiel van Es July 01, 2009 07:59AM

Re: question about nginx, slowloris and fastcgi

Artifex Maximus July 01, 2009 08:30AM

Re: question about nginx, slowloris and fastcgi

Maxim Dounin July 01, 2009 08:30AM

Re: question about nginx, slowloris and fastcgi

Michiel van Es July 01, 2009 09:19AM

Re: question about nginx, slowloris and fastcgi

Maxim Dounin July 01, 2009 09:44AM

Re: question about nginx, slowloris and fastcgi

Michiel van Es July 01, 2009 04:22PM

Re: question about nginx, slowloris and fastcgi

Maxim Dounin July 01, 2009 06:59PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 173
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