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-28, 19:38:32

Author Topic: Pointless rpm -qa php53X on every web server config  (Read 5912 times)

0 Members and 2 Guests are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
This slows Kloxo-MR as hell ;(

Can you remove it example from updating php settings for all domains.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Pointless rpm -qa php53X on every web server config
« Reply #1 on: 2017-01-03, 15:37:51 »
Did you mean 'sh /script/fixphp'?.
..:: 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: Pointless rpm -qa php53X on every web server config
« Reply #2 on: 2017-01-03, 18:13:45 »
Did you mean 'sh /script/fixphp'?.

And fixweb as well. It's takes a lot of time to execute these commands on 8-core Atom processor.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Pointless rpm -qa php53X on every web server config
« Reply #3 on: 2017-01-03, 18:51:34 »
How long and how much domains/subdomain?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Pointless rpm -qa php53X on every web server config
« Reply #4 on: 2017-01-03, 19:11:27 »
I tested fixweb and investigated all log inside '/usr/local/lxlabs/kloxo/log'. But, I didn't found 'rpm -qa' strings.

So, attach here log file where content of 'rpm -qa'.
..:: 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: Pointless rpm -qa php53X on every web server config
« Reply #5 on: 2017-01-03, 20:33:44 »
I tested fixweb and investigated all log inside '/usr/local/lxlabs/kloxo/log'. But, I didn't found 'rpm -qa' strings.

So, attach here log file where content of 'rpm -qa'.

See this - it even asks for rpm for qmail-toaster !

« Last Edit: 2017-01-03, 20:37:38 by Spacedust »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Pointless rpm -qa php53X on every web server config
« Reply #6 on: 2017-01-04, 04:57:06 »
I didn't found 'rpm -qa' for detecting fixweb using htop.
..:: 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: Pointless rpm -qa php53X on every web server config
« Reply #7 on: 2017-01-04, 12:22:38 »
I didn't found 'rpm -qa' for detecting fixweb using htop.

Try on my server. Just run /script/fixweb, then run

ps aux | grep rpm

you will see:

rpm -qa qmail-toaster
rpm -qa php
rpm -qa php-cli
rpm -qa php53u
rpm -qa php53u-cli
rpm -qa php54
rpm -qa php54-cli
rpm -qa php55u
rpm -qa php55u-cli
rpm -qa php55w
rpm -qa php55w-cli
rpm -qa php56u
rpm -qa php56u-cli
rpm -qa php56w
rpm -qa php56w-cli
rpm -qa php70u
rpm -qa php70w
rpm -qa php70w-cli
rpm -qa php70w-php

etc. it takes ages to complete :(

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Pointless rpm -qa php53X on every web server config
« Reply #8 on: 2017-01-04, 14:48:48 »
Try 'rm -f /usr/local/lxlabs/kloxo/etc/list/*; yum reinstall kloxomr7 -y; sh /script/fix-service-list'.
..:: 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: Pointless rpm -qa php53X on every web server config
« Reply #9 on: 2017-01-04, 23:00:14 »
Try 'rm -f /usr/local/lxlabs/kloxo/etc/list/*; yum reinstall kloxomr7 -y; sh /script/fix-service-list'.

Does not help - still rpm is running before commands. So it's a bug in the script.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Pointless rpm -qa php53X on every web server config
« Reply #10 on: 2017-01-05, 03:41:40 »
How long to process fixweb in your server. In my test, fixweb for 250 domains only need 1 minutes in OpenVZ VPS with 1 core.
..:: 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: Pointless rpm -qa php53X on every web server config
« Reply #11 on: 2017-01-05, 14:15:47 »
How long to process fixweb in your server. In my test, fixweb for 250 domains only need 1 minutes in OpenVZ VPS with 1 core.

Mine almost the same for just about 20 domains. That rpm at the beginning is slowing as hell. Maybe you CPU is faster and you just don't see it ? I've never seen this on a Xeon CPU.

Try running /script/fixweb on 8-core Atom.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.028 seconds with 18 queries.

web stats analysis