Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-29, 00:34:50

Author Topic: Do I have to use php-fpm?  (Read 7230 times)

0 Members and 1 Guest are viewing this topic.

Offline AuroraZero

  • Junior Member
  • *
  • Posts: 17
  • Karma: +0/-0
  • Gender: Male
  • Slacker
    • View Profile
Do I have to use php-fpm?
« on: 2013-01-04, 08:45:31 »
Do I have to use php-fpm with nginx? Can In use fast-cgi? If I can how can I go about switching it?

The reason I ask is because I have two WP sites that when running Apache and fast-cgi use 91Mb but when running nginx and php-fpm use 251mb. It was my thought nginx was supposed to be faster and use less ram but this does not appear to be the case. Yes I have optimized both nginx and php-fpm unless I am missing something big time here. It is php 5.3u.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Tsanten

  • Global Moderator
  • Junior Member
  • *****
  • Posts: 49
  • Karma: +0/-0
    • View Profile
Re: Do I have to use php-fpm?
« Reply #1 on: 2013-01-04, 17:20:12 »
Do a Siege run on both to see performance diference between ( used on few sites and never go up over 90 mb with a run of loadimpact.com)
Look at free ram ( free -m)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline AuroraZero

  • Junior Member
  • *
  • Posts: 17
  • Karma: +0/-0
  • Gender: Male
  • Slacker
    • View Profile
Re: Do I have to use php-fpm?
« Reply #2 on: 2013-01-05, 00:05:35 »
That is how I check ram always free- m.

As for the load I see a performance increase but the cost of the ram is not worth it. The VPS would crash in seconds if I left it run like this. I have changed it back and until I can figure this out I won't be doing that again. I have a test server I will use for this kind of thing and it can crash all it wants.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Tsanten

  • Global Moderator
  • Junior Member
  • *****
  • Posts: 49
  • Karma: +0/-0
    • View Profile
Re: Do I have to use php-fpm?
« Reply #3 on: 2013-01-05, 00:54:50 »
Run this stuff to have a clue on wats going on with memory  http://mysqlmymon.com/
Specifically this little one https://github.com/pixelb/scripts/blob/ ... /ps_mem.py
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.078 seconds with 21 queries.

web stats analysis