LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-13-2012, 04:58 PM   #1
particle64
LQ Newbie
 
Registered: Nov 2012
Posts: 1

Rep: Reputation: Disabled
Exclamation Performance issues with Nginx and php5-fpm


Hi everyone,

I am running a high traffic site with some friends and recently we switched from Apache to Nginx. We're having huge performance issues since then. When we hit about 300 visitors the site starts to load very slow. It can take about 10+ seconds for a page to load.

It only seems to be pages with PHP that loads slowly. We don't have the same issues on pages with pure HTML.

The php5-fpm.log is filled with error messages like this:
[13-Nov-2012 20:33:53] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 0 idle, and 68 total children
[13-Nov-2012 20:33:54] WARNING: [pool www] server reached pm.max_children setting (70), consider raising it

We've tried to increase those values a lot, but that didn't do the trick.

Here's how our Nginx conf-file looks like for the moment:
http://pastie.org/private/z34p8ptvbvx0ss0yaxoa

Here's how our php5-fpm pool conf looks like:
http://pastie.org/private/egidjh4v7is492zoqr1g1w

Any help with this would really be appreciated!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support On CentOS 6.3 LXer Syndicated Linux News 0 07-17-2012 08:42 PM
LXer: Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support On Fedora 17 LXer Syndicated Linux News 0 06-20-2012 03:50 AM
LXer: Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support On Fedora 16 LXer Syndicated Linux News 0 02-19-2012 11:01 AM
LXer: Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support On OpenSUSE 12.1 LXer Syndicated Linux News 0 01-05-2012 05:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration