Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

high server load, 0 swap total

Posted on 2014-12-16
2
Medium Priority
?
243 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
2 Comments
 
LVL 36

Accepted Solution

by:
Seth Simmons earned 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

926 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