|
NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
huge use of memory
Hi all,
any idea why my NetBSD 9.2 server uses most of the memory ? it's like this all the time. The server is only used for backups and as a CIFS server. I paste some screenshots. Thanks, Last edited by rdikarlus; 21st November 2021 at 07:07 PM. Reason: better understanding |
|
||||
NetBSD's UVM will by default use up to 50% of available memory for file I/O cache (as your screenshot shows) and release it no sooner should it be required by any process. This is not surprising per se for a file server. Is ram actually failing at being reclaimed? Is the system being slowed down or freezing?
You could try to change some of the default vm.* sysctl values in /etc/sysctl.conf, e.g. increase the memory to always be made available for anon pages, like: Code:
# the minimum percentage of memory always (made) available for anonymous # pages. The default is 10. # vm.anonmin=40 # the maximum percentage of memory that will be reclaimed from other uses for # file data cache. The default is 50. # vm.filemax=25
__________________
“Mi casa tendrá dos piernas y mis sueños no tendrán fronteras„ |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
/var/log/failedlogin and lastlog are huge (~6 GB) | k1elt | OpenBSD General | 10 | 1st November 2020 10:00 PM |
DigiNotar hacker says he stole huge GlobalSign cache | J65nko | News | 1 | 8th September 2011 03:51 AM |
phpMyAdmin 3.4.0 is a "huge step" | J65nko | News | 0 | 12th May 2011 07:19 PM |
Linus Torvalds calls Linux 'bloated and huge' | vermaden | News | 5 | 31st March 2010 10:33 PM |
Huge FTP transfer file fragmentation problem under Windows | eakinasila | Other OS | 2 | 13th December 2009 02:50 PM |