Solved

high server load, 0 swap total

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

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…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

734 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