Welcome! Log In Create A New Profile

Advanced

Re: Nginx + PHP = VERY High CPU Usage

Maxime Ducharme
December 10, 2010 05:42PM
On Fri, 2010-12-10 at 14:05 -0500, hasson wrote:
> Hello All,

Hi hasson

>
> I was using APACHE and I decided to migrate to nginx.
> I researched and nginx is supposed to have a completely superior
> performance for webpages that have lot of simultaneous requests, such as
> real time pages sending AJAX requests every second.

nginx will have better performance mostly on static content

>
> My application is based on MYSQL + PHP + AJAX + JAVASCRIPT.
>
> After I installed the NGINX, I started testing it, and noticed that
> something is strange due the HIGH-CPU usage of PHP-CGI process.
>
> The curious is that with around 6-8 Tabs open on Firefox, I can reach
> around 80% of CPU usage. that is completely high, even with this test
> machine that have a cpu of only 1.8ghz. But talking about only 8 web
> pages open, reach this amount of CPU usage, I think that something is
> wrong.
>
> Anyone can please advise me?

try eaccelerator

--
Maxime Ducharme
Systems Architect






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

Nginx + PHP = VERY High CPU Usage

hasson December 10, 2010 02:05PM

Re: Nginx + PHP = VERY High CPU Usage

Roger Hoover December 10, 2010 02:16PM

Re: Nginx + PHP = VERY High CPU Usage

hasson December 10, 2010 02:35PM

Re: Nginx + PHP = VERY High CPU Usage

Roger Hoover December 10, 2010 02:46PM

Re: Nginx + PHP = VERY High CPU Usage

Dennis Jacobfeuerborn December 10, 2010 02:52PM

Re: Nginx + PHP = VERY High CPU Usage

Maxime Ducharme December 10, 2010 05:42PM

Re: Nginx + PHP = VERY High CPU Usage

hasson December 12, 2010 11:59AM

Re: Nginx + PHP = VERY High CPU Usage

Hone Watson December 16, 2010 06:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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