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-29, 04:36:39

Author Topic: Need Kloxo-MR Tester  (Read 225233 times)

0 Members and 2 Guests are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Need Kloxo-MR Tester
« Reply #300 on: 2013-02-12, 01:28:14 »
Quote from: "MRatWork"
Quote from: "Spacedust"
Something like this:

Code: [Select]
[root@xxx /]# /etc/init.d/php-fpm restart
Stopping :P  php-fpm:                                     [FAILED]
Wait 2 seconds...
Uruchamianie php-fpm: [11-Feb-2013 19:59:53] ERROR: unable to bind listening socket for address '127.0.0.1:52405': Address already in use (98)
[11-Feb-2013 19:59:53] ERROR: FPM initialization failed
                                                           [FAILED]
Need reboot, except you know how to kill apps which use 52405 port.

Got it !

Code: [Select]
pkill -o php-fpm
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Need Kloxo-MR Tester
« Reply #301 on: 2013-02-12, 01:28:38 »
Quote from: "Spacedust"
Quote from: "MRatWork"
Quote from: "Spacedust"
Something like this:

Code: [Select]
[root@xxx /]# /etc/init.d/php-fpm restart
Stopping :P  php-fpm:                                     [FAILED]
Wait 2 seconds...
Uruchamianie php-fpm: [11-Feb-2013 19:59:53] ERROR: unable to bind listening socket for address '127.0.0.1:52405': Address already in use (98)
[11-Feb-2013 19:59:53] ERROR: FPM initialization failed
                                                           [FAILED]
Need reboot, except you know how to kill apps which use 52405 port.

Got it !

Code: [Select]
pkill -o php-fpm

Finally I'm on 128MB memory limit and php-fpm pool is started so php-fpm is working fine new customers too - please add this immediately in Kloxo ;)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Need Kloxo-MR Tester
« Reply #302 on: 2013-02-12, 01:32:59 »
BTW - How far we are with httpd 2.4 integration ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Need Kloxo-MR Tester
« Reply #303 on: 2013-02-12, 02:39:28 »
nginx is missing in watchdog
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Need Kloxo-MR Tester
« Reply #304 on: 2013-02-12, 04:13:16 »
We can use /etc/init.d/php-fpm reload to load the new config with having to reboot ;)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Need Kloxo-MR Tester
« Reply #305 on: 2013-02-12, 04:24:21 »
Quote from: "Spacedust"
We can use /etc/init.d/php-fpm reload to load the new config with having to reboot ;)

Just tested and it works fine. No need to restart Apache or reboot.
« 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: Need Kloxo-MR Tester
« Reply #306 on: 2013-02-12, 14:14:01 »
Spacedust,

Memory limit just enough 64M as I set. This value more then default value of Php (32M). Yes, certain user need more and better his/her customize for their need.

Watchdog always listening port 80. Depend on webserver. If webserver is nginx-proxy, Kloxo-MR will restart nginx, httpd and php-fpm if watchdog think port 80 down/off.

Yes, this approach not perfect. Imagine, nginx running and httdp stop and then watchdog not try restart httpd because they think app on port 80 running well.

Detection will be more difficul if user change port 30080/30443 to another port (say it 8080).

I think better watchdog detect ready on next release (6.5.1).
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Need Kloxo-MR Tester
« Reply #307 on: 2013-02-12, 17:09:39 »
I've tuned some php-fpm settings and now pages are flying. Still some customers got:

Code: [Select]
[12-Feb-2013 12:10:39] WARNING: [pool gajrys] server reached pm.max_children setting (15), consider raising it

So I will try increasing to 20.

Load average is now reduced from 18-30 to 6-10 !!!
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: Need Kloxo-MR Tester
« Reply #308 on: 2013-02-12, 19:27:54 »
@Mustafar

Today i updated to version 6.5.0.c.2013021101 and after run script cleanup
Smtp problem fixed can now send receive mails from smtp client programs.. (ps: applyed also a mod inside /var/qmail/supervise/smtp/run *removed blacklist check cause all client dynamic ips were marked in some lists)

Also can we use nginx special version with cache or still have issues?

@spacedust
If you'd like can you share some php-fpm settings? Did u run varnish with apache with these settings or can it be used with nginx also .?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Need Kloxo-MR Tester
« Reply #309 on: 2013-02-12, 19:33:09 »
Quote from: "djscooby"
@spacedust
If you'd like can you share some php-fpm settings? Did u run varnish with apache with these settings or can it be used with nginx also .?

Simple:

Code: [Select]
pm.max_children = 20
pm.min_spare_servers = 2
pm.max_spare_servers = 4
request_terminate_timeout = 300s
request_slowlog_timeout = 300s
php_admin_value[memory_limit] = 128M
« 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: Need Kloxo-MR Tester
« Reply #310 on: 2013-02-12, 19:44:49 »
Nginx-special still have a problem. Will be fix after backup/restore issues.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Need Kloxo-MR Tester
« Reply #311 on: 2013-02-12, 19:45:44 »
Quote from: "MRatWork"
Nginx-special still have a problem. Will be fix after backup/restore issues.

Can't install the new version:

Code: [Select]
[root@localhost kloxo]# wget https://github.com/mustafaramadhan/kloxo/raw/dev/kloxo-install/kloxo-packer.sh --no-check-certificate
--2013-02-12 14:44:49--  https://github.com/mustafaramadhan/kloxo/raw/dev/kloxo-install/kloxo-packer.sh
Translacja github.com... 207.97.227.239
??czenie si? z github.com|207.97.227.239|:443... po??czono.
??danie HTTP wys?ano, oczekiwanie na odpowied?... 404 Not Found
2013-02-12 14:44:50 B??D 404: Not Found.

Don't use Varnish with nginxproxy unless you want to change everything inside RAM and have completely static content. Nginx can also work with memcached so there is no point to use it.
« 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: Need Kloxo-MR Tester
« Reply #312 on: 2013-02-12, 19:54:26 »
Read again viewtopic.php?f=4&t=644

Installing have change procedures. Just running kloxo-mr-dev.sh on your vps.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Need Kloxo-MR Tester
« Reply #313 on: 2013-02-13, 01:17:25 »
Mustafa one of my customers is reporting that he is not able to use a Wordpress plugin licence because of this:

_SERVER["SERVER_ADDR"]   127.0.0.1

Is there any possibility to change this ?
« 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: Need Kloxo-MR Tester
« Reply #314 on: 2013-02-13, 01:44:23 »
Quote from: "Spacedust"
Mustafa one of my customers is reporting that he is not able to use a Wordpress plugin licence because of this:

_SERVER["SERVER_ADDR"]   127.0.0.1

Is there any possibility to change this ?
If license process able communicate via other port (say it 30080 or other) it's possible to fix this issue.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.032 seconds with 19 queries.

web stats analysis