Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I upgraded my server to 768 MB of RAM from 512 a while back and it really helped performance. I recently checked the memory usage with 'free' and the swap file seems to be creeping up again. How much swap usage is too much?
The free display says that (minus buffers and cache) you have 442628k free memory, while you are using 103112k of swap. In other words, you could turn off swap and still have plenty of free memory. When this equation results in a less than zero value, you are using too much swap (you need more memory).
The usage of swap is generally a good thing - memory that is not used is moved out of RAM, making more available to the system/applications. Swap only becomes a problem if pages are moving in/out rapidly, which only occurs if there is too little RAM (a condition called thrashing). When thrashing, the system will slow to a crawl. If you're not experiencing that problem, your swap usage is OK.
At the moment, my server is not thrashing. Performance is fine. However, Nov 9 - 14th it experienced a HUGE surge in traffic. I'm wondering if there's any way in retrospect to determine if it was slow during the surge.
Well, if you are running any servers that limit their operation based on load level (like sendmail), your historical logs (/var/log/mail/maillog* in the case of sendmail) will show messages from the servers delineating the period(s). Aside from that, unless you are recording the data yourself, there's no historical information normally kept by the system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.