Solved

high server load, 0 swap total

Posted on 2014-12-16
2
211 Views
Last Modified: 2014-12-19
I've been seeing high server loads on my wordpress site all day today, on a four core, 8gb ram, server, up to the 40's sometimes. No serious traffic to cause this.

Running 'top', I get this:

http://www.tiikoni.com/tis/view/?id=dc4e932 

For swap, I get:

Swap:        0k total,        0k used,        0k free,  3246260k cached

That 0k total... that shouldn't be 0, should it?

I was a victim of the 'soaksoak.ru' problem that quite a few wordpress sites experienced yesterday. I found it early and replaced the effected files. They have remained clean. I've run a number of scanners and no additional malware/viruses have been found on the site.

No unusual broadband spikes on my graphs, but there have been several high spikes on the 'disk' graph.

Any thoughts on the swap thing, what might be going on, and what I might do about it?

Thanks,

Chris

PS: load headed up again, here's what it looks like now:

http://www.tiikoni.com/tis/view/?id=c7ad120 

oh... just found out that servers with solid state drives don't have swap. So that's not related... any other ideas.
0
Comment
Question by:St_Aug_Beach_Bum
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 35

Accepted Solution

by:
Seth Simmons earned 500 total points
ID: 40504076
swap has nothing to do with the kind of media it's on (hdd or sdd)
granted, being on an ssd would perform faster, it doesn't dictate the requirement
with only 8gb, would recommend having something there; even 4gb is sufficient

if you don't have any disk space available for a small partition, you can create a file and use that

Linux Add a Swap File – Howto
http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/

as far as the high load goes, you should check those running scripts
either there is a problem with the script or someone is trying to do something malicious with the site causing that cpu activity for those cgi processes.  i would also look at your web server (apache?) logs and look at the activity
0
 

Author Comment

by:St_Aug_Beach_Bum
ID: 40510249
Hi Seth,

Thank you, you are correct, an issue with a script. Ended up being a firewall plugin being the problem, once I disabled it everything returned to normal. Using a different firewall now.

Thank you for your help with this and sorry it took me a bit to get back to you and reward points!

Chris
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question