Skip to content

Instantly share code, notes, and snippets.

View tleyden's full-sized avatar

Traun Leyden tleyden

View GitHub Profile
{
"log": ["HTTP", "HTTP+", "CRUD"],
"adminInterface": ":4985",
"maxIncomingConnections": 0,
"maxCouchbaseConnections": 16,
"maxFileDescriptors": 90000,
"slowServerCallWarningThreshold": 500,
"compressResponses": true,
"databases": {
{
"log": ["HTTP", "HTTP+", "CRUD"],
"adminInterface": ":4985",
"maxIncomingConnections": 0,
"maxCouchbaseConnections": 16,
"maxFileDescriptors": 90000,
"slowServerCallWarningThreshold": 500,
"compressResponses": true,
{
"log": ["HTTP", "HTTP+", "CRUD"],
"adminInterface": ":4985",
"maxIncomingConnections": 0,
"maxCouchbaseConnections": 16,
"maxFileDescriptors": 90000,
"slowServerCallWarningThreshold": 500,
"compressResponses": true,
"databases": {
{
cmdline: [
"/opt/gocode/bin/gateload",
"-workload",
"/root/gateload_config.json"
],
memstats: {
Alloc: 2747870224,
TotalAlloc: 40694673768,
Sys: 6385887240,
{
cmdline: [
"/opt/couchbase-sync-gateway/bin/sync_gateway",
"/root/gateway_config.json"
],
memstats: {
Alloc: 2606751280,
TotalAlloc: 166842850952,
Sys: 9976342608,
Lookups: 36729834,
@tleyden
tleyden / gist:18f523be9807b92a135a
Created January 30, 2015 00:38
profile files
101.pcap profile_cpu_25.prof profile_cpu_55.prof profile_heap_19.prof profile_heap_49.prof sgw_check_logs.sh
amazon.sh profile_cpu_26.prof profile_cpu_56.prof profile_heap_1.prof profile_heap_4.prof sgw_check_status.sh
anaconda-ks.cfg profile_cpu_27.prof profile_cpu_57.prof profile_heap_20.prof profile_heap_50.prof sgw_monitor.sh
bash_test.sh profile_cpu_28.prof profile_cpu_58.prof profile_heap_21.prof profile_heap_51.prof sgw_profiling.sh
collect_info.py profile_cpu_29.prof profile_cpu_59.prof profile_heap_22.prof profile_heap_52.prof sgw_profiling.txt
couchbase-server-enterprise_x86_64_2.5.1-1083-rel.rpm profile_cpu_2.prof profile_cpu_5.prof profile_heap_23.prof profile_heap_53.prof sgw_test_config.sh
gateway_config_0_nn.json-t profile_cp
@tleyden
tleyden / gist:5d50cc5d7e58c2a0ecd6
Created January 29, 2015 21:19
expvar memstats
memstats: {
Alloc: 3559110488,
TotalAlloc: 146946040672,
Sys: 8670205960,
Lookups: 33120121,
Mallocs: 1325278757,
Frees: 1302512227,
HeapAlloc: 3559110488,
HeapSys: 6865027072,
HeapIdle: 2865381376,
@tleyden
tleyden / gist:a6650b9412e2aa1e9de2
Created January 29, 2015 21:18
expvar memstats
{
memstats: {
Alloc: 3763619232,
TotalAlloc: 33351226352,
Sys: 5681735768,
Lookups: 10389116,
Mallocs: 219952290,
Frees: 202811399,
HeapAlloc: 3763619232,
HeapSys: 3939500032,
@tleyden
tleyden / gist:f27a277c6dd7f7340c98
Created January 28, 2015 00:59
gateload expvar
{
"cmdline":[
"/opt/gocode/bin/gateload",
"-workload",
"/root/gateload_config.json"
],
"memstats":{
"Alloc":3442036528,
"TotalAlloc":85602103176,
"Sys":4884269144,
@tleyden
tleyden / config.json
Last active August 29, 2015 14:14
Sample sync gw config with walrus bucket
{
"log": ["CRUD", "REST+", "Access"],
"facebook": { "register": true },
"databases": {
"db": {
"server":"walrus:data",
"users": {
"GUEST": {"disabled": false, "admin_channels": ["*"]}
}
}