Date: Tue, 08 Jul 2014 11:11:14 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 191510] [zfs] ZFS doesn't use all available memory Message-ID: <bug-191510-3630-hZXIDTUK0u@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-191510-3630@https.bugs.freebsd.org/bugzilla/> References: <bug-191510-3630@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D191510 --- Comment #3 from vsjcfm@gmail.com --- (In reply to Steven Hartland from comment #2) > This looks like ZFS has backed off from max usage due to app usage on the > machine, which is expected behaviour. I don't think so because: 1. ARC memory usage never grows above 188 G. 2. I have no memory-hungry processes on this machine. root@cs0:~# ps axu USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMA= ND root 11 2292,8 0,0 0 384 ?? RL 14=D0=B8=D1=8E=D0=BD14 784228= :58,16 [idle] root 0 60,2 0,0 0 9904 ?? DLs 14=D0=B8=D1=8E=D0=BD14 7988= :47,05 [kernel] root 12 45,3 0,0 0 960 ?? WL 14=D0=B8=D1=8E=D0=BD14 10349= :33,20 [intr] root 4 10,6 0,0 0 176 ?? DL 14=D0=B8=D1=8E=D0=BD14 3197= :31,63 [zfskern] root 13 6,0 0,0 0 48 ?? DL 14=D0=B8=D1=8E=D0=BD14 1325= :45,03 [geom] jason 53722 4,7 0,0 52080 6124 ?? S 12:24 3:59,00 sshd: jason@notty (sshd) root 1256 3,7 0,0 12008 1588 ?? Ss 14=D0=B8=D1=8E=D0=BD14 14= :07,96 /usr/sbin/syslogd -ccss www 79586 3,3 0,0 25156 9184 ?? S 25=D0=B8=D1=8E=D0=BD14 148= :51,93 nginx: worker process (nginx) www 79575 2,5 0,0 25156 9792 ?? S 25=D0=B8=D1=8E=D0=BD14 156= :30,95 nginx: worker process (nginx) www 79571 2,4 0,0 25156 8764 ?? S 25=D0=B8=D1=8E=D0=BD14 154= :22,46 nginx: worker process (nginx) root 33499 2,3 0,0 0 16 ?? DLs 13:57 0:11,76 [aiod= 3] www 79588 2,3 0,0 25156 9076 ?? S 25=D0=B8=D1=8E=D0=BD14 154= :41,30 nginx: worker process (nginx) www 79591 2,2 0,0 25156 9564 ?? S 25=D0=B8=D1=8E=D0=BD14 164= :38,45 nginx: worker process (nginx) root 33496 1,8 0,0 0 16 ?? DLs 13:56 0:13,22 [aiod= 1] root 97809 1,8 0,0 0 16 ?? DLs 14:02 0:04,57 [aiod= 4] root 35718 1,7 0,0 75336 15312 ?? S =D1=87=D1=8216 131:47,= 49 /usr/local/sbin/snmpd -p /var/run/net_snmpd.pid -c /usr/local/etc/snmpd.con www 79576 1,6 0,0 25156 8796 ?? S 25=D0=B8=D1=8E=D0=BD14 154= :48,13 nginx: worker process (nginx) www 79590 1,6 0,0 25156 8788 ?? S 25=D0=B8=D1=8E=D0=BD14 152= :07,78 nginx: worker process (nginx) root 97812 1,4 0,0 0 16 ?? DLs 14:02 0:02,15 [aiod= 5] www 79580 1,3 0,0 25156 9048 ?? S 25=D0=B8=D1=8E=D0=BD14 160= :04,70 nginx: worker process (nginx) www 79582 1,3 0,0 25156 8544 ?? S 25=D0=B8=D1=8E=D0=BD14 157= :14,82 nginx: worker process (nginx) root 55608 1,2 0,0 0 16 ?? DLs 14:00 0:06,40 [aiod= 6] root 65838 1,1 0,0 0 16 ?? DLs 14:00 0:07,86 [aiod= 8] www 79579 1,1 0,0 25156 9692 ?? S 25=D0=B8=D1=8E=D0=BD14 156= :07,03 nginx: worker process (nginx) www 79589 1,1 0,0 25156 8532 ?? S 25=D0=B8=D1=8E=D0=BD14 146= :36,24 nginx: worker process (nginx) root 97883 1,1 0,0 0 16 ?? DLs 14:05 0:00,27 [aiod= 2] root 97815 1,0 0,0 0 16 ?? DLs 14:04 0:02,10 [aiod= 9] www 79573 0,9 0,0 25156 9652 ?? S 25=D0=B8=D1=8E=D0=BD14 162= :47,38 nginx: worker process (nginx) www 79570 0,7 0,0 25156 8792 ?? S 25=D0=B8=D1=8E=D0=BD14 156= :29,25 nginx: worker process (nginx) www 79577 0,5 0,0 25156 9352 ?? S 25=D0=B8=D1=8E=D0=BD14 148= :34,48 nginx: worker process (nginx) www 79585 0,5 0,0 25156 9052 ?? S 25=D0=B8=D1=8E=D0=BD14 155= :20,44 nginx: worker process (nginx) www 79569 0,4 0,0 25156 9788 ?? S 25=D0=B8=D1=8E=D0=BD14 153= :58,32 nginx: worker process (nginx) www 79592 0,4 0,0 25156 8788 ?? S 25=D0=B8=D1=8E=D0=BD14 152= :43,48 nginx: worker process (nginx) www 79572 0,3 0,0 25156 9588 ?? S 25=D0=B8=D1=8E=D0=BD14 158= :04,14 nginx: worker process (nginx) root 53765 0,3 0,0 20620 5148 0 S+ 12:25 0:32,40 top -= aSHz www 79583 0,2 0,0 25156 9316 ?? S 25=D0=B8=D1=8E=D0=BD14 154= :24,06 nginx: worker process (nginx) root 1 0,0 0,0 6280 560 ?? ILs 14=D0=B8=D1=8E=D0=BD14 0= :01,57 /sbin/init -- root 2 0,0 0,0 0 16 ?? DL 14=D0=B8=D1=8E=D0=BD14 0= :06,31 [mps_scan0] root 3 0,0 0,0 0 16 ?? DL 14=D0=B8=D1=8E=D0=BD14 0= :06,86 [mps_scan1] root 5 0,0 0,0 0 16 ?? DL 14=D0=B8=D1=8E=D0=BD14 0= :00,00 [xpt_thrd] root 6 0,0 0,0 0 16 ?? DL 14=D0=B8=D1=8E=D0=BD14 0= :00,00 [ipmi0: kcs] root 7 0,0 0,0 0 16 ?? DL 14=D0=B8=D1=8E=D0=BD14 0= :01,45 [pagedaemon] root 8 0,0 0,0 0 16 ?? DL 14=D0=B8=D1=8E=D0=BD14 0= :00,00 [vmdaemon] root 9 0,0 0,0 0 16 ?? DL 14=D0=B8=D1=8E=D0=BD14 0= :00,02 [pagezero] root 10 0,0 0,0 0 16 ?? DL 14=D0=B8=D1=8E=D0=BD14 0= :00,00 [audit] root 14 0,0 0,0 0 16 ?? DL 14=D0=B8=D1=8E=D0=BD14 40= :02,48 [yarrow] root 15 0,0 0,0 0 128 ?? DL 14=D0=B8=D1=8E=D0=BD14 1= :54,87 [usb] root 16 0,0 0,0 0 16 ?? DL 14=D0=B8=D1=8E=D0=BD14 0= :07,12 [bufdaemon] root 17 0,0 0,0 0 16 ?? DL 14=D0=B8=D1=8E=D0=BD14 133= :39,76 [syncer] root 18 0,0 0,0 0 16 ?? DL 14=D0=B8=D1=8E=D0=BD14 0= :07,71 [vnlru] root 19 0,0 0,0 0 16 ?? DL 14=D0=B8=D1=8E=D0=BD14 0= :00,04 [g_mirror swap0] root 20 0,0 0,0 0 16 ?? DL 14=D0=B8=D1=8E=D0=BD14 0= :00,04 [g_mirror swap1] root 987 0,0 0,0 14184 1612 ?? Is 14=D0=B8=D1=8E=D0=BD14 0= :00,00 /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid root 1027 0,0 0,0 10372 4456 ?? Is 14=D0=B8=D1=8E=D0=BD14 0= :00,65 /sbin/devd root 1267 0,0 0,0 14092 1932 ?? Ss 14=D0=B8=D1=8E=D0=BD14 0= :02,50 /usr/sbin/rpcbind -h 10.0.8.30 -l root 1298 0,0 0,0 12008 1852 ?? Is 14=D0=B8=D1=8E=D0=BD14 0= :00,00 /usr/sbin/mountd -h 10.0.8.30 -l -S /etc/exports /etc/zfs/exports root 1304 0,0 0,0 9868 1628 ?? Is 14=D0=B8=D1=8E=D0=BD14 0= :00,26 nfsd: master (nfsd) root 1305 0,0 0,0 9868 1780 ?? S 14=D0=B8=D1=8E=D0=BD14 37= :23,54 nfsd: server (nfsd) root 1308 0,0 0,0 274112 1744 ?? Is 14=D0=B8=D1=8E=D0=BD14 0= :01,57 /usr/sbin/rpc.statd -h 10.0.8.30 root 1311 0,0 0,0 14092 1744 ?? Ss 14=D0=B8=D1=8E=D0=BD14 0= :02,36 /usr/sbin/rpc.lockd -h 10.0.8.30 root 1385 0,0 0,0 22216 3508 ?? Ss 14=D0=B8=D1=8E=D0=BD14 1= :17,27 /usr/sbin/ntpd -g -c /etc/ntp.conf -p /var/run/ntpd.pid -f /var/db/ntpd.dri root 1388 0,0 0,0 12004 1528 ?? Ss 14=D0=B8=D1=8E=D0=BD14 38= :53,23 /usr/sbin/powerd root 1402 0,0 0,0 28144 5016 ?? I 14=D0=B8=D1=8E=D0=BD14 0= :12,78 /usr/local/sbin/smartd -c /usr/local/etc/smartd.conf -p /var/run/smartd.pid root 1448 0,0 0,0 28868 4168 ?? Is 14=D0=B8=D1=8E=D0=BD14 0= :02,46 /usr/sbin/sshd root 1451 0,0 0,0 20288 4592 ?? Ss 14=D0=B8=D1=8E=D0=BD14 0= :27,04 sendmail: accepting connections (sendmail) smmsp 1454 0,0 0,0 20288 4408 ?? Is 14=D0=B8=D1=8E=D0=BD14 0= :00,66 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail) root 1458 0,0 0,0 14096 1760 ?? Is 14=D0=B8=D1=8E=D0=BD14 0= :06,77 /usr/sbin/cron -s root 24965 0,0 0,0 52080 4772 ?? Is 12:05 0:00,02 sshd: jason [priv] (sshd) jason 24967 0,0 0,0 52080 5080 ?? S 12:05 0:01,40 sshd: jason@pts/0 (sshd) root 35701 0,0 0,0 19152 2292 ?? Is =D1=87=D1=8216 0:00,= 67 /usr/local/bin/rsync --daemon root 53717 0,0 0,0 52080 4836 ?? Is 12:24 0:00,05 sshd: jason [priv] (sshd) jason 53723 0,0 0,0 17388 3240 ?? Is 12:24 0:00,01 tcsh = -c dd of=3D/mnt/ztemp/jason/lvhdd.dd.gz bs=3D128k jason 53725 0,0 0,0 9872 1916 ?? S 12:24 0:16,87 dd of=3D/mnt/ztemp/jason/lvhdd.dd.gz bs=3D128k root 79568 0,0 0,0 21060 4352 ?? I 25=D0=B8=D1=8E=D0=BD14 0= :00,02 nginx: master process /usr/local/sbin/nginx www 79574 0,0 0,0 25156 9308 ?? S 25=D0=B8=D1=8E=D0=BD14 159= :31,99 nginx: worker process (nginx) www 79578 0,0 0,0 25156 9688 ?? S 25=D0=B8=D1=8E=D0=BD14 156= :39,05 nginx: worker process (nginx) www 79581 0,0 0,0 25156 9048 ?? S 25=D0=B8=D1=8E=D0=BD14 152= :05,38 nginx: worker process (nginx) www 79584 0,0 0,0 25156 8792 ?? S 25=D0=B8=D1=8E=D0=BD14 149= :30,11 nginx: worker process (nginx) www 79587 0,0 0,0 25156 8740 ?? S 25=D0=B8=D1=8E=D0=BD14 157= :19,82 nginx: worker process (nginx) root 97816 0,0 0,0 52080 4772 ?? Is 14:04 0:00,02 sshd: jason [priv] (sshd) jason 97818 0,0 0,0 52080 5080 ?? S 14:04 0:00,03 sshd: jason@pts/1 (sshd) root 1520 0,0 0,0 12008 1588 v1 Is+ 14=D0=B8=D1=8E=D0=BD14 0= :00,04 /usr/libexec/getty Pc ttyv1 root 1521 0,0 0,0 12008 1588 v2 Is+ 14=D0=B8=D1=8E=D0=BD14 0= :00,04 /usr/libexec/getty Pc ttyv2 root 1522 0,0 0,0 12008 1588 v3 Is+ 14=D0=B8=D1=8E=D0=BD14 0= :00,04 /usr/libexec/getty Pc ttyv3 jason 24968 0,0 0,0 17388 4148 0 Is 12:05 0:00,02 -tcsh (tcsh) root 24970 0,0 0,0 46560 3548 0 I 12:05 0:00,02 sudo = su - root 24971 0,0 0,0 43180 2220 0 I 12:06 0:00,00 su - root 24972 0,0 0,0 17388 3952 0 I 12:06 0:00,02 -su (tcsh) jason 97819 0,0 0,0 17388 4148 1 Is 14:04 0:00,02 -tcsh (tcsh) root 97821 0,0 0,0 46560 3548 1 I 14:04 0:00,01 sudo = su - root 97832 0,0 0,0 43180 2220 1 I 14:05 0:00,00 su - root 97833 0,0 0,0 17388 3952 1 S 14:05 0:00,03 -su (tcsh) root 97902 0,0 0,0 14144 2092 1 R+ 14:06 0:00,00 ps axu root@cs0:~# --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191510-3630-hZXIDTUK0u>