Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    azz
    azz is offline
    Member
    Join Date
    Jun 2003
    Posts
    18

    Default Recursive look-ups question. (High loads/bfd)

    My server loads are shooting through the roof, and I think it is because of hundreds of these:

    Nov 26 17:29:32 myserver named[7409]: lame server resolving '35.186.182.76.in-addr.arpa' (in '182.76.in-addr.arpa'?): $
    Nov 26 17:29:32 myserver named[7409]: lame server resolving '8.24.133.193.in-addr.arpa' (in '24.133.193.in-addr.arpa'?$
    Nov 26 17:29:32 myserver named[7409]: lame server resolving '35.186.182.76.in-addr.arpa' (in '182.76.in-addr.arpa'?): $
    Nov 26 17:29:32 myserver named[7409]: lame server resolving '4.5.91.170.in-addr.arpa' (in '5.91.170.in-addr.arpa'?): 1$
    Nov 26 17:29:32 myserver named[7409]: lame server resolving '35.186.182.76.in-addr.arpa' (in '182.76.in-addr.arpa'?): $
    Nov 26 17:29:32 myserver named[7409]: lame server resolving '4.5.91.170.in-addr.arpa' (in '5.91.170.in-addr.arpa'?): 1$
    Nov 26 17:29:32 myserver named[7409]: lame server resolving '4.5.91.170.in-addr.arpa' (in '5.91.170.in-addr.arpa'?): 1$
    Nov 26 17:29:32 myserver named[7409]: lame server resolving '8.24.133.193.in-addr.arpa' (in '24.133.193.in-addr.arpa'?$
    Nov 26 17:29:32 myserver named[7409]: lame server resolving '4.5.91.170.in-addr.arpa' (in '5.91.170.in-addr.arpa'?): 1$
    Nov 26 17:29:33 myserver named[7409]: lame server resolving '4.5.91.170.in-addr.arpa' (in '5.91.170.in-addr.arpa'?): 1$
    Nov 26 17:29:33 myserver named[7409]: lame server resolving '8.24.133.193.in-addr.arpa' (in '24.133.193.in-addr.arpa'?$
    Nov 26 17:29:33 myserver named[7409]: lame server resolving '4.5.91.170.in-addr.arpa' (in '5.91.170.in-addr.arpa'?): 1$
    Nov 26 17:29:33 myserver named[7409]: lame server resolving '4.5.91.170.in-addr.arpa' (in '5.91.170.in-addr.arpa'?): 1$
    Nov 26 17:29:33 myserver named[7409]: lame server resolving '4.5.91.170.in-addr.arpa' (in '5.91.170.in-addr.arpa'?): 1$
    Nov 26 17:29:33 myserver named[7409]: lame server resolving '8.24.133.193.in-addr.arpa' (in '24.133.193.in-addr.arpa'?$
    Nov 26 17:29:33 myserver named[7409]: lame server resolving '8.24.133.193.in-addr.arpa' (in '24.133.193.in-addr.arpa'?$
    Nov
    I have done lots of searches here and my named.conf already has:


    acl "trusted" {
    my.ip;
    my.ip2;
    my.ip3;
    my.ip4;
    127.0.0.1;
    };


    options {
    directory "/var/named";
    version "not currently available";
    allow-recursion { trusted; };
    allow-notify { trusted; };
    allow-transfer { trusted; };
    dump-file "/var/named/data/cache_dump.db";
    statistics-file "/var/named/data/named_stats.txt";
    /*
    * If there is a firewall between you and nameservers you want
    * to talk to, you might need to uncomment the query-source
    * directive below. Previous versions of BIND always asked
    * questions using port 53, but BIND 8.1 uses an unprivileged
    * port by default.
    */
    // query-source address * port 53;
    };

    What I have noticed now twice, is the server loads go up and up an up, and then BFD kicks in and then they start to go down... could it be some kind of dos attack or similar? The loads hit around 40/50.

    Additionally my sites report an error once a day or so, saying they have lost connection to mysql, or mysql server has gone away. Could these all be connected? I have recompiled apache with the latest php and mysql, and updated cpanel software etc, but this is still happening... :-(

    Any help greatly appreciated.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by azz View Post
    My server loads are shooting through the roof, and I think it is because of hundreds of these:
    It is very difficult to say, if your server is under attack! and if yes, what kind of attack. To understanding attack techniques, go to: http://www.servertune.com/kbase/security/attacks.html
    You also need to make sure that you don't have a "runaway script" which can continuously loop, dragging down your server's resources. Type this command at the prompt to see the processes running when load is high:
    ps auxfww |more
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  3. #3
    azz
    azz is offline
    Member
    Join Date
    Jun 2003
    Posts
    18

    Default

    Hi Andy, thanks for the link.

    While it tells you about the different kind of attacks, it doesn't really say anything on how you can identify them...?

    Does BFD keep a log? Do you know the command I need to access it? Maybe it will have some clues?

    Regarding the recursive look-ups, as the settings in my named.conf essentially has disabled them, why do they still show in my log file? (as quoted in my post above). I'm just wondering, could the logging itself be causing the loads to go up? And why are there so many requests in the same 'second'? Is that normal?

    Thanks for your help.
    Last edited by azz; 11-27-2006 at 10:50 AM.

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by azz View Post
    Does BFD keep a log? Do you know the command I need to access it? Maybe it will have some clues?
    BFD log file can be found at: /var/log/bfd_log

    I'm just wondering, could the logging itself be causing the loads to go up?
    It's perfectly normal to have 'spikes' in your Server Load. Peak visitor times, log processing, database backup scripts, automated cron jobs - all can cause 'spikes' in your server load. It's when the server load is constantly above 5.00 - that's the time to start digging for clues. Having said that and within the context of the information you provided, it is really hard to say what is the real cause of server high load without looking into the server. Hope this helps!
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  5. #5
    azz
    azz is offline
    Member
    Join Date
    Jun 2003
    Posts
    18

    Default

    Hi Andy - thanks for your help.

    If I get to the bottom of it (or need further help!) I'll post an update :-)

    The server loads rarely hit 1 - it's just been the odd time they've been shooting up to the 50's and both times I've seen it happen, I've seen BFD show up in top stats and immediately the loads start to go down - which is what makes me think it's some form of attack..

Similar Threads & Tags
Similar threads

  1. High Loads/High IOWAIT - any ideas?
    By Brook in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 07-20-2007, 08:37 AM
  2. BFD High Load
    By BettyLu in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-13-2007, 08:07 AM
  3. cpanellogd causes High Loads
    By Higgins in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 10-29-2003, 10:01 PM
  4. high loads
    By s3kk3y in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-30-2003, 11:08 PM
  5. High loads
    By x222943 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-10-2003, 06:00 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube