Welcome! Log In Create A New Profile

Advanced

Re: high "Load Average"

Yu Sun
March 19, 2010 11:14PM
Sessna wrote:
> I am using nginx + php-fpm (quad-core PC) + MySQL (on another PC) and
> facing an interesting issue:
> after some time nginx is running, system "load average" goes up
> (sometimes up to 30 and even more points) while CPU usage is still less
> then 30% With such a high load system becomes very slow and
> unresponsive. Restarting nginx helps, but only for a little while. Any
> ideas on the matter?
>
> Thanks,
> Sessna
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,63176,63176#msg-63176


php-fpm has a slow log feature. You can configure it in php-fpm.conf,
and check the php-fpm slow log later. In the slow log, php-fpm will tell
us where are the slow parts of php scripts.

If we see mysql_query(), then it means that sql is slow. We should check
the mysql slow log. May be we can use mysql slow analyse tool to figure
out the slow queries.

If we see file_get_contents(), then it means there is something wrong
with the file system, maybe you are reading files from net file systems
like NFS.


Hope this will help you.
--
Posted via http://www.ruby-forum.com/.

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

high "Load Average"

Sessna March 12, 2010 12:34PM

Re: high "Load Average"

Cliff Wells March 12, 2010 02:12PM

Re: high "Load Average"

Sessna March 13, 2010 02:29AM

Re: high "Load Average"

Cliff Wells March 13, 2010 11:48AM

Re: high "Load Average"

Sessna March 14, 2010 05:15AM

Re: high "Load Average"

Cliff Wells March 15, 2010 06:36PM

Re: high "Load Average"

Stefan Parvu March 13, 2010 12:10PM

Re: high "Load Average"

Sessna March 14, 2010 07:46AM

Re: high "Load Average"

Stefan Parvu March 14, 2010 12:48PM

Re: high "Load Average"

Sessna March 15, 2010 04:55AM

Re: high "Load Average"

Stefan Parvu March 15, 2010 08:10AM

Re: high "Load Average"

Sessna March 16, 2010 11:53AM

Re: high "Load Average"

Stefan Parvu March 16, 2010 12:40PM

Re: high "Load Average"

Sessna March 18, 2010 06:01AM

Re: high "Load Average"

Cliff Wells March 16, 2010 01:36PM

Re: high "Load Average"

Rob Mueller March 23, 2010 11:04PM

Re: high "Load Average"

Yu Sun March 19, 2010 11:14PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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