Find the answer to your Linux question:
Results 1 to 7 of 7
High Server load with pligg 48.02 - 52.84 - 47.29 I don't know why but for some reason I have a crazy high server load today. I use pligg software ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    17

    High Server load with pligg 41.02 - 52.84 - 47.29


    High Server load with pligg 48.02 - 52.84 - 47.29

    I don't know why but for some reason I have a crazy high server load today. I use pligg software and when I run the top command I see it's clearly mysql that is causing the issue. I know it's the main site blogengage.com because when I remove the public_html for that site the server calms down to a normal status. I just can't find out what is causing the high server load.

    I have a dedicated server with godaddy, Intel Core 2 Duo - 2.13 GHz with 2gigs of ram.

    Right now I'm getting about 1500 unique hits a day with about 5 page views each.

    Is it possible it's time for an upgrade to a new server?

    Is it possible for a httpd request to cause 70% processor usage?

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,356
    Quote Originally Posted by bbrian017 View Post
    Is it possible for a httpd request to cause 70% processor usage?
    Yes, easily.

    Quote Originally Posted by bbrian017 View Post
    Is it possible it's time for an upgrade to a new server?
    Depends on an investigation.
    You need to look at the access and error log of this website and correlate that with the db load you see.
    Is it maybe a spider crawling the site, and/or a specific request to a heavy page?
    Are there slow sql queries or locks?
    etc

    Depending on your findings, appropiate procedures can be applied.
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Dec 2009
    Posts
    17
    Right now it's running fine.

    top - 05:35:28 up 53 min, 1 user, load average: 0.91, 1.33, 2.86
    Tasks: 132 total, 2 running, 130 sleeping, 0 stopped, 0 zombie
    Cpu(s): 30.4%us, 1.6%sy, 0.0%ni, 67.8%id, 0.2%wa, 0.0%hi, 0.0%si, 0.0%st
    Mem: 2073524k total, 811868k used, 1261656k free, 16496k buffers
    Swap: 2096472k total, 0k used, 2096472k free, 296704k cached

    Can you walk me thought looking into some of these issues? I'm willing to share the information that I find here.

  4. #4
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,356
    I can give pointers, not a step by step solution, as a forum is too indirect for an in-depth analysis.

    I would start with the webserver logs.
    Look at the point in time, where a high load occured.
    What and how many requests are there?
    What was the http status?
    Do they look ok or like an attack?
    Was it a spider?
    Are there corresponding apache/php/etc errors?


    Probably you might find, that a page is requested very often, therefore putting pressure on both webserver and database.
    Or there is a page, that issues heavy queries on the DB, therefore blocking the apache process until the DB answers.
    Or both.
    You must always face the curtain with a bow.

  5. #5
    Just Joined!
    Join Date
    Dec 2009
    Posts
    17
    Hi Irithori thank you for your time,

    I have contacted godaddy and they cannot see anything that is wrong from what the tech guy said. I know this is odd and I understand if you don't want but if you think you can help maybe we can meet on skype?

    Right now the server is fine because I did a server reboot three tiems today but it seems to come back.

    top - 07:58:06 up 19 min, 2 users, load average: 0.85, 0.96, 0.89
    Tasks: 144 total, 1 running, 143 sleeping, 0 stopped, 0 zombie
    Cpu(s): 35.4%us, 3.2%sy, 0.0%ni, 61.1%id, 0.0%wa, 0.2%hi, 0.2%si, 0.0%st
    Mem: 2073524k total, 979308k used, 1094216k free, 27668k buffers
    Swap: 2096472k total, 0k used, 2096472k free, 452784k cached

    If so I am bbrian017 on skype.

    Thanks again for the help.

  6. #6
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,356
    Sorry, but I dont want to contact you directly.

    No offence, but if you dont know how to read logfiles, then you could consider to search for someone who can give direct support. ie: on the console.
    That someone should be trusted to have root and work on your systems, so either someone you know and/or someone you pay.
    You must always face the curtain with a bow.

  7. #7
    Just Joined!
    Join Date
    Feb 2011
    Location
    Zagreb
    Posts
    10
    Hello, Can u post http configuration (
    only

    <IfModule prefork.c>

    and

    <IfModule worker.c>

    sections)

    Do U use some PHP compiler? - U have free RAM, U should use it for caching (mysql/php)

    U said that mysqld was causing that loas, did U optimized mysql server? - if not, try with mysqltuner - perl script which analyze your setup, and is suggesting U what parameters along with values U should use..

    BR

    Vizinger Dino

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •