dgraph
dgraph copied to clipboard
Dgraph server crashes with out of memory when use huge data generated by bulk loader
Version
Dgraph version : v1.0.2-dev
Commit SHA-1 : 1390aaf8
Commit timestamp : 2018-01-22 16:29:42 +1100
Branch : HEAD
Also happened v1.0.2
Dgraph version : v1.0.2
Commit SHA-1 : fb2d3d3
Commit timestamp : 2018-01-17 15:40:00 +1100
Branch : release/v1.0.2
Spec
OS: Coreos beta 1632.1.0 RAM: 32GiB (aws ec2 instance m4.xlarge)
How do I run Dgraph
Use Docker.
$ dgraph zero --my <private_ip>:5080 --port_offset -2000 --replicas 3 --idx 1
$ dgraph server --my <private_ip>:7080 --zero <private_ip>:5080 --memory_mb 16384 --idx 11
I tried to up server using huge data generated by bulk loader. But server is crashed with out of memory while initializing badger.
bulk loader log
MAP 50m39s rdf_count:550.2M rdf_speed:181.0k/sec edge_count:2.101G edge_speed:691.4k/sec
ls -lah p/
ip-10-1-11-72 p # ls -lah
total 110G
drwx------. 2 root root 20K Jan 23 13:46 .
drwxr-xr-x. 7 root root 4.0K Jan 23 14:09 ..
-rw-r--r--. 1 root root 1.1G Jan 23 13:15 000000.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:16 000001.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:17 000002.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:17 000003.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:17 000004.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:18 000005.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:16 000006.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:18 000006.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:18 000007.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:17 000008.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:19 000008.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:19 000009.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:20 000010.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:16 000011.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:16 000012.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:20 000013.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:17 000014.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:21 000014.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:21 000015.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:17 000016.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:22 000016.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:19 000017.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:21 000018.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:22 000019.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:23 000020.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:23 000021.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:16 000022.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:20 000022.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:22 000023.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:17 000024.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:23 000024.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:24 000025.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:17 000026.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:25 000026.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:24 000027.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:25 000028.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:26 000029.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:26 000030.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:17 000031.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:26 000031.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:27 000032.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:17 000033.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:27 000033.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:28 000034.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:25 000035.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:28 000036.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:29 000037.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:28 000038.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:17 000039.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:29 000039.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:28 000040.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:17 000041.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:29 000041.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:17 000042.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:30 000042.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:30 000043.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:31 000044.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:15 000045.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:32 000046.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:31 000047.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:17 000048.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:33 000048.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:32 000049.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:17 000050.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:32 000050.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:33 000051.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:34 000052.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:34 000053.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:34 000054.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:33 000055.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:31 000056.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:17 000057.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:35 000057.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:17 000058.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:35 000058.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:35 000059.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:36 000060.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:37 000061.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:38 000062.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:36 000063.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:17 000064.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:37 000064.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:38 000065.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:17 000066.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:39 000066.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:17 000067.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:37 000067.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:39 000068.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:39 000069.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:40 000070.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:38 000071.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:40 000072.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:17 000073.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:40 000073.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:41 000074.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:17 000075.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:39 000075.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:41 000076.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:42 000077.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:42 000078.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:43 000079.vlog
-rw-r--r--. 1 root root 1.1G Jan 23 13:40 000080.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:17 000081.sst
-rw-r--r--. 1 root root 1.1G Jan 23 13:42 000081.vlog
-rw-r--r--. 1 root root 844M Jan 23 13:43 000082.vlog
-rw-r--r--. 1 root root 70M Jan 23 13:18 000083.sst
-rw-r--r--. 1 root root 70M Jan 23 13:18 000085.sst
-rw-r--r--. 1 root root 70M Jan 23 13:17 000090.sst
-rw-r--r--. 1 root root 70M Jan 23 13:18 000092.sst
-rw-r--r--. 1 root root 70M Jan 23 13:18 000099.sst
-rw-r--r--. 1 root root 70M Jan 23 13:18 000100.sst
-rw-r--r--. 1 root root 70M Jan 23 13:17 000106.sst
-rw-r--r--. 1 root root 70M Jan 23 13:18 000108.sst
-rw-r--r--. 1 root root 70M Jan 23 13:18 000109.sst
-rw-r--r--. 1 root root 70M Jan 23 13:18 000115.sst
-rw-r--r--. 1 root root 70M Jan 23 13:18 000117.sst
-rw-r--r--. 1 root root 70M Jan 23 13:18 000123.sst
-rw-r--r--. 1 root root 70M Jan 23 13:19 000125.sst
-rw-r--r--. 1 root root 70M Jan 23 13:19 000126.sst
-rw-r--r--. 1 root root 70M Jan 23 13:18 000132.sst
-rw-r--r--. 1 root root 70M Jan 23 13:19 000134.sst
-rw-r--r--. 1 root root 70M Jan 23 13:19 000141.sst
-rw-r--r--. 1 root root 70M Jan 23 13:19 000142.sst
-rw-r--r--. 1 root root 70M Jan 23 13:18 000148.sst
-rw-r--r--. 1 root root 70M Jan 23 13:19 000150.sst
-rw-r--r--. 1 root root 70M Jan 23 13:20 000152.sst
-rw-r--r--. 1 root root 70M Jan 23 13:19 000157.sst
-rw-r--r--. 1 root root 70M Jan 23 13:19 000159.sst
-rw-r--r--. 1 root root 70M Jan 23 13:20 000166.sst
-rw-r--r--. 1 root root 70M Jan 23 13:20 000167.sst
-rw-r--r--. 1 root root 70M Jan 23 13:20 000169.sst
-rw-r--r--. 1 root root 70M Jan 23 13:18 000174.sst
-rw-r--r--. 1 root root 70M Jan 23 13:20 000176.sst
-rw-r--r--. 1 root root 70M Jan 23 13:20 000182.sst
-rw-r--r--. 1 root root 70M Jan 23 13:20 000184.sst
-rw-r--r--. 1 root root 70M Jan 23 13:20 000190.sst
-rw-r--r--. 1 root root 70M Jan 23 13:20 000192.sst
-rw-r--r--. 1 root root 70M Jan 23 13:20 000194.sst
-rw-r--r--. 1 root root 70M Jan 23 13:20 000199.sst
-rw-r--r--. 1 root root 70M Jan 23 13:20 000201.sst
-rw-r--r--. 1 root root 70M Jan 23 13:20 000207.sst
-rw-r--r--. 1 root root 70M Jan 23 13:21 000209.sst
-rw-r--r--. 1 root root 70M Jan 23 13:20 000215.sst
-rw-r--r--. 1 root root 70M Jan 23 13:21 000217.sst
-rw-r--r--. 1 root root 70M Jan 23 13:21 000218.sst
-rw-r--r--. 1 root root 70M Jan 23 13:21 000224.sst
-rw-r--r--. 1 root root 70M Jan 23 13:21 000226.sst
-rw-r--r--. 1 root root 70M Jan 23 13:21 000232.sst
-rw-r--r--. 1 root root 70M Jan 23 13:21 000234.sst
-rw-r--r--. 1 root root 70M Jan 23 13:21 000236.sst
-rw-r--r--. 1 root root 70M Jan 23 13:21 000241.sst
-rw-r--r--. 1 root root 70M Jan 23 13:21 000243.sst
-rw-r--r--. 1 root root 70M Jan 23 13:21 000250.sst
-rw-r--r--. 1 root root 70M Jan 23 13:21 000251.sst
-rw-r--r--. 1 root root 70M Jan 23 13:21 000257.sst
-rw-r--r--. 1 root root 70M Jan 23 13:21 000259.sst
-rw-r--r--. 1 root root 70M Jan 23 13:21 000261.sst
-rw-r--r--. 1 root root 70M Jan 23 13:21 000266.sst
-rw-r--r--. 1 root root 70M Jan 23 13:21 000268.sst
-rw-r--r--. 1 root root 70M Jan 23 13:21 000274.sst
-rw-r--r--. 1 root root 70M Jan 23 13:21 000276.sst
-rw-r--r--. 1 root root 70M Jan 23 13:22 000278.sst
-rw-r--r--. 1 root root 70M Jan 23 13:22 000283.sst
-rw-r--r--. 1 root root 70M Jan 23 13:22 000285.sst
-rw-r--r--. 1 root root 70M Jan 23 13:21 000291.sst
-rw-r--r--. 1 root root 70M Jan 23 13:22 000293.sst
-rw-r--r--. 1 root root 70M Jan 23 13:22 000299.sst
-rw-r--r--. 1 root root 70M Jan 23 13:22 000301.sst
-rw-r--r--. 1 root root 70M Jan 23 13:22 000303.sst
-rw-r--r--. 1 root root 70M Jan 23 13:22 000308.sst
-rw-r--r--. 1 root root 70M Jan 23 13:22 000310.sst
-rw-r--r--. 1 root root 70M Jan 23 13:22 000316.sst
-rw-r--r--. 1 root root 70M Jan 23 13:22 000318.sst
-rw-r--r--. 1 root root 70M Jan 23 13:23 000320.sst
-rw-r--r--. 1 root root 70M Jan 23 13:22 000325.sst
-rw-r--r--. 1 root root 70M Jan 23 13:22 000327.sst
-rw-r--r--. 1 root root 70M Jan 23 13:23 000333.sst
-rw-r--r--. 1 root root 70M Jan 23 13:23 000335.sst
-rw-r--r--. 1 root root 70M Jan 23 13:22 000341.sst
-rw-r--r--. 1 root root 70M Jan 23 13:23 000343.sst
-rw-r--r--. 1 root root 70M Jan 23 13:23 000345.sst
-rw-r--r--. 1 root root 70M Jan 23 13:23 000351.sst
-rw-r--r--. 1 root root 70M Jan 23 13:23 000352.sst
-rw-r--r--. 1 root root 70M Jan 23 13:23 000359.sst
-rw-r--r--. 1 root root 70M Jan 23 13:23 000360.sst
-rw-r--r--. 1 root root 70M Jan 23 13:23 000362.sst
-rw-r--r--. 1 root root 70M Jan 23 13:23 000367.sst
-rw-r--r--. 1 root root 70M Jan 23 13:23 000369.sst
-rw-r--r--. 1 root root 70M Jan 23 13:23 000375.sst
-rw-r--r--. 1 root root 70M Jan 23 13:23 000377.sst
-rw-r--r--. 1 root root 70M Jan 23 13:23 000383.sst
-rw-r--r--. 1 root root 70M Jan 23 13:23 000385.sst
-rw-r--r--. 1 root root 70M Jan 23 13:24 000387.sst
-rw-r--r--. 1 root root 70M Jan 23 13:24 000393.sst
-rw-r--r--. 1 root root 70M Jan 23 13:24 000394.sst
-rw-r--r--. 1 root root 70M Jan 23 13:23 000400.sst
-rw-r--r--. 1 root root 70M Jan 23 13:24 000402.sst
-rw-r--r--. 1 root root 70M Jan 23 13:24 000404.sst
-rw-r--r--. 1 root root 70M Jan 23 13:24 000409.sst
-rw-r--r--. 1 root root 70M Jan 23 13:24 000411.sst
-rw-r--r--. 1 root root 70M Jan 23 13:24 000417.sst
-rw-r--r--. 1 root root 70M Jan 23 13:25 000419.sst
-rw-r--r--. 1 root root 70M Jan 23 13:24 000425.sst
-rw-r--r--. 1 root root 70M Jan 23 13:25 000427.sst
-rw-r--r--. 1 root root 70M Jan 23 13:25 000429.sst
-rw-r--r--. 1 root root 70M Jan 23 13:24 000434.sst
-rw-r--r--. 1 root root 70M Jan 23 13:25 000436.sst
-rw-r--r--. 1 root root 70M Jan 23 13:25 000442.sst
-rw-r--r--. 1 root root 70M Jan 23 13:25 000444.sst
-rw-r--r--. 1 root root 70M Jan 23 13:25 000445.sst
-rw-r--r--. 1 root root 70M Jan 23 13:25 000451.sst
-rw-r--r--. 1 root root 70M Jan 23 13:25 000453.sst
-rw-r--r--. 1 root root 70M Jan 23 13:25 000460.sst
-rw-r--r--. 1 root root 70M Jan 23 13:25 000461.sst
-rw-r--r--. 1 root root 70M Jan 23 13:25 000467.sst
-rw-r--r--. 1 root root 70M Jan 23 13:25 000469.sst
-rw-r--r--. 1 root root 70M Jan 23 13:26 000471.sst
-rw-r--r--. 1 root root 70M Jan 23 13:25 000477.sst
-rw-r--r--. 1 root root 70M Jan 23 13:25 000478.sst
-rw-r--r--. 1 root root 70M Jan 23 13:26 000485.sst
-rw-r--r--. 1 root root 70M Jan 23 13:26 000486.sst
-rw-r--r--. 1 root root 70M Jan 23 13:25 000492.sst
-rw-r--r--. 1 root root 70M Jan 23 13:26 000494.sst
-rw-r--r--. 1 root root 70M Jan 23 13:26 000496.sst
-rw-r--r--. 1 root root 70M Jan 23 13:26 000501.sst
-rw-r--r--. 1 root root 70M Jan 23 13:26 000503.sst
-rw-r--r--. 1 root root 70M Jan 23 13:26 000509.sst
-rw-r--r--. 1 root root 70M Jan 23 13:26 000511.sst
-rw-r--r--. 1 root root 70M Jan 23 13:26 000518.sst
-rw-r--r--. 1 root root 70M Jan 23 13:26 000519.sst
-rw-r--r--. 1 root root 70M Jan 23 13:26 000521.sst
-rw-r--r--. 1 root root 70M Jan 23 13:26 000527.sst
-rw-r--r--. 1 root root 70M Jan 23 13:26 000528.sst
-rw-r--r--. 1 root root 70M Jan 23 13:26 000534.sst
-rw-r--r--. 1 root root 70M Jan 23 13:26 000536.sst
-rw-r--r--. 1 root root 70M Jan 23 13:26 000543.sst
-rw-r--r--. 1 root root 70M Jan 23 13:26 000544.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000546.sst
-rw-r--r--. 1 root root 70M Jan 23 13:26 000552.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000553.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000560.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000561.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000568.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000569.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000571.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000576.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000578.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000585.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000586.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000592.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000594.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000596.sst
-rw-r--r--. 1 root root 70M Jan 23 13:26 000601.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000603.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000609.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000611.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000618.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000619.sst
-rw-r--r--. 1 root root 70M Jan 23 13:28 000621.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000627.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000628.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000634.sst
-rw-r--r--. 1 root root 70M Jan 23 13:28 000636.sst
-rw-r--r--. 1 root root 70M Jan 23 13:28 000652.sst
-rw-r--r--. 1 root root 70M Jan 23 13:29 000655.sst
-rw-r--r--. 1 root root 70M Jan 23 13:22 000658.sst
-rw-r--r--. 1 root root 70M Jan 23 13:27 000659.sst
-rw-r--r--. 1 root root 70M Jan 23 13:28 000661.sst
-rw-r--r--. 1 root root 7.4K Jan 23 13:28 000662.sst
-rw-r--r--. 1 root root 70M Jan 23 13:29 000665.sst
-rw-r--r--. 1 root root 70M Jan 23 13:29 000666.sst
-rw-r--r--. 1 root root 70M Jan 23 13:29 000673.sst
-rw-r--r--. 1 root root 70M Jan 23 13:29 000674.sst
-rw-r--r--. 1 root root 70M Jan 23 13:29 000676.sst
-rw-r--r--. 1 root root 70M Jan 23 13:28 000681.sst
-rw-r--r--. 1 root root 70M Jan 23 13:29 000683.sst
-rw-r--r--. 1 root root 70M Jan 23 13:30 000690.sst
-rw-r--r--. 1 root root 70M Jan 23 13:30 000691.sst
-rw-r--r--. 1 root root 70M Jan 23 13:29 000698.sst
-rw-r--r--. 1 root root 70M Jan 23 13:30 000699.sst
-rw-r--r--. 1 root root 70M Jan 23 13:30 000701.sst
-rw-r--r--. 1 root root 70M Jan 23 13:30 000706.sst
-rw-r--r--. 1 root root 70M Jan 23 13:30 000708.sst
-rw-r--r--. 1 root root 70M Jan 23 13:30 000715.sst
-rw-r--r--. 1 root root 70M Jan 23 13:30 000716.sst
-rw-r--r--. 1 root root 70M Jan 23 13:30 000722.sst
-rw-r--r--. 1 root root 70M Jan 23 13:30 000724.sst
-rw-r--r--. 1 root root 70M Jan 23 13:30 000730.sst
-rw-r--r--. 1 root root 70M Jan 23 13:30 000732.sst
-rw-r--r--. 1 root root 70M Jan 23 13:31 000734.sst
-rw-r--r--. 1 root root 70M Jan 23 13:30 000739.sst
-rw-r--r--. 1 root root 70M Jan 23 13:31 000741.sst
-rw-r--r--. 1 root root 70M Jan 23 13:31 000747.sst
-rw-r--r--. 1 root root 70M Jan 23 13:31 000749.sst
-rw-r--r--. 1 root root 70M Jan 23 13:31 000756.sst
-rw-r--r--. 1 root root 70M Jan 23 13:31 000757.sst
-rw-r--r--. 1 root root 70M Jan 23 13:31 000759.sst
-rw-r--r--. 1 root root 70M Jan 23 13:31 000764.sst
-rw-r--r--. 1 root root 70M Jan 23 13:31 000766.sst
-rw-r--r--. 1 root root 70M Jan 23 13:31 000773.sst
-rw-r--r--. 1 root root 70M Jan 23 13:31 000774.sst
-rw-r--r--. 1 root root 70M Jan 23 13:31 000781.sst
-rw-r--r--. 1 root root 70M Jan 23 13:31 000782.sst
-rw-r--r--. 1 root root 70M Jan 23 13:31 000784.sst
-rw-r--r--. 1 root root 70M Jan 23 13:31 000789.sst
-rw-r--r--. 1 root root 70M Jan 23 13:32 000791.sst
-rw-r--r--. 1 root root 70M Jan 23 13:31 000797.sst
-rw-r--r--. 1 root root 70M Jan 23 13:32 000799.sst
-rw-r--r--. 1 root root 70M Jan 23 13:31 000805.sst
-rw-r--r--. 1 root root 70M Jan 23 13:32 000807.sst
-rw-r--r--. 1 root root 70M Jan 23 13:32 000814.sst
-rw-r--r--. 1 root root 70M Jan 23 13:32 000815.sst
-rw-r--r--. 1 root root 70M Jan 23 13:32 000817.sst
-rw-r--r--. 1 root root 70M Jan 23 13:32 000822.sst
-rw-r--r--. 1 root root 70M Jan 23 13:32 000823.sst
-rw-r--r--. 1 root root 70M Jan 23 13:32 000831.sst
-rw-r--r--. 1 root root 70M Jan 23 13:32 000832.sst
-rw-r--r--. 1 root root 70M Jan 23 13:32 000839.sst
-rw-r--r--. 1 root root 70M Jan 23 13:32 000840.sst
-rw-r--r--. 1 root root 70M Jan 23 13:33 000842.sst
-rw-r--r--. 1 root root 70M Jan 23 13:32 000847.sst
-rw-r--r--. 1 root root 70M Jan 23 13:33 000849.sst
-rw-r--r--. 1 root root 70M Jan 23 13:33 000855.sst
-rw-r--r--. 1 root root 70M Jan 23 13:33 000857.sst
-rw-r--r--. 1 root root 70M Jan 23 13:33 000864.sst
-rw-r--r--. 1 root root 70M Jan 23 13:33 000865.sst
-rw-r--r--. 1 root root 70M Jan 23 13:33 000872.sst
-rw-r--r--. 1 root root 70M Jan 23 13:33 000873.sst
-rw-r--r--. 1 root root 70M Jan 23 13:33 000875.sst
-rw-r--r--. 1 root root 70M Jan 23 13:33 000881.sst
-rw-r--r--. 1 root root 70M Jan 23 13:33 000882.sst
-rw-r--r--. 1 root root 70M Jan 23 13:33 000888.sst
-rw-r--r--. 1 root root 70M Jan 23 13:33 000890.sst
-rw-r--r--. 1 root root 70M Jan 23 13:33 000897.sst
-rw-r--r--. 1 root root 70M Jan 23 13:33 000898.sst
-rw-r--r--. 1 root root 70M Jan 23 13:33 000905.sst
-rw-r--r--. 1 root root 70M Jan 23 13:33 000906.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000908.sst
-rw-r--r--. 1 root root 70M Jan 23 13:33 000914.sst
-rw-r--r--. 1 root root 70M Jan 23 13:33 000915.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000922.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000923.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000930.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000931.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000938.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000939.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000941.sst
-rw-r--r--. 1 root root 70M Jan 23 13:33 000946.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000948.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000955.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000956.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000962.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000964.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000970.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000972.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000974.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000979.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000981.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000988.sst
-rw-r--r--. 1 root root 70M Jan 23 13:35 000989.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000996.sst
-rw-r--r--. 1 root root 70M Jan 23 13:34 000997.sst
-rw-r--r--. 1 root root 70M Jan 23 13:35 001004.sst
-rw-r--r--. 1 root root 70M Jan 23 13:35 001005.sst
-rw-r--r--. 1 root root 70M Jan 23 13:35 001007.sst
-rw-r--r--. 1 root root 70M Jan 23 13:35 001013.sst
-rw-r--r--. 1 root root 70M Jan 23 13:35 001014.sst
-rw-r--r--. 1 root root 70M Jan 23 13:35 001020.sst
-rw-r--r--. 1 root root 70M Jan 23 13:35 001022.sst
-rw-r--r--. 1 root root 70M Jan 23 13:35 001029.sst
-rw-r--r--. 1 root root 70M Jan 23 13:35 001030.sst
-rw-r--r--. 1 root root 70M Jan 23 13:35 001036.sst
-rw-r--r--. 1 root root 70M Jan 23 13:35 001038.sst
-rw-r--r--. 1 root root 70M Jan 23 13:35 001040.sst
-rw-r--r--. 1 root root 70M Jan 23 13:35 001046.sst
-rw-r--r--. 1 root root 70M Jan 23 13:35 001047.sst
-rw-r--r--. 1 root root 70M Jan 23 13:35 001054.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001055.sst
-rw-r--r--. 1 root root 70M Jan 23 13:35 001061.sst
-rw-r--r--. 1 root root 70M Jan 23 13:35 001063.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001070.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001071.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001073.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001079.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001080.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001087.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001088.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001095.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001096.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001103.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001104.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001106.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001112.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001113.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001120.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001121.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001128.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001129.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001135.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001137.sst
-rw-r--r--. 1 root root 70M Jan 23 13:37 001139.sst
-rw-r--r--. 1 root root 70M Jan 23 13:36 001144.sst
-rw-r--r--. 1 root root 70M Jan 23 13:37 001146.sst
-rw-r--r--. 1 root root 70M Jan 23 13:37 001152.sst
-rw-r--r--. 1 root root 70M Jan 23 13:37 001153.sst
-rw-r--r--. 1 root root 70M Jan 23 13:37 001160.sst
-rw-r--r--. 1 root root 70M Jan 23 13:37 001162.sst
-rw-r--r--. 1 root root 70M Jan 23 13:37 001168.sst
-rw-r--r--. 1 root root 70M Jan 23 13:38 001170.sst
-rw-r--r--. 1 root root 70M Jan 23 13:37 001176.sst
-rw-r--r--. 1 root root 70M Jan 23 13:38 001178.sst
-rw-r--r--. 1 root root 70M Jan 23 13:38 001179.sst
-rw-r--r--. 1 root root 70M Jan 23 13:38 001185.sst
-rw-r--r--. 1 root root 70M Jan 23 13:38 001187.sst
-rw-r--r--. 1 root root 70M Jan 23 13:38 001193.sst
-rw-r--r--. 1 root root 70M Jan 23 13:39 001195.sst
-rw-r--r--. 1 root root 70M Jan 23 13:38 001201.sst
-rw-r--r--. 1 root root 70M Jan 23 13:39 001203.sst
-rw-r--r--. 1 root root 70M Jan 23 13:39 001209.sst
-rw-r--r--. 1 root root 70M Jan 23 13:39 001211.sst
-rw-r--r--. 1 root root 70M Jan 23 13:39 001217.sst
-rw-r--r--. 1 root root 70M Jan 23 13:39 001219.sst
-rw-r--r--. 1 root root 70M Jan 23 13:39 001220.sst
-rw-r--r--. 1 root root 70M Jan 23 13:39 001226.sst
-rw-r--r--. 1 root root 70M Jan 23 13:39 001228.sst
-rw-r--r--. 1 root root 70M Jan 23 13:39 001234.sst
-rw-r--r--. 1 root root 70M Jan 23 13:40 001236.sst
-rw-r--r--. 1 root root 70M Jan 23 13:40 001242.sst
-rw-r--r--. 1 root root 70M Jan 23 13:40 001244.sst
-rw-r--r--. 1 root root 70M Jan 23 13:40 001250.sst
-rw-r--r--. 1 root root 70M Jan 23 13:40 001252.sst
-rw-r--r--. 1 root root 70M Jan 23 13:40 001258.sst
-rw-r--r--. 1 root root 70M Jan 23 13:40 001260.sst
-rw-r--r--. 1 root root 70M Jan 23 13:40 001266.sst
-rw-r--r--. 1 root root 70M Jan 23 13:41 001268.sst
-rw-r--r--. 1 root root 70M Jan 23 13:41 001269.sst
-rw-r--r--. 1 root root 70M Jan 23 13:41 001275.sst
-rw-r--r--. 1 root root 70M Jan 23 13:41 001276.sst
-rw-r--r--. 1 root root 70M Jan 23 13:41 001283.sst
-rw-r--r--. 1 root root 70M Jan 23 13:41 001285.sst
-rw-r--r--. 1 root root 70M Jan 23 13:41 001291.sst
-rw-r--r--. 1 root root 70M Jan 23 13:41 001293.sst
-rw-r--r--. 1 root root 70M Jan 23 13:41 001299.sst
-rw-r--r--. 1 root root 70M Jan 23 13:41 001300.sst
-rw-r--r--. 1 root root 70M Jan 23 13:41 001307.sst
-rw-r--r--. 1 root root 70M Jan 23 13:42 001309.sst
-rw-r--r--. 1 root root 70M Jan 23 13:42 001310.sst
-rw-r--r--. 1 root root 70M Jan 23 13:42 001316.sst
-rw-r--r--. 1 root root 70M Jan 23 13:42 001318.sst
-rw-r--r--. 1 root root 70M Jan 23 13:42 001324.sst
-rw-r--r--. 1 root root 70M Jan 23 13:42 001326.sst
-rw-r--r--. 1 root root 70M Jan 23 13:42 001332.sst
-rw-r--r--. 1 root root 70M Jan 23 13:42 001334.sst
-rw-r--r--. 1 root root 70M Jan 23 13:42 001340.sst
-rw-r--r--. 1 root root 70M Jan 23 13:42 001341.sst
-rw-r--r--. 1 root root 70M Jan 23 13:42 001349.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001350.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001352.sst
-rw-r--r--. 1 root root 70M Jan 23 13:42 001358.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001359.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001366.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001367.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001374.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001375.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001381.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001383.sst
-rw-r--r--. 1 root root 70M Jan 23 13:42 001389.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001391.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001393.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001399.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001400.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001406.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001408.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001414.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001416.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001422.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001424.sst
-rw-r--r--. 1 root root 24M Jan 23 13:43 001430.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001431.sst
-rw-r--r--. 1 root root 70M Jan 23 13:43 001432.sst
-rw-r--r--. 1 root root 67M Jan 23 13:43 001433.sst
-rw-r--r--. 1 root root 2 Jan 23 14:09 LOCK
-rw-r--r--. 1 root root 39K Jan 23 14:09 MANIFEST
golang stack trace
core@ip-10-1-11-72 ~ $ docker logs -f dgraph-server
fatal error: runtime: out of memory
runtime stack:
runtime.throw(0x1316887, 0x16)
/usr/local/go/src/runtime/panic.go:605 +0x95
runtime.sysMap(0xcb942a0000, 0x4560000, 0xc42fd4a100, 0x1aa58f8)
/usr/local/go/src/runtime/mem_linux.go:216 +0x1d0
runtime.(*mheap).sysAlloc(0x1a8c3c0, 0x4560000, 0x7f73ef7fdd28)
/usr/local/go/src/runtime/malloc.go:470 +0xd7
runtime.(*mheap).grow(0x1a8c3c0, 0x22ab, 0x0)
/usr/local/go/src/runtime/mheap.go:887 +0x60
runtime.(*mheap).allocSpanLocked(0x1a8c3c0, 0x22ab, 0x1aa5908, 0xc420393900)
/usr/local/go/src/runtime/mheap.go:800 +0x334
runtime.(*mheap).alloc_m(0x1a8c3c0, 0x22ab, 0xffffffffffff0101, 0x7f73ef7fde18)
/usr/local/go/src/runtime/mheap.go:666 +0x118
runtime.(*mheap).alloc.func1()
/usr/local/go/src/runtime/mheap.go:733 +0x4d
runtime.systemstack(0x7f73ef7fde10)
/usr/local/go/src/runtime/asm_amd64.s:360 +0xab
runtime.(*mheap).alloc(0x1a8c3c0, 0x22ab, 0x7f73ef010101, 0x7f74881785d0)
/usr/local/go/src/runtime/mheap.go:732 +0xa1
runtime.largeAlloc(0x455558e, 0x1200101, 0x1202520)
/usr/local/go/src/runtime/malloc.go:827 +0x98
runtime.mallocgc.func1()
/usr/local/go/src/runtime/malloc.go:722 +0x46
runtime.systemstack(0xc420357900)
/usr/local/go/src/runtime/asm_amd64.s:344 +0x79
runtime.mstart()
/usr/local/go/src/runtime/proc.go:1135
goroutine 1 [running]:
runtime.systemstack_switch()
/usr/local/go/src/runtime/asm_amd64.s:298 fp=0xc420151018 sp=0xc420151010 pc=0x90b750
runtime.mallocgc(0x455558e, 0x11ca2e0, 0x1e005783c201, 0xa8)
/usr/local/go/src/runtime/malloc.go:721 +0x7ae fp=0xc4201510c0 sp=0xc420151018 pc=0x8c177e
runtime.makeslice(0x11ca2e0, 0x455558e, 0x455558e, 0xc42579a380, 0x7f7493db2e20, 0x0)
/usr/local/go/src/runtime/slice.go:54 +0x77 fp=0xc4201510f0 sp=0xc4201510c0 pc=0x8f4f37
github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/table.(*Table).loadToRAM(0xc631956540, 0x455558e, 0x39)
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/table/table.go:359 +0x55 fp=0xc420151180 sp=0xc4201510f0 pc=0xbfb145
github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/table.OpenTable(0xc630aec030, 0x1, 0x0, 0x0, 0x0)
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/table/table.go:146 +0x3b5 fp=0xc420151248 sp=0xc420151180 pc=0xbf9b95
github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.newLevelsController(0xc4203f2300, 0xc420151660, 0xc4203f2300, 0xc420167d20, 0x1a09d20)
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/levels.go:113 +0x4cc fp=0xc4201513f8 sp=0xc420151248 pc=0xc1034c
github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.Open(0x12fe5ac, 0x1, 0x12fe5ac, 0x1, 0x1, 0x1, 0x2, 0x4000000, 0xa, 0x7, ...)
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/db.go:258 +0xb2c fp=0xc4201517a0 sp=0xc4201513f8 pc=0xc0432c
github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.OpenManaged(0x12fe5ac, 0x1, 0x12fe5ac, 0x1, 0x1, 0x1, 0x2, 0x4000000, 0xa, 0x7, ...)
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/managed_db.go:38 +0x5a fp=0xc420151878 sp=0xc4201517a0 pc=0xc157fa
github.com/dgraph-io/dgraph/edgraph.(*ServerState).initStorage(0x1a83bc0)
/home/pawan/go/src/github.com/dgraph-io/dgraph/edgraph/server.go:142 +0x2af fp=0xc420151a90 sp=0xc420151878 pc=0x11077cf
github.com/dgraph-io/dgraph/edgraph.InitServerState()
/home/pawan/go/src/github.com/dgraph-io/dgraph/edgraph/server.go:80 +0xd6 fp=0xc420151ab8 sp=0xc420151a90 pc=0x1107296
github.com/dgraph-io/dgraph/dgraph/cmd/server.run()
/home/pawan/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/server/run.go:306 +0x5fd fp=0xc420151cc0 sp=0xc420151ab8 pc=0x1116abd
github.com/dgraph-io/dgraph/dgraph/cmd/server.init.0.func1(0xc42027c6c0, 0xc4200fa780, 0x0, 0x8)
/home/pawan/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/server/run.go:63 +0x52 fp=0xc420151ce8 sp=0xc420151cc0 pc=0x1117992
github.com/dgraph-io/dgraph/vendor/github.com/spf13/cobra.(*Command).execute(0xc42027c6c0, 0xc4200fa700, 0x8, 0x8, 0xc42027c6c0, 0xc4200fa700)
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/spf13/cobra/command.go:702 +0x2c6 fp=0xc420151d90 sp=0xc420151ce8 pc=0xd46346
github.com/dgraph-io/dgraph/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x19f6be0, 0xc420151ee8, 0x8f05a0, 0x19fe2b0)
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/spf13/cobra/command.go:783 +0x30e fp=0xc420151ec0 sp=0xc420151d90 pc=0xd46cce
github.com/dgraph-io/dgraph/vendor/github.com/spf13/cobra.(*Command).Execute(0x19f6be0, 0x19fe2b0, 0x150c4feae6f18c99)
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/spf13/cobra/command.go:736 +0x2b fp=0xc420151ef0 sp=0xc420151ec0 pc=0xd4699b
github.com/dgraph-io/dgraph/dgraph/cmd.Execute()
/home/pawan/go/src/github.com/dgraph-io/dgraph/dgraph/cmd/root.go:51 +0x31 fp=0xc420151f40 sp=0xc420151ef0 pc=0x112da41
main.main()
/home/pawan/go/src/github.com/dgraph-io/dgraph/dgraph/main.go:34 +0xad fp=0xc420151f80 sp=0xc420151f40 pc=0x112e64d
runtime.main()
/usr/local/go/src/runtime/proc.go:195 +0x226 fp=0xc420151fe0 sp=0xc420151f80 pc=0x8dead6
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc420151fe8 sp=0xc420151fe0 pc=0x90e381
goroutine 7 [syscall, 3 minutes]:
os/signal.signal_recv(0x8e5198)
/usr/local/go/src/runtime/sigqueue.go:131 +0xa6
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.0
/usr/local/go/src/os/signal/signal_unix.go:28 +0x41
goroutine 8 [chan receive]:
github.com/dgraph-io/dgraph/x.init.1.func1()
/home/pawan/go/src/github.com/dgraph-io/dgraph/x/metrics.go:96 +0x7e
created by github.com/dgraph-io/dgraph/x.init.1
/home/pawan/go/src/github.com/dgraph-io/dgraph/x/metrics.go:91 +0x545
goroutine 14 [chan receive, 3 minutes]:
github.com/dgraph-io/dgraph/x.(*WaterMark).process(0xc42005b4c0)
/home/pawan/go/src/github.com/dgraph-io/dgraph/x/watermark.go:191 +0x28e
created by github.com/dgraph-io/dgraph/x.(*WaterMark).Init
/home/pawan/go/src/github.com/dgraph-io/dgraph/x/watermark.go:78 +0xc8
goroutine 19 [select, 3 minutes]:
github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.(*DB).doWrites(0xc4203f2000, 0xc42000c120)
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/db.go:633 +0x47a
created by github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.Open
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/db.go:310 +0x10d4
goroutine 16 [select]:
github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.(*DB).updateSize(0xc4203f2000, 0xc420287120)
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/db.go:892 +0x16a
created by github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.Open
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/db.go:254 +0xa97
goroutine 171 [select]:
github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.(*levelsController).runWorker(0xc4257a8000, 0xc42000c020)
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/levels.go:187 +0x1e2
created by github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.(*levelsController).startCompact
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/levels.go:172 +0x82
goroutine 172 [select]:
github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.(*levelsController).runWorker(0xc4257a8000, 0xc42000c020)
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/levels.go:187 +0x1e2
created by github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.(*levelsController).startCompact
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/levels.go:172 +0x82
goroutine 173 [select]:
github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.(*levelsController).runWorker(0xc4257a8000, 0xc42000c020)
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/levels.go:187 +0x1e2
created by github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.(*levelsController).startCompact
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/levels.go:172 +0x82
goroutine 174 [chan receive, 3 minutes]:
github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.(*DB).flushMemtable(0xc4203f2000, 0xc42000c100, 0x0, 0x0)
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/db.go:774 +0xfa
created by github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.Open
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/db.go:266 +0xc35
goroutine 20 [chan receive, 3 minutes]:
github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.(*valueLog).waitOnGC(0xc4203f2130, 0xc42000c140)
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/value.go:1017 +0x61
created by github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.Open
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/db.go:313 +0x113a
goroutine 21 [select]:
github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.(*DB).updateSize(0xc4203f2300, 0xc420167d20)
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/db.go:892 +0x16a
created by github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger.Open
/home/pawan/go/src/github.com/dgraph-io/dgraph/vendor/github.com/dgraph-io/badger/db.go:254 +0xa97
@munisystem
Could you try to run dgraph server with --posting_tables set to memorymap like below.
dgraph server --my <private_ip>:7080 --zero <private_ip>:5080 --memory_mb 16384 --idx 11 --posting_tables memorymap
By default, badger loads up all the keys in memory and it looks like you have a lot of keys, so memory mapping the sst files would be a better option in this case.
I ran server forwarding your advice and then this problem has gone away. Thank you.