Skip to content

Instantly share code, notes, and snippets.

View sridevi-15's full-sized avatar

Sridevi sridevi-15

View GitHub Profile
C:\Users\vagrant>"C:\Program Files (x86)\Couchbase\sg-windows.exe" start "C:\Program Files (x86)\Couchbase\\sync_gateway.exe" "C:\Program Files (x86)\Couchbase\\serviceconfig.json"
I: 14:08:34 Starting Sync Gateway service using command: `C:\Program Files (x86)\Couchbase\\sync_gateway.exe C:\Program Files (x86)\Couchbase\\serviceconfig.json`
E: 14:09:33 Sync Gateway exiting with exit status 1
panic: Failed to start Sync Gateway service.
goroutine 6 [running]:
panic(0x4d9460, 0xc04200a510)
c:/usr/local/go/1.7.4/go/src/runtime/panic.go:500 +0x1af
main.(*program).run(0xc042060240)
c:/jenkins/workspace/sgw-windows-build/godeps/src/github.com/couchbase/sync_gateway/service/sg-windows/sg-service/sg-service.go:52 +0x5e1
@sridevi-15
sridevi-15 / sg-logs-pull-replication
Created November 2, 2017 00:02
sg-logs-pull-replication
2017-10-27T08:57:18.433Z Enabling logging: [CRUD+ Cache+ HTTP+ Changes+]
2017-10-27T08:57:18.433Z ==== Couchbase Sync Gateway/1.4.1(3;ddffd85) ====
2017-10-27T08:57:18.433Z requestedSoftFDLimit < currentSoftFdLimit (5000 < 65535) no action needed
2017-10-27T08:57:18.433Z Opening db /db as bucket "data-bucket", pool "default", server <http://192.168.33.10:8091>
2017-10-27T08:57:18.433Z Opening Couchbase database data-bucket on <http://192.168.33.10:8091> as user "data-bucket"
_time=2017-10-27T08:57:18.447+00:00 _level=INFO _msg= Trying with selected node 0
_time=2017-10-27T08:57:18.447+00:00 _level=INFO _msg= Trying with http://192.168.33.10:8091/pools/default/bucketsStreaming/data-bucket
_time=2017-10-27T08:57:18.453+00:00 _level=INFO _msg=Got new configuration for bucket data-bucket
_time=2017-10-27T08:57:18.578+00:00 _level=INFO _msg= Trying with selected node 0
2017-10-27T08:57:18.777Z Cache: Initializing changes cache with options {ChannelCacheOptions:{ChannelCacheMinLength:0 ChannelCacheMaxLength:0 Chann
@sridevi-15
sridevi-15 / sg-logs_delete-database
Created November 2, 2017 21:28
sg-logs_delete-database
2017-10-27T16:12:30.911Z WARNING: No users have been defined in the 'sg_db2' database, which means that you will not be able to get useful data out of the sync gateway over the standard port. FIX: define users in the configuration json or via the REST API on the admin port, and grant users to channels via the admin_channels parameter. -- rest.emitAccessRelatedWarnings() at server_context.go:897
2017-10-27T16:12:30.911Z Starting admin server on 0.0.0.0:4985
2017-10-27T16:12:30.914Z Starting server on :4984 ...
2017-10-27T16:12:41.926Z HTTP: #001: DELETE /sg_db2/ (ADMIN)
2017-10-27T16:12:41.926Z Closing db /sg_db2 (bucket "data-bucket-2")
2017-10-27 16:12:41.926492 I | SimpleFeed.Close() called but not implemented
2017-10-27T16:12:42.283Z Enabling logging: [CRUD+ Cache+ HTTP+ Changes+]
2017-10-27T16:12:42.283Z ==== Couchbase Sync Gateway/1.3.1(16;f18e833) ====
2017-10-27T16:12:42.283Z requestedSoftFDLimit >= currentHardFdLimit (90000 >= 65535) capping at 65535
2017-10-27T16:12:42.283Z Configured process to a
@sridevi-15
sridevi-15 / sync_gateway_error.log
Created January 3, 2018 21:28
sync_gateway_with_blip
2017-12-22T00:14:16.000Z Enabling logging: [CRUD+ Cache+ HTTP+ Changes+]
2017-12-22T00:14:16.000Z ==== Couchbase Sync Gateway/2.0.0(722;75130c7) ====
2017-12-22T00:14:16.000Z requestedSoftFDLimit >= currentHardFdLimit (90000 >= 65535) capping at 65535
2017-12-22T00:14:16.000Z Configured process to allow 65535 open file descriptors
2017-12-22T00:14:16.000Z Opening db /db as bucket "data-bucket", pool "default", server <http://192.168.33.10:8091>
2017-12-22T00:14:16.000Z GoCBCustomSGTranscoder Opening Couchbase database data-bucket on <http://192.168.33.10:8091> as user "data-bucket"
2017-12-22T00:14:16.331Z GoCB Opening Couchbase database index-bucket on <http://192.168.33.10:8091> as user "index-bucket"
2017-12-22T00:14:16.372Z GoCB Opening Couchbase database index-bucket on <http://192.168.33.10:8091> as user "index-bucket"
2017-12-22T00:14:16.414Z Using metadata purge interval of 3.00 days for tombstone compaction.
2017-12-22T00:14:16.415Z WARNING: Setting the revs_limit (30) to less than 100 may have unwan
@sridevi-15
sridevi-15 / gist:9d8ab41119630bb71ebd5d46070ad153
Last active January 25, 2018 00:05
CBL-ios logs-sg-accel
[DEBUG] Did open connection on socket 7
[DEBUG] Did connect
[DEBUG] Did start background task
[DEBUG] Connection received 154 bytes on socket 7
[DEBUG] Connection on socket 7 preflighting request "POST /databaseConfiguration_configure" with 154 bytes body
[DEBUG] Connection on socket 7 processing request "POST /databaseConfiguration_configure" with 154 bytes body
[DEBUG] Connection sent 182 bytes on socket 7
[DEBUG] Connection sent 3 bytes on socket 7
[DEBUG] Did close connection on socket 7
[VERBOSE] [10.17.6.250:8080] 10.17.6.250:55716 200 "POST /databaseConfiguration_configure" (154 | 185)
@sridevi-15
sridevi-15 / gist:82acdb606016d15ddfeb6e7fa97ec672
Created January 25, 2018 22:22
cbl-logs-update-35-timesresp.content
This file has been truncated, but you can view the full file.
2018-01-25 13:58:39.861869-0800 CBLTestServer-iOS[39439:1360687] CouchbaseLite default log level is Verbose and above
[DEBUG] Did open IPv4 listening socket 5
[DEBUG] Did open IPv6 listening socket 6
[INFO] GCDWebServer started on port 8080 and reachable at http://10.17.6.250:8080/
[DEBUG] Did open connection on socket 7
[DEBUG] Did connect
[DEBUG] Did start background task
[DEBUG] Connection received 154 bytes on socket 7
[DEBUG] Connection on socket 7 preflighting request "POST /databaseConfiguration_configure" with 154 bytes body
[DEBUG] Connection on socket 7 processing request "POST /databaseConfiguration_configure" with 154 bytes body
@sridevi-15
sridevi-15 / gist:e51fbc2b09c62a17eb790d2d4563bbcc
Created January 25, 2018 22:23
cbl-logs-update-35-timesresp.content
This file has been truncated, but you can view the full file.
2018-01-25 13:58:39.861869-0800 CBLTestServer-iOS[39439:1360687] CouchbaseLite default log level is Verbose and above
[DEBUG] Did open IPv4 listening socket 5
[DEBUG] Did open IPv6 listening socket 6
[INFO] GCDWebServer started on port 8080 and reachable at http://10.17.6.250:8080/
[DEBUG] Did open connection on socket 7
[DEBUG] Did connect
[DEBUG] Did start background task
[DEBUG] Connection received 154 bytes on socket 7
[DEBUG] Connection on socket 7 preflighting request "POST /databaseConfiguration_configure" with 154 bytes body
[DEBUG] Connection on socket 7 processing request "POST /databaseConfiguration_configure" with 154 bytes body
E/art: Unexpected time out during dump checkpoint.
W/art: Attempted to destroy barrier with non zero count 1
A/art: art/runtime/runtime.cc:422] Runtime aborting...
A/art: art/runtime/runtime.cc:422] Aborting thread:
A/art: art/runtime/runtime.cc:422] "Thread-46019" prio=10 tid=18 Runnable
A/art: art/runtime/runtime.cc:422] | group="" sCount=0 dsCount=0 obj=0x13eeb430 self=0xc1cdac00
A/art: art/runtime/runtime.cc:422] | sysTid=17434 nice=-10 cgrp=default sched=0/0 handle=0xd72a7920
A/art: art/runtime/runtime.cc:422] | state=R schedstat=( 30383575822 14307169963 56030 ) utm=745 stm=2292 core=2 HZ=100
A/art: art/runtime/runtime.cc:422] | stack=0xd71ab000-0xd71ad000 stackSize=1014KB
A/art: art/runtime/runtime.cc:422] | held mutexes= "abort lock" "JNI weak global reference table lock" "ObjectRegistry lock" "mutator lock"(shared held)
This file has been truncated, but you can view the full file.
2018-01-25 21:31:11.096501-0800 CBLTestServer-iOS[55690:1847729] CouchbaseLite default log level is Verbose and above
[DEBUG] Did open IPv4 listening socket 4
[DEBUG] Did open IPv6 listening socket 6
[INFO] GCDWebServer started on port 8080 and reachable at http://192.168.0.101:8080/
[DEBUG] Did open connection on socket 7
[DEBUG] Did connect
[DEBUG] Did start background task
[DEBUG] Connection received 156 bytes on socket 7
[DEBUG] Connection on socket 7 preflighting request "POST /databaseConfiguration_configure" with 156 bytes body
[DEBUG] Connection on socket 7 processing request "POST /databaseConfiguration_configure" with 156 bytes body
-01-25T17:02:10.652Z Changes: sending 1 change(s)
2018-01-25T17:02:10.652Z Sync+: Sending 1 changes ... (as autotest)
2018-01-25T17:02:10.654Z DCP+: Persisting checkpoint for vbno 171
2018-01-25T17:02:10.657Z Sync: Sent 2 changes to client, from seq 97 ... (as autotest)
2018-01-25T17:02:10.663Z Changes+: MultiChangesFeed sending {Seq:98, ID:no-conflicts_1, Changes:[map[rev:10-815121ed434272cc6b1d70532c8dca06d81a5234] map[rev:7-5d027070a15cde7d928e91e256eb8faa31acc9d1]], branched:true} (to autotest)
2018-01-25T17:02:10.663Z Changes+: MultiChangesFeed waiting... (to autotest)
2018-01-25T17:02:10.663Z Changes+: No new changes to send to change listener. Waiting for "travel-sample"'s count to pass 87
2018-01-25T17:02:10.663Z Changes+: MultiChangesFeed: channels expand to "no-conflicts-channel:1" ... (to autotest)
2018-01-25T17:02:10.663Z Cache: getCachedChanges("no-conflicts-channel", 98) --> 2 changes valid from #99
2018-01-25T17:02:10.663Z Changes+: [changesFeed] Found 2 changes for channel no-conf