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-28, 01:00:27

Author Topic: Load Warnings on Slave  (Read 6881 times)

0 Members and 1 Guest are viewing this topic.

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Load Warnings on Slave
« on: 2016-01-24, 02:56:44 »
I have asked a similar question before, but now there appears to be a new twist. I first was seeing about 6 processes running for logrotate each taking up about 1gig in memory. It appears it was being caused by maldet which I removed. Now I am getting bombarded with load warning and have over 50 instances of sisinfoc.php running and over 50 instances of httpd running. Nothing is hosted on this server and it only acts as a MySQL server. I have attached images. Please help. Thanks!!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Load Warnings on Slave
« Reply #1 on: 2016-01-24, 04:22:01 »
Look like using ruid2 or itk or suphp instead other with _event/_worker postfix for 'php type'. Use 'php-fpm_event' and then select 'medium' for 'apache optimize'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: Load Warnings on Slave
« Reply #2 on: 2016-01-24, 06:46:47 »
I have the server set to "none" for Web server. Nothing is hosted tbere. Only Mysql.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Load Warnings on Slave
« Reply #3 on: 2016-01-24, 06:49:04 »
Run 'chkconfig httpd off; service httpd stop' in slave.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: Load Warnings on Slave
« Reply #4 on: 2016-01-25, 15:23:01 »
Thanks. That made the httpd processes go away, but now logrotate is back hogging resources and I get emails every minute or so saying 'Action: sh /script/restart-web --force >/dev/null 2>&1'

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Load Warnings on Slave
« Reply #5 on: 2016-01-25, 16:12:08 »
Uncheck 'status' for web in 'watchdog' for slave server.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: Load Warnings on Slave
« Reply #6 on: 2016-01-26, 03:50:27 »
Ok, Thank you and I apologize, but I have the DNS restart notice now. I want to keep DNS on this slave, but it's not letting me switch to another DNS. It just sits for a long time then gives me an internal server 500 error. Is there a way to do it from the command line?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Load Warnings on Slave
« Reply #7 on: 2016-01-26, 05:04:52 »
What's dns server in slave?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: Load Warnings on Slave
« Reply #8 on: 2016-01-26, 17:23:27 »
It's currently stuck on BIND but it was PDNS.

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: Load Warnings on Slave
« Reply #9 on: 2016-01-26, 20:01:13 »
Any thoughts?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Load Warnings on Slave
« Reply #10 on: 2016-01-26, 20:17:24 »
Try in slave:
Code: [Select]
yum remove bind bind-utils -y
pkill -9 named
yum install pdns pdns-backend-mysql pdns-tools pdns-geo -y
sh /script/restart-dns -y
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: Load Warnings on Slave
« Reply #11 on: 2016-01-26, 21:25:25 »
Thanks, I got this.
Code: [Select]
[root@slave1 ~]# yum remove bind bind-utils -y
Loaded plugins: fastestmirror, protectbase, replace
Setting up Remove Process
No Match for argument: bind
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://download.webmin.com/download/yum/mirrorlist error was
[Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
Error: Cannot find a valid baseurl for repo: Webmin

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Load Warnings on Slave
« Reply #12 on: 2016-01-26, 21:30:05 »
Try next an hour. It's because something wrong with webmin repo (maybe update in progress).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bigdigillc

  • Senior Member
  • *
  • Posts: 156
  • Karma: +1/-0
    • View Profile
Re: Load Warnings on Slave
« Reply #13 on: 2016-02-05, 22:10:04 »
Still getting this on slave server. What do I do? It's eating all my systems memory.

Code: [Select]
12000 ? 1195.52 root /usr/sbin/logrotate /etc/logrotate.conf
7684 ? 1096.57 root /usr/sbin/logrotate /etc/logrotate.conf
5290 ? 1047.29 root /usr/sbin/logrotate /etc/logrotate.conf
11569 ? 998.42 root /usr/sbin/logrotate /etc/logrotate.conf
4371 ? 951.45 root /usr/sbin/logrotate /etc/logrotate.conf
17687 ? 907.16 root /usr/sbin/logrotate /etc/logrotate.conf
9141 ? 884.48 root /usr/sbin/logrotate /etc/logrotate.conf
1584 ? 857.71 root /usr/sbin/logrotate /etc/logrotate.conf
20823 ? 829.37 root /usr/sbin/logrotate /etc/logrotate.conf
30620 ? 779.94 root /usr/sbin/logrotate /etc/logrotate.conf

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Load Warnings on Slave
« Reply #14 on: 2016-02-06, 01:20:36 »
Look like logrotate running via cron. Look like something trouble in logrotate. Try reboot your slave.

To disable logrotate, remove/delete '/etc/cron.daily/logrotate'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.031 seconds with 18 queries.

web stats analysis