On 2024-10-15, Zé Loff <zel...@zeloff.org> wrote: > On Tue, Oct 15, 2024 at 10:14:42AM +0200, Christian Schulte wrote: >> ulimit -d `ulimit -aH | grep data | awk '{print $2}'` >> ulimit -n `ulimit -aH | grep nofiles | awk '{print $2}'`
ulimit -d `ulimit -dH` etc... but then there's no point setting a separate hard limit in login.conf. >> data(kbytes) 134217728 > > That's 128 GB. ... > I have no idea what stating "you can use 128GB of memory on this 8GB RAM > + 4GB swap machine" does to the system's memory management, but I > wouldn't be surprised if weird things happen. IIRC some things do use ulimit -d as a hint to how much memory they can allocate. >> Still. this does not explain why the system is swapping, although half >> of the physical RAM is not even wired. just read /sys/uvm ;) (btw if you're not on -current, you may want uvm_pdaemon.c r1.116 if you are low on memory). -- Please keep replies on the mailing list.