Find the answer to your Linux question:
Results 1 to 5 of 5
Total newbie question... I have a linux server with Godaddy (virtual), and it's constantly getting overtaxed, by what looks like a java process via the top command. I have no ...
  1. #1
    Just Joined!
    Join Date
    Nov 2011
    Posts
    2

    How Can I Tell What's Killing My Server - Top Command Question

    Total newbie question...

    I have a linux server with Godaddy (virtual), and it's constantly getting overtaxed, by what looks like a java process via the top command. I have no idea what is running this process.

    How can I figure out what this process is attached to and how would you recommend I solve it? I'm guessing if it's attached to an app, I can just uninstall the app.

    I've attached a screenshot of the top command and you'll see the offending java process at the top.

    Any help would be GREATLY appreciated! Thanks in advance!

    Heck, I'd even give someone SSH access to help me fix it.

    D.J.
    Attached Images Attached Images

  2. #2
    Linux Newbie
    Join Date
    Dec 2009
    Posts
    241
    If you run "ps -ef" you should be able to see the whole command line.

  3. #3
    Just Joined!
    Join Date
    Nov 2011
    Posts
    2
    I ran that - but now I'm not sure how to interpret the log. Any suggestions? I can't seem to figure out what's hogging the CPU. Thanks!

    I've attached a log.
    Attached Files Attached Files

  4. #4
    Linux Newbie
    Join Date
    Dec 2009
    Posts
    241
    Here's the line:
    Code:
    root      1565     1 99 09:01 ?        17:21:02 /usr/bin/java -Dpython.home=lib
    Let's write:
    Code:
    temp=$(ps -p 1565 -f)
    echo $temp
    Now you should see all the parameter java is started with.

    If you can't conclude what software it is useing it you can also look into "/etc/init.d/" just take a look what init script is starting java.
    It seems to start between your mysql and mailserver ...

  5. #5
    Linux Newbie
    Join Date
    Dec 2009
    Posts
    241
    Do you use any software that watches web-pages for changes??
    Or makes them offline available??

    Just curious cause of the wget -q zerocommish.com ... that's a tool to download web-sites.
    I took a look at the page and it's just one of million commercial pages ... no content at all.

Posting Permissions

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