Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

hangs on load

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


kristaps at kristaps

Sep 30, 2009, 2:05 AM

Post #1 of 5 (386 views)
Permalink
hangs on load

Hello !

I have replaced nginx with Cherokee for site with medium load.
content are served with via FastCGI, with php-fpm / unix socket.
When site are receiving medium load (like ~20 requests per sec),
cherokee stops to respond for some momt. Monitoring page output:
http://imgur.com/aIXVW.png.
Server config is attached. Confidential parts are changed to protect the
guilty :)

--
Kristaps Kulis,

I wish I had more energy ... or less ambition
Attachments: cherokee.conf (15.9 KB)


stefan at konink

Sep 30, 2009, 3:47 AM

Post #2 of 5 (363 views)
Permalink
Re: hangs on load [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

source!1!env!PHP_FCGI_CHILDREN = 5

Increase that one to lets say 30.


Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREKAAYFAkrDN00ACgkQYH1+F2Rqwn0bnQCdGOON0MVCDEuV70o4lQS/HUD3
nsgAoIlBkLhbFdOO4pIw8NJAIMwOSrdK
=MKRK
-----END PGP SIGNATURE-----
_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee


alvaro at octality

Sep 30, 2009, 4:28 AM

Post #3 of 5 (371 views)
Permalink
Re: hangs on load [In reply to]

On Wed, Sep 30, 2009 at 5:47 PM, Stefan de Konink <stefan [at] konink> wrote:

source!1!env!PHP_FCGI_CHILDREN = 5
> Increase that one to lets say 30.
>

That will help, indeed. Additionally, configuring PHP to use a TCP port
instead of a Unix socket will most likely solve any of the problems that you
may have suffered.

--
Greetings, alo
http://www.alobbs.com/


oli at thepcspy

Sep 30, 2009, 4:31 AM

Post #4 of 5 (363 views)
Permalink
Re: hangs on load [In reply to]

Wouldn't that also multiply the PHP ram usage by 6?

On Wed, Sep 30, 2009 at 11:47 AM, Stefan de Konink <stefan [at] konink> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> source!1!env!PHP_FCGI_CHILDREN = 5
>
> Increase that one to lets say 30.
>
>
> Stefan
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEAREKAAYFAkrDN00ACgkQYH1+F2Rqwn0bnQCdGOON0MVCDEuV70o4lQS/HUD3
> nsgAoIlBkLhbFdOO4pIw8NJAIMwOSrdK
> =MKRK
> -----END PGP SIGNATURE-----
> _______________________________________________
> Cherokee mailing list
> Cherokee [at] lists
> http://lists.octality.com/listinfo/cherokee
>


stefan at konink

Sep 30, 2009, 4:44 AM

Post #5 of 5 (364 views)
Permalink
Re: hangs on load [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Oli Warner schreef:
> Wouldn't that also multiply the PHP ram usage by 6?

Shared memory my friend :)


Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREKAAYFAkrDRK4ACgkQYH1+F2Rqwn2TPQCeJ8D3TkCnvMkgH+nuaCpry4VZ
PuIAn0ge3c87vI10Z7WFNFatsZYLns2F
=JTS6
-----END PGP SIGNATURE-----
_______________________________________________
Cherokee mailing list
Cherokee [at] lists
http://lists.octality.com/listinfo/cherokee

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.