Skip to content

Instantly share code, notes, and snippets.

@tahmmee
Created May 19, 2015 00:57
Show Gist options
  • Save tahmmee/f0a7e6066a146fcc9a54 to your computer and use it in GitHub Desktop.
Save tahmmee/f0a7e6066a146fcc9a54 to your computer and use it in GitHub Desktop.
e2e killed on mac
Tommies-MacBook-Pro:e2e tmcafee$ ./e2etest
Killed: 9
Tommies-MacBook-Pro:e2e tmcafee$ sudo dmesg
memorystatus_thread: idle exiting pid 57715 [systemstatsd]
memorystatus_thread: idle exiting pid 57722 [pbs]
low swap: killing pid 57120 (e2etest)
memorystatus_thread: idle exiting pid 57724 [pkd]
Tommies-MacBook-Pro:e2e tmcafee$ top
PID COMMAND %CPU TIME #TH #WQ #PORT MEM PURG CMPRS PGRP PPID STATE
57120 e2etest 97.0 10:13.38 2/1 0 36 3459M- 0B 54G+ 57120 29007 running
...
Processes: 234 total, 4 running, 26 stuck, 204 sleeping, 1743 threads 20:43:39
Load Avg: 2.76, 2.34, 1.62 CPU usage: 12.42% user, 13.26% sys, 74.30% idle
SharedLibs: 11M resident, 9472K data, 0B linkedit.
MemRegions: 90357 total, 8271M resident, 87M private, 813M shared.
PhysMem: 16G used (1888M wired), 167M unused.
VM: 695G vsize, 1066M framework vsize, 4568436(9200) swapins, 25943915(4349) swapouts.
Networks: packets: 6788581/7810M in, 6571283/3280M out. Disks: 1741772/47G read, 1487928/164G written.
PID COMMAND %CPU TIME #TH #WQ #PORT MEM PURG CMPRS PGRP PPID STATE
79669- AAM Updates 0.0 00:10.60 6 1 156 52K 0B 26M 79669 1 stuck
57715 systemstatsd 0.0 00:00.00 5 4 24 1044K 0B 0B 57715 1 sleeping
57700 diagnosticd 0.0 00:00.00 2 1 19 544K 0B 0B 57700 1 sleeping
57699 mdworker 0.0 00:00.02 3 0 54 1928K 0B 0B 57699 1 sleeping
57695 QuickLookSat 0.0 00:00.16 2 0 40 3960K 0B 0B 57695 1 sleeping
57694 deleted 0.0 00:00.01 2 1 33 1460K 0B 0B 57694 1 sleeping
57693 cfprefsd 0.2 00:00.01 5 4 48+ 980K- 0B 168K+ 57693 1 sleeping
57692 lsuseractivi 0.0 00:00.02 2 0 62 928K- 0B 872K+ 57692 1 sleeping
57688 coreduetd 0.0 00:00.11 4 2 58+ 3148K- 0B 1604K+ 57688 1 sleeping
57687 backupd-help 0.0 00:00.02 2 0 39- 832K- 0B 1084K 57687 1 sleeping
57684 networkd_pri 0.0 00:00.00 2 1 23 200K- 0B 356K+ 57684 1 sleeping
57683 cfprefsd 0.0 00:00.02 4 3 40+ 1068K- 0B 176K+ 57683 1 sleeping
57682 nsurlstorage 0.0 00:00.01 2 0 35 656K- 0B 412K+ 57682 1 sleeping
57681 gamed 0.0 00:00.17 4 0 99- 3576K- 0B 1968K+ 57681 1 sleeping
57677 nsurlstorage 0.3 00:00.17 5 3 154 4004K- 0B 4432K+ 57677 1 sleeping
57676 findmydevice 0.0 00:00.01 2 0 48 372K 0B 1312K 57676 1 sleeping
57675 tccd 0.0 00:00.03 2 1 37 2028K 0B 184K 57675 1 sleeping
57674 secinitd 0.0 00:00.02 2 1 33 712K 0B 1560K 57674 1 sleeping
57673 soagent 0.0 00:00.22 3 1 97 5268K 0B 4104K+ 57673 1 stuck
57634 mdworker 0.0 00:00.03 3 0 54 1372K- 0B 664K+ 57634 1 sleeping
57618 mdworker 0.0 00:00.03 3 0 54 1276K 0B 796K 57618 1 sleeping
57609 mdworker 0.0 00:00.03 3 0 54 1456K- 0B 600K+ 57609 1 sleeping
57564 mdworker 0.0 00:00.04 3 0 54 1520K 0B 568K 57564 1 sleeping
57561 quicklookd 0.0 00:00.20 5 1 95- 2868K- 0B 1076K 57561 1 sleeping
57401 auditd 0.0 00:00.07 2 0 25 368K- 0B 516K+ 57401 1 sleeping
57277 com.apple.We 1.7 00:09.84 27 8 205+ 8868K+ 0B 118M- 57277 1 sleeping
57153 top 2.7 00:13.89 1/1 0 45 3352K 0B 1132K 57153 30826 running
57120 e2etest 97.0 10:13.38 2/1 0 36 3459M- 0B 54G+ 57120 29007 running
56290 mdworker 0.0 00:00.02 3 0 50 32K 0B 1744K 56290 1 sleeping
56287 ocspd 0.0 00:00.08 5 0 67 1408K 0B 1028K 56287 1 sleeping
51244 mdworker 0.0 00:00.37 4 0 57 6032K 0B 2388K 51244 1 sleeping
51096 mdworker 0.0 00:00.21 4 0 56 36K 0B 3504K 51096 1 sleeping
Tommies-MacBook-Pro:e2e tmcafee$ sudo ls -latrh /var/vm/
total 73400320
drwxr-xr-x 25 root wheel 850B Jan 15 22:55 ..
-rw------- 1 root wheel 1.0G May 17 16:47 swapfile0
-rw------T 1 root wheel 8.0G May 18 09:38 sleepimage
-rw------- 1 root wheel 1.0G May 18 11:54 swapfile6
-rw------- 1 root wheel 1.0G May 18 20:37 swapfile4
-rw------- 1 root wheel 1.0G May 18 20:49 swapfile1
-rw------- 1 root wheel 1.0G May 18 20:49 swapfile2
-rw------- 1 root wheel 1.0G May 18 20:50 swapfile3
-rw------- 1 root wheel 1.0G May 18 20:50 swapfile5
-rw------- 1 root wheel 1.0G May 18 20:50 swapfile7
-rw------- 1 root wheel 1.0G May 18 20:50 swapfile8
-rw------- 1 root wheel 1.0G May 18 20:50 swapfile9
-rw------- 1 root wheel 1.0G May 18 20:51 swapfile10
-rw------- 1 root wheel 1.0G May 18 20:51 swapfile11
-rw------- 1 root wheel 1.0G May 18 20:51 swapfile12
-rw------- 1 root wheel 1.0G May 18 20:51 swapfile13
-rw------- 1 root wheel 1.0G May 18 20:51 swapfile14
-rw------- 1 root wheel 1.0G May 18 20:52 swapfile15
-rw------- 1 root wheel 1.0G May 18 20:52 swapfile16
-rw------- 1 root wheel 1.0G May 18 20:52 swapfile17
-rw------- 1 root wheel 1.0G May 18 20:52 swapfile18
-rw------- 1 root wheel 1.0G May 18 20:53 swapfile19
-rw------- 1 root wheel 1.0G May 18 20:53 swapfile20
-rw------- 1 root wheel 1.0G May 18 20:53 swapfile21
-rw------- 1 root wheel 1.0G May 18 20:53 swapfile22
-rw------- 1 root wheel 1.0G May 18 20:54 swapfile23
-rw------- 1 root wheel 1.0G May 18 20:54 swapfile24
-rw------- 1 root wheel 1.0G May 18 20:54 swapfile25
-rw------- 1 root wheel 1.0G May 18 20:54 swapfile26
drwxr-xr-x 30 root wheel 1.0K May 18 20:54 .
#repro
git fetch http://review.couchbase.org/forestdb refs/changes/77/51177/1 && git checkout FETCH_HEAD
// Change e2espec.h LOAD_FACTOR = 10
cd build
make clean
cmake ../
cd tests/e2e
./e2etest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment