https://bugs.dragonflybsd.org/
https://bugs.dragonflybsd.org/favicon.ico?1629395208
2015-05-21T17:41:24Z
DragonFlyBSD bugtracker
DragonFlyBSD - Bug #2819: Random micro system freezes after a week of uptime
https://bugs.dragonflybsd.org/issues/2819?journal_id=12645
2015-05-21T17:41:24Z
ftigeot
<ul></ul><p>vmstat -m output when the machine suffers from micro-freezes:</p>
<p>Memory statistics by type Type Kern<br /> Type InUse MemUse HighUse Limit Requests Limit Limit<br /> HAMMER-inodes43004623762905K 0K 134203388K 35443885 0 0<br /> HAMMER-others 233194 40792K 0K 6498816K 525146675 0 0<br /> tmpfs name zone 0 0K 0K 6498816K 5197 0 0<br /> tmpfs dirent 56 5K 0K 6498816K 56 0 0<br /> tmpfs node 64 18K 0K 6498816K 64 0 0<br /> HAMMER-inodes 1014 888K 0K 134203388K 176625 0 0<br /> HAMMER-others 1799 357K 0K 6498816K 2181892 0 0<br /> pci_link 16 2K 0K 6498816K 16 0 0<br /> acpitask 0 0K 0K 6498816K 6 0 0<br /> acpica 42238 1467K 0K 6498816K 245264 0 0<br /> acpidev 245 10K 0K 6498816K 245 0 0<br /> acpisem 59 3K 0K 6498816K 59 0 0<br /> eventhandler 35 2K 0K 6498816K 35 0 0<br /> disk 6 1K 0K 6498816K 6 0 0<br /> atkbddev 2 1K 0K 6498816K 2 0 0<br /> bus 1512 191K 0K 6498816K 31013 0 0<br /> callout 12 49152K 0K 6498816K 12 0 0<br /> nexusdev 7 1K 0K 6498816K 7 0 0<br /> sysctl 0 0K 0K 6498816K 1043131 0 0<br /> sysctloid 7003 229K 0K 6498816K 7155 0 0<br /> tslpque 11 704K 0K 6498816K 11 0 0<br /> syscons 41 167K 0K 6498816K 41 0 0<br /> aesni_data 1 1K 0K 6498816K 1 0 0<br /> dsched 8366 792K 0K 6498816K 8366 0 0<br /> lwkt message 22 21K 0K 6498816K 5574 0 0<br /> thread 233 321K 0K 6498816K 235 0 0<br /> scsi_da 0 0K 0K 6498816K 9 0 0<br /> memdesc 1 4K 0K 6498816K 1 0 0<br /> MPipe Array 2 3K 0K 6498816K 2 0 0<br /> cache 133175 13201K 0K 6498816K 133267 0 0<br /> devbuf 2044 2583K 0K 6498816K 2060 0 0<br /> temp 501 129K 0K 6498816K 958039631 0 0<br /> ip6ndp 12 1K 0K 6498816K 15 0 0<br /> CAM queue 32 8K 0K 6498816K 1549 0 0<br /> xform 0 0K 0K 6498816K 18666 0 0<br /> crypto 1 1K 0K 6498816K 1 0 0<br /> propstng 1383 55K 0K 6498816K 1383 0 0<br /> prop string 1375 11K 0K 6498816K 1457 0 0<br /> propnmbr 1636 90K 0K 6498816K 1636 0 0<br /> pdict16 20 2K 0K 6498816K 20 0 0<br /> propdict 681 128K 0K 6498816K 681 0 0<br /> prop dictionary 677 170K 0K 6498816K 715 0 0<br /> kbdmux 6 8K 0K 6498816K 6 0 0<br /> isadev 20 2K 0K 6498816K 20 0 0<br /> ZONE 1 4K 0K 6498816K 1 0 0<br /> uidinfo 4 65K 0K 6498816K 183908 0 0<br /> cred 14 2K 0K 6498816K 977404 0 0<br /> pgrp 26 4K 0K 6498816K 194639 0 0<br /> session 23 2K 0K 6498816K 194593 0 0<br /> vmspace 144 126K 0K 6498816K 154 0 0<br /> proc 41 71K 0K 6498816K 1175580 0 0<br /> lwp 42 27K 0K 6498816K 981838 0 0<br /> subproc 84 122K 0K 6498816K 983962 0 0<br /> tmpfs mount 1 1K 0K 6498816K 1 0 0<br /> HAMMER-mount 2 136K 0K 6498816K 2 0 0<br /> objcache 64 43K 0K 6498816K 64 0 0<br /> devfs 3710 592K 0K 6498816K 4185 0 0<br /> objcache magazine 11459 11149K 0K 6498816K 11459 0 0<br /> UFS dirhash 21 16K 0K 6498816K 21 0 0<br /> UFS mount 3 5K 0K 6498816K 3 0 0<br /> UFS ihash 1 16384K 0K 6498816K 1 0 0<br /> FFS node 1184 370K 0K 134203388K 1193 0 0<br /> pagedep 1 8192K 0K 6498816K 1 0 0<br /> inodedep 1 65536K 0K 6498816K 1 0 0<br /> newblk 1 1K 0K 6498816K 1 0 0<br /> p1003.1b 1 1K 0K 6498816K 1 0 0<br /> lockf 7 1K 0K 6498816K 3856 0 0<br /> atexit 2 1K 0K 6498816K 2 0 0<br /> proc-args 34 2K 0K 6498816K 641794 0 0<br /> exec-args 20 5200K 0K 6498816K 20 0 0<br /> kqueue 40 5K 0K 6498816K 39853084 0 0<br /> kenv 37 6K 0K 6498816K 37 0 0<br /> file desc 41 62K 0K 6498816K 985898 0 0<br /> file 99 13K 0K 6498816K 83268868 0 0<br /> sigio 1 1K 0K 6498816K 1 0 0<br /> NFS daemon 5 18K 0K 6498816K 5 0 0<br /> NFSV3 srvdesc 0 0K 0K 6498816K 53078720 0 0<br /> NFS hash 1 65536K 0K 6498816K 1 0 0<br /> NFS srvsock 2 2K 0K 6498816K 39 0 0<br /> ip6_moptions 1 1K 0K 6498816K 1 0 0<br /> syncache 8 96K 0K 6498816K 2652 0 0<br /> tcptemp 25 2K 0K 6498816K 25 0 0<br /> sblk 2 1K 0K 6498816K 34712 0 0<br /> tseg_qent 0 0K 0K 6498816K 664 0 0<br /> ipq 250 12K 0K 6498816K 250 0 0<br /> kld 127 8K 0K 6498816K 134 0 0<br /> in_multi 25 2K 0K 6498816K 25 0 0<br /> igmp 1 1K 0K 6498816K 1 0 0<br /> module 338 32K 0K 6498816K 338 0 0<br /> routetbl 927 143K 0K 6498816K 10772 0 0<br /> varsym 258 10K 0K 6498816K 272 0 0<br /> faith 1 1K 0K 6498816K 1 0 0<br /> CAM SIM 8 2K 0K 6498816K 8 0 0<br /> CAM periph 13 2K 0K 6498816K 231 0 0<br /> ISOFS mount 1 65536K 0K 6498816K 1 0 0<br /> vn_softc 4 11K 0K 6498816K 4 0 0<br /> clone 6 24K 0K 6498816K 6 0 0<br /> ifaddr 109 87K 0K 6498816K 109 0 0<br /> ether_multi 87 5K 0K 6498816K 87 0 0<br /> ifnet 1 1K 0K 6498816K 8 0 0<br /> BPF 8 1K 0K 6498816K 8 0 0<br /> MSDOSFS mount 1 65536K 0K 6498816K 1 0 0<br /> NULLFS mount 6 4K 0K 6498816K 6 0 0<br /> vnodes43027071747975K 0K 134203388K 35629122 0 0<br /> Export Host 1 1K 0K 6498816K 1 0 0<br /> vnodeops 22 13K 0K 6498816K 22 0 0<br /> nameibufs 44 44K 0K 6498816K 44 0 0<br /> mount 13 13K 0K 6498816K 16 0 0<br /> cluster_save 0 0K 0K 6498816K 194908 0 0<br /> vfscache413619643672964K 0K 6498816K1424298426 0 0<br /> BIO buffer 2 3K 0K 6498816K 23 0 0<br /> unpcb 14 3K 0K 6498816K 13786 0 0<br /> CAM dev queue 8 1K 0K 6498816K 8 0 0<br /> socket 37 26K 0K 6498816K 203194 0 0<br /> soname 5 1K 0K 6498816K 216667 0 0<br /> pcb 148 163K 0K 6498816K 272388 0 0<br /> tag 0 0K 0K 6498816K 67129 0 0<br /> mbuf 105755 52878K 0K 6498816K 318727634 0 0<br /> mbufcl 44054 129120K 0K 6498816K 44054 0 0<br /> mclmeta 44054 689K 0K 6498816K 44054 0 0<br /> ptys 257 129K 0K 6498816K 259 0 0<br /> ttys 879 113K 0K 6498816K 3257 0 0<br /> shm 1 40K 0K 6498816K 1 0 0<br /> CAM XPT 353 216K 0K 6498816K 1551 0 0<br /> sem 1 144K 0K 6498816K 1 0 0<br /> msg 4 27K 0K 6498816K 4 0 0<br /> MD disk 2 2K 0K 6498816K 2 0 0<br /> Unitno 1 1K 0K 6498816K 1 0 0<br /> rman 168 18K 0K 6498816K 534 0 0<br /> pipe 446 104K 0K 6498816K 1072362 0 0<br /> ioctlops 0 0K 0K 6498816K 195930 0 0<br /> taskqueue 28 2K 0K 6498816K 28 0 0<br /> sbuf 0 0K 0K 6498816K 24 0 0<br /> SWAP 2 131077K 0K 6498816K 2 0 0<br /> kobj 234 527K 0K 6498816K 234 0 0</p>
<p>Memory Totals: In Use Free Requests<br /> 9915877K 0K 3486074011</p>
DragonFlyBSD - Bug #2819: Random micro system freezes after a week of uptime
https://bugs.dragonflybsd.org/issues/2819?journal_id=12646
2015-05-21T17:45:12Z
ftigeot
<ul></ul><p>The bug reporting tool sadly doesn't preserve whitespace.<br />The following lines are interesting and way out of line compared to other values:</p>
<pre><code>Type InUse MemUse HighUse Limit Requests Limit Limit</code></pre>
<p>HAMMER-inodes 43004623762905K 0K 134203388K 35443885 0 0</p>
<p>vnodes 43027071747975K 0K 134203388K 35629122 0 0</p>
<p>vfscache 413619643672964K 0K 6498816K 1424298426 0 0</p>
DragonFlyBSD - Bug #2819: Random micro system freezes after a week of uptime
https://bugs.dragonflybsd.org/issues/2819?journal_id=12647
2015-05-21T17:47:53Z
ftigeot
<ul></ul><p>The /data filesystem contains about 5 million files.<br />95% of them are hard links or subdirectories in the rsnapshot directory.</p>
DragonFlyBSD - Bug #2819: Random micro system freezes after a week of uptime
https://bugs.dragonflybsd.org/issues/2819?journal_id=12648
2015-05-21T17:55:42Z
ftigeot
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li></ul><p>The same system with the kern.maxvnodes sysctl set to 300,000 after a fresh reboot doesn't suffer from the micro-freezes after 15 days of uptime.</p>
DragonFlyBSD - Bug #2819: Random micro system freezes after a week of uptime
https://bugs.dragonflybsd.org/issues/2819?journal_id=12649
2015-05-21T17:56:00Z
ftigeot
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>50</i></li></ul>
DragonFlyBSD - Bug #2819: Random micro system freezes after a week of uptime
https://bugs.dragonflybsd.org/issues/2819?journal_id=12650
2015-05-21T19:33:19Z
ftigeot
<ul></ul><p>Another data point: when the problems happened, atime was enabled on /data</p>
<p>The trouble-free >2 weeks uptime is with noatime=on on /data</p>
DragonFlyBSD - Bug #2819: Random micro system freezes after a week of uptime
https://bugs.dragonflybsd.org/issues/2819?journal_id=12702
2015-08-17T03:46:16Z
dillon
<ul><li><strong>Category</strong> set to <i>Kernel</i></li><li><strong>Assignee</strong> set to <i>dillon</i></li></ul><p>test redmine</p>