Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've got a problem with my debian server. It has 4GB of ram and 1GB swap. Swap is around 95% full and ram still has 80% left. I'm running lighttpd (max 40 users at the same time) and some gameservers (VALVe games) on it. Any ideas?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Have you run top on your server to check what is using the swap space? A more in-depth alternative is htop.

share|improve this answer
    
Top helped us much finding the bad guy. It was hlstats. A statistics plugin we don't use anymore. After killing the process, we won a huge amount of swap again. Thanks for the tip. –  sascha Nov 8 '11 at 11:56

Does the system feel slow?

Maybe Linux sees that some of your servers are not in use and swaps them out to have more space for the running servers.

If you want more of your data in the ram, then you can try to change the value of Swapiness: http://en.wikipedia.org/wiki/Swappiness

share|improve this answer
    
Well, all servers are well visited and no, it doesn't feel slow, but we have lost packets, when Swap is (soon to be) full. –  sascha Nov 7 '11 at 14:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.