Solved

high server load, 0 swap total

Posted on 2014-12-16
2
190 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 34

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
html input clean up 3 32
Wordpress update causing pages to crash 1 21
Instering to MySQL table 5 22
masking php string 4 11
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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 dynamically set the form action using jQuery.

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now