This file contains 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
[Unit] | |
Description=GCS Fuse | |
After=network.target | |
[Service] | |
User=www-data | |
Group=www-data | |
WorkingDirectory=/bin | |
Type=oneshot | |
RemainAfterExit=yes |
This file contains 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
server_config_file=gs_config.ascii | |
binary_logging_sample=0.1 | |
pb_port=49999 | |
pb_workers=1600 | |
max_log_size=100 | |
use_incoming_pool=false | |
use_populated_field=true |
This file contains 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
[Unit] | |
Description=Consul service discovery agent | |
Requires=network-online.target | |
After=network.target | |
[Service] | |
User=consul | |
Group=consul | |
PIDFile=/run/consul/consul.pid | |
Restart=on-failure |
This file contains 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
pb := &compute.Instance{ | |
Name: name, | |
Description: "compute sample instance", | |
MachineType: prefix + "/zones/" + zone + "/machineTypes/" + mtype, | |
Disks: []*compute.AttachedDisk{ | |
{ | |
AutoDelete: true, | |
Boot: true, | |
Type: "PERSISTENT", | |
InitializeParams: &compute.AttachedDiskInitializeParams{ |
This file contains 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
func setNetworkInterface(prefix, network, subnet string) *compute.NetworkInterface { | |
var netif = new(compute.NetworkInterface) | |
netif.AccessConfigs = []*compute.AccessConfig{ | |
&compute.AccessConfig{ | |
Type: "ONE_TO_ONE_NAT", | |
Name: "External NAT", | |
}, | |
} | |
netif.Network = prefix + "/global/networks/" + network | |
if subnet != "" { |
This file contains 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
2017/06/27 05:38:41.568429 s3.DEBUG DEBUG: Request s3/HeadObject Details: | |
---[ REQUEST POST-SIGN ]----------------------------- | |
HEAD /bucket/folder/ym%3D2017-01/ HTTP/1.1 | |
Host: storage.googleapis.com | |
User-Agent: aws-sdk-go/1.8.25 (go1.8.1; linux; amd64) | |
Authorization: AWS4-HMAC-SHA256 Credential=GOOGM3WZIEPV54Q7BHJC/20170627/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=22a83bedb46412cbfce8f8b7e6721b187a897c55fccba0d7da34fc97f894fa39 | |
X-Amz-Content-Sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 | |
X-Amz-Date: 20170627T053841Z | |
This file contains 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
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x85d42b] | |
goroutine 4202366 [running]: | |
github.com/kahing/goofys/internal.(*Buffer).readFromStream(0xc420be9640, 0xc420660018, 0x20000, 0x20000, 0x0, 0x0, 0xc4200140a0) | |
#011/home/khc/Code/go/src/github.com/kahing/goofys/internal/buffer_pool.go:360 +0xcb | |
github.com/kahing/goofys/internal.(*Buffer).Read(0xc420be9640, 0xc420660018, 0x20000, 0x20000, 0x0, 0xc57020, 0xc4200140a0) | |
#011/home/khc/Code/go/src/github.com/kahing/goofys/internal/buffer_pool.go:392 +0x426 | |
io.ReadAtLeast(0xc570e0, 0xc420be9640, 0xc420660018, 0x20000, 0x20000, 0x20000, 0xc42014fc80, 0xc430c4c000, 0xd) | |
#011/usr/local/go/src/io/io.go:307 +0xa9 | |
io.ReadFull(0xc570e0, 0xc420be9640, 0xc420660018, 0x20000, 0x20000, 0xc42001ed58, 0x657708, 0xc420d0a740) |
This file contains 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
Dec 12 15:30:47 qa-pl-1 goofys[19437]: fatal error: runtime: out of memory | |
Dec 12 15:30:47 qa-pl-1 goofys[19437]: runtime stack: | |
Dec 12 15:30:47 qa-pl-1 goofys[19437]: runtime.throw(0x9b27fe, 0x16) | |
Dec 12 15:30:47 qa-pl-1 goofys[19437]: #011/usr/local/go/src/runtime/panic.go:596 +0x95 | |
Dec 12 15:30:47 qa-pl-1 goofys[19437]: runtime.sysMap(0xc5228e0000, 0x100000, 0x880000, 0xca97b8) | |
Dec 12 15:30:47 qa-pl-1 goofys[19437]: #011/usr/local/go/src/runtime/mem_linux.go:216 +0x1d0 | |
Dec 12 15:30:47 qa-pl-1 goofys[19437]: runtime.(*mheap).sysAlloc(0xc90b00, 0x100000, 0x7fa32effcd20) | |
Dec 12 15:30:47 qa-pl-1 goofys[19437]: #011/usr/local/go/src/runtime/malloc.go:440 +0x374 | |
Dec 12 15:30:47 qa-pl-1 goofys[19437]: runtime.(*mheap).grow(0xc90b00, 0x76, 0x0) | |
Dec 12 15:30:47 qa-pl-1 goofys[19437]: #011/usr/local/go/src/runtime/mheap.go:774 +0x62 |
This file contains 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
fatal error: runtime: out of memory | |
runtime stack: | |
runtime.throw(0x9b27fe, 0x16) | |
/usr/local/go/src/runtime/panic.go:596 +0x95 | |
runtime.sysMap(0xc6313f0000, 0x3c0000, 0x457f00, 0xca97b8) | |
/usr/local/go/src/runtime/mem_linux.go:216 +0x1d0 | |
runtime.(*mheap).sysAlloc(0xc90b00, 0x3c0000, 0x1800033b5e) | |
/usr/local/go/src/runtime/malloc.go:440 +0x374 | |
runtime.(*mheap).grow(0xc90b00, 0x1db, 0x0) |
This file contains 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
Jan 21 00:17:02 pl-active-j4xz goofys[12023]: panic: Unknown inode: 111625 | |
Jan 21 00:17:02 pl-active-j4xz goofys[12023]: goroutine 16934493 [running]: | |
Jan 21 00:17:02 pl-active-j4xz goofys[12023]: github.com/kahing/goofys/internal.(*Goofys).getInodeOrDie(0xc420148a90, 0x1b409, 0xc423194340) | |
Jan 21 00:17:02 pl-active-j4xz goofys[12023]: #011/home/khc/Code/go/src/github.com/kahing/goofys/internal/goofys.go:423 +0x130 | |
Jan 21 00:17:02 pl-active-j4xz goofys[12023]: github.com/kahing/goofys/internal.(*Goofys).OpenFile(0xc420148a90, 0xc89020, 0xc420ab8360, 0xc42667e8e0, 0x0, 0x0) | |
Jan 21 00:17:02 pl-active-j4xz goofys[12023]: #011/home/khc/Code/go/src/github.com/kahing/goofys/internal/goofys.go:869 +0x6a | |
Jan 21 00:17:02 pl-active-j4xz goofys[12023]: github.com/jacobsa/fuse/fuseutil.(*fileSystemServer).handleOp(0xc4203a03a0, 0xc42015a480, 0xc89020, 0xc420ab8360, 0x8ba600, 0xc42667e8e0) | |
Jan 21 00:17:02 pl-active-j4xz goofys[12023]: #011/home/khc/Code/go/src/github.com/jacobsa/fuse/fuseutil/file_system.go:184 +0x9f1 | |
Jan |