Solved

high server load, 0 swap total

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
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…
The viewer will learn how to count occurrences of each item in an array.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

815 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

8 Experts available now in Live!

Get 1:1 Help Now