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-04-27, 23:03:22

Author Topic: To many Pids in phpcgi  (Read 4038 times)

0 Members and 1 Guest are viewing this topic.

Offline prgs1971

  • Valuable Member
  • *
  • Posts: 81
  • Karma: +0/-0
    • View Profile
    • http://premium-prestashop-hosting.com
To many Pids in phpcgi
« on: 2013-08-18, 17:18:56 »
It is normal to have more than 1 pid running for kloxo-phpcgi ?

Code: [Select]
[root@server etc]# service kloxo status
kloxo-phpcgi (pid 28658 28657 28656 28655 28645) is running...
kloxo-hiawatha (pid  28670) is running...
[root@server-prod etc]#

NOTE: This is a fresh installation and just have 1 domain set as default for the server, but without any site hosted yet.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: To many Pids in phpcgi
« Reply #1 on: 2013-08-18, 17:45:48 »
Yes, because by default kloxo-phpcgi children are 5.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline prgs1971

  • Valuable Member
  • *
  • Posts: 81
  • Karma: +0/-0
    • View Profile
    • http://premium-prestashop-hosting.com
Re: To many Pids in phpcgi
« Reply #2 on: 2013-08-18, 17:50:40 »
Many thanks for your quick reply :)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: To many Pids in phpcgi
« Reply #3 on: 2013-08-18, 17:54:03 »
You can set kloxo-phpcgi for only running 1 thread, but I am not recommmeded it. Set to '2' children are reasonable for private hosting.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline prgs1971

  • Valuable Member
  • *
  • Posts: 81
  • Karma: +0/-0
    • View Profile
    • http://premium-prestashop-hosting.com
Re: To many Pids in phpcgi
« Reply #4 on: 2013-08-18, 18:06:21 »
I will host E-commerce stores in this VPS and i ma trying to setup a very optimized VPS for performance and security.

After i have all working as i want with Apache i will switch to Apache + Nginx and compare the performance differences.

Finally i will give a try to use Nginx alone and the best performance setup will be used in production ;)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: To many Pids in phpcgi
« Reply #5 on: 2013-08-18, 18:20:12 »
If your business is share-hosting, nginx-proxy is reasonable choice. But, for private-hosting (only you access to panel), better nginx as webserver. Just need optimize your nginx and php-fpm like enable gzip and microcache and install php*-xcache.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline prgs1971

  • Valuable Member
  • *
  • Posts: 81
  • Karma: +0/-0
    • View Profile
    • http://premium-prestashop-hosting.com
Re: To many Pids in phpcgi
« Reply #6 on: 2013-08-18, 18:24:13 »
So Kloxo-MR with Nginx alone as webserver is not suitable for shared hosting? :(
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: To many Pids in phpcgi
« Reply #7 on: 2013-08-18, 18:40:05 »
Quote from: "prgs1971"
So Kloxo-MR with Nginx alone as webserver is not suitable for shared hosting? :(
Yes, because many people only enjoy with apache's rewrite rule (usually in .htaccess file).
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline prgs1971

  • Valuable Member
  • *
  • Posts: 81
  • Karma: +0/-0
    • View Profile
    • http://premium-prestashop-hosting.com
Re: To many Pids in phpcgi
« Reply #8 on: 2013-08-18, 18:48:55 »
Ok i know that rewrite rules is a drawback, but in ISPConfig + Nginx we can make specific Nginx setups for each client and we can had the rewrite rules of .htaccess after translate them to nginx language.

Kloxo-MR don't allow this?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.031 seconds with 19 queries.

web stats analysis