DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 2 Weeks Ago
rdikarlus rdikarlus is offline
Real Name: Carlosn
Port Guard
 
Join Date: Nov 2018
Location: IBZ ISLAND
Posts: 43
Default 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.

Name:  image.png
Views: 61
Size:  40.1 KB

Name:  image2.png
Views: 63
Size:  12.2 KB

Thanks,

Last edited by rdikarlus; 1 Week Ago at 07:07 PM. Reason: better understanding
Reply With Quote
  #2   (View Single Post)  
Old 6 Days Ago
Sensucht94's Avatar
Sensucht94 Sensucht94 is offline
Real Name: Paolo Vincenzo Olivo
Package Pilot
 
Join Date: Oct 2017
Location: Rome
Posts: 140
Default

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
Also, use vmstat(1) and top to better report memory statistics on NetBSD, as htop is not a native utility and is known to return frankly altered ram usage.
__________________
“Mi casa tendrá dos piernas y mis sueños no tendrán fronteras„
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 05:22 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick