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
user www-data; | |
worker_processes auto; | |
worker_rlimit_nofile 32000; | |
pid /var/run/nginx.pid; | |
events { | |
use epoll; | |
multi_accept on; | |
} |
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
./wrk -c 16 -d 10 -t 2 -R 13000 http://localhost:8181/ | |
Running 10s test @ http://localhost:8181/ | |
2 threads and 16 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 20.74ms 23.54ms 87.94ms 77.19% | |
Req/Sec -nan -nan 0.00 0.00% | |
129968 requests in 10.00s, 15.99MB read | |
Requests/sec: 12997.76 | |
Transfer/sec: 1.60MB |
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 ( | |
"fmt" | |
"log" | |
"net/http" | |
"time" | |
"github.com/mailgun/metrics" | |
"github.com/mailgun/timetools" |
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
func CloneListener(l net.Listener) (net.Listener, error) { | |
t := l.(*net.TCPListener) | |
file, err := t.File() | |
if err != nil { | |
return nil, err | |
} | |
return net.FileListener(file) | |
} |
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
Frame 316: 66 bytes on wire (528 bits), 66 bytes captured (528 bits) on interface 0 | |
Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst: 00:00:00_00:00:00 (00:00:00:00:00:00) | |
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1) | |
Transmission Control Protocol, Src Port: 48879 (48879), Dst Port: 45921 (45921), Seq: 16, Ack: 39, Len: 0 | |
No. Time Source Destination Protocol Length Info | |
317 1574.120058000 127.0.0.1 127.0.0.1 TCP 74 45922 > 48879 [SYN] Seq=0 Win=43690 Len=0 MSS=65495 SACK_PERM=1 TSval=1478536 TSecr=0 WS=128 | |
Frame 317: 74 bytes on wire (592 bits), 74 bytes captured (592 bits) on interface 0 | |
Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst: 00:00:00_00:00:00 (00:00:00:00:00:00) |
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" | |
"fmt" | |
// "io/ioutil" | |
"log" | |
"net" | |
"os" | |
"reflect" |
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
[etcd] Jun 26 02:37:17.539 INFO | worker2.dfw.definbox.com: peer added: 'jobs2.dfw.definbox.com' | |
panic: runtime error: slice bounds out of range | |
goroutine 277429 [running]: | |
runtime.panic(0x7e7cc0, 0xeefdaa) | |
/usr/local/Cellar/go/1.2/libexec/src/pkg/runtime/panic.c:266 +0xb6 | |
github.com/coreos/etcd/third_party/github.com/goraft/raft.(*Log).compact(0xc22a497c40, 0x2d4c30, 0xed49, 0x0, 0x0) | |
/Users/philips/coreos/etcd-go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/third_party/github.com/goraft/raft/log.go:583 +0x4bd | |
github.com/coreos/etcd/third_party/github.com/goraft/raft.(*server).processSnapshotRecoveryRequest(0xc213274900, 0xc21b0c0b40, 0xc21b0c0b40) | |
/Users/philips/coreos/etcd-go/src/github.com/coreos/etcd/release/etcd/gopath/src/github.com/coreos/etcd/third_party/github.com/goraft/raft/server.go:1321 +0x28c |
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
worker3.dfw.definbox.com [2014-07-12T00:18:36+00:00] WARN: Current package[libpcre3-dev]: /var/chef/cache/cookbooks/mgnginx/recipes/default.rb:14:in `from_file' | |
worker3.dfw.definbox.com [2014-07-12T00:18:36+00:00] INFO: HTTP Request Returned 404 Not Found: No routes match the request: /search/node | |
worker3.dfw.definbox.com | |
worker3.dfw.definbox.com ================================================================================ | |
worker3.dfw.definbox.com Recipe Compile Error in /var/chef/cache/cookbooks/etcd/recipes/cluster.rb | |
worker3.dfw.definbox.com ================================================================================ | |
worker3.dfw.definbox.com | |
worker3.dfw.definbox.com | |
worker3.dfw.definbox.com Net::HTTPServerException | |
worker3.dfw.definbox.com ------------------------ |
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
deployment-py)[DFW]mg@monitor ~/chef-repo: librarian-chef install | |
Installing ark (0.8.0) | |
Installing java (1.22.0) | |
Installing ant (1.0.2) | |
Installing iptables (0.13.2) | |
Installing logrotate (1.6.0) | |
Installing pacman (1.1.1) | |
Installing apache2 (1.10.4) | |
Installing apt (2.4.0) | |
/usr/lib/ruby/1.8/net/protocol.rb:135:in `sysread': end of file reached (EOFError) |
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
find . -iregex .*go | xargs sed -i 's:".*Godeps/_workspace/src/::g' |