This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [1093202.136107] INFO: task kworker/u30:1:31455 blocked for more than 120 seconds. | |
| [1093202.141596] Tainted: GF 3.13.0-30-generic #54-Ubuntu | |
| [1093202.146201] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. | |
| [1093202.152408] kworker/u30:1 D ffff8801efc34440 0 31455 2 0x00000000 | |
| [1093202.152416] Workqueue: writeback bdi_writeback_workfn (flush-btrfs-1) | |
| [1093202.152419] ffff880040d3b768 0000000000000002 ffff8800880f0000 ffff880040d3bfd8 | |
| [1093202.152422] 0000000000014440 0000000000014440 ffff8800880f0000 ffff8801efc34cd8 | |
| [1093202.152426] ffff8801effcefe8 ffff880040d3b7f0 0000000000000002 ffffffff8114e010 | |
| [1093202.152429] Call Trace: | |
| [1093202.152435] [<ffffffff8114e010>] ? wait_on_page_read+0x60/0x60 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ 0.000000] Initializing cgroup subsys cpuset | |
| [ 0.000000] Initializing cgroup subsys cpu | |
| [ 0.000000] Initializing cgroup subsys cpuacct | |
| [ 0.000000] Linux version 3.13.0-32-generic (buildd@kissel) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 (Ubuntu 3.13.0-32.57-generic 3.13.11.4) | |
| [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-32-generic root=UUID=4697912e-36da-461d-af10-db7088461d31 ro console=tty1 console=ttyS0 | |
| [ 0.000000] KERNEL supported cpus: | |
| [ 0.000000] Intel GenuineIntel | |
| [ 0.000000] AMD AuthenticAMD | |
| [ 0.000000] Centaur CentaurHauls | |
| [ 0.000000] e820: BIOS-provided physical RAM map: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| time |usr sys idl wai hiq siq| read writ| recv send| int csw | used buff cach free| 1m 5m 15m | read writ [1/1512] | |
| 01-08 11:35:28| 0 99 0 0 0 0| 0 390k| 166B 1141B| 215 103 | 369M 35.5M 3208M 153M|4.93 4.78 4.47| 0 37.8 | |
| 01-08 11:35:33| 1 99 0 0 0 0| 0 269k| 666B 4171B| 245 112 | 369M 35.5M 3208M 153M|4.85 4.77 4.46| 0 64.4 | |
| 01-08 11:35:38| 1 99 0 0 0 0| 0 3277B|1255B 7771B| 216 128 | 369M 35.5M 3208M 153M|4.78 4.75 4.46| 0 0.80 | |
| 01-08 11:35:43| 1 99 0 0 0 0| 0 4915B|1383B 8931B| 215 128 | 369M 35.5M 3208M 153M|4.80 4.76 4.47| 0 0.80 | |
| 01-08 11:35:48| 1 99 0 0 0 0| 0 1638B| 322B 2837B| 198 83 | 369M 35.5M 3208M 153M|4.82 4.76 4.47| 0 0.40 | |
| 01-08 11:35:53| 1 99 0 0 0 0| 0 0 | 198B 3542B| 193 83 | 369M 35.5M 3208M 153M|4.83 4.77 4.47| 0 0 | |
| 01-08 11:35:58| 1 99 0 0 0 0| 0 0 | 517B 3528B| 199 106 | 369M 35.5M 3208M 153M|4.77 4.75 4.47| 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ cat 202\:5120/stats 252\:0/stats | |
| BdiWriteback: 0 kB | |
| BdiReclaimable: 0 kB | |
| BdiDirtyThresh: 0 kB | |
| DirtyThresh: 712460 kB | |
| BackgroundThresh: 356228 kB | |
| BdiDirtied: 0 kB | |
| BdiWritten: 0 kB | |
| BdiWriteBandwidth: 102400 kBps | |
| b_dirty: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [576705.255778] ------------[ cut here ]------------ | |
| [576705.255801] WARNING: CPU: 1 PID: 13749 at /home/apw/COD/linux/fs/btrfs/extent-tree.c:6946 use_block_rsv+0xfd/0x1a0 [btrfs]() | |
| [576705.255803] BTRFS: block rsv returned -28 | |
| [576705.255804] Modules linked in: ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs libcrc32c softdog tcp_diag inet_diag dm_crypt ppdev xen_fbfront fb_sys_fops syscopyarea sysfillrect sysimgblt i2c_piix4 serio_raw parport_pc parport mac_hid isofs xt_tcpudp iptable_filter xt_owner ip_tables x_tables btrfs xor raid6_pq crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd floppy psmouse | |
| [576705.255834] CPU: 1 PID: 13749 Comm: kworker/u30:0 Tainted: G W 3.15.7-031507-generic #201407281235 | |
| [576705.255836] Hardware name: Xen HVM domU, BIOS 4.2.amazon 05/23/2014 | |
| [576705.255851] Workqueue: btrfs-endio-write normal_work_helper [btrfs] | |
| [576705.255853] 0000000000001b22 ffff8801111b7958 ffffffff8176f115 0000000000000007 | |
| [5767 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set nu | |
| filetype off | |
| filetype plugin indent off | |
| set runtimepath+=~/.local/vim-golang | |
| filetype plugin indent on | |
| syntax on | |
| set smartindent | |
| set tabstop=4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Note: doesn't work yet. | |
| // Note: you may wish to modify the hard-coded region from eu-west-1. | |
| package main | |
| import ( | |
| "io" | |
| "log" | |
| "os" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bufio" | |
| "io" | |
| "os" | |
| ) | |
| func main() { | |
| TruncateFilePrefix("tmp.txt") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ novm create --nofork | |
| 2015/01/10 13:32:00 Creating devices... | |
| 2015/01/10 13:32:00 Loading d25d0c01-9b5b-44aa-9261-a5f3340908e2... | |
| 2015/01/10 13:32:00 Loading 37f7a2a4-6085-4665-83f1-4568d62853ea... | |
| 2015/01/10 13:32:00 Loading 1ec1015b-82b7-4d74-819a-40a4865a9524... | |
| 2015/01/10 13:32:00 Loading 787da28e-6d86-42a4-bc53-34ac06bd8869... | |
| 2015/01/10 13:32:00 Loading 2730ad5a-8391-4481-b6f0-b3feb95e9614... | |
| 2015/01/10 13:32:00 Loading 3b79eac7-b4b6-4646-8602-53a65c484ce7... | |
| 2015/01/10 13:32:00 Loading 38e58a57-f34a-4571-9141-a67a82ef7c1d... | |
| 2015/01/10 13:32:00 Loading afd265ae-3461-4d73-b700-0ae439b0c97a... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:14.04 | |
| RUN apt-get update && apt-get install -y curl build-essential git mercurial upx | |
| RUN curl -sSL https://golang.org/dl/go1.4.src.tar.gz | tar -v -C /usr/local -xz | |
| RUN cd /usr/local/go/src && ./make.bash --no-clean 2>&1 | |
| ENV GOPATH /go | |
| ENV PATH /usr/local/go/bin:$PATH | |
| ENV PATH /go/bin:$PATH |