Skip to content

Instantly share code, notes, and snippets.

View phad's full-sized avatar

Paul Hadfield phad

View GitHub Profile
@phad
phad / gist:872ce56feb7ed3f385983009f3212248
Created November 29, 2017 13:52
trillian_map_server output showing 'too many connections' error.
$ ./trillian_map_server --logtostderr
I1129 11:34:11.047237 120938 quota.go:98] Using QuotaManager *mysqlqm.QuotaManager
I1129 11:34:11.047807 120938 main.go:96] HTTP server starting on localhost:8091
I1129 11:34:11.047836 120938 main.go:108] RPC server starting on localhost:8090
I1129 11:34:11.048342 120938 main.go:117] Deleted tree GC started
I1129 11:37:29.255932 120938 map_rpc_server.go:191] 7905880401743917650: wanted 15 leaves, found 0
I1129 11:37:30.126622 120938 map_rpc_server.go:191] 7905880401743917650: wanted 30 leaves, found 0
I1129 11:37:31.026995 120938 map_rpc_server.go:191] 7905880401743917650: wanted 25 leaves, found 0
I1129 11:37:31.893128 120938 map_rpc_server.go:191] 7905880401743917650: wanted 23 leaves, found 0
I1129 11:37:32.749818 120938 map_rpc_server.go:191] 7905880401743917650: wanted 18 leaves, found 0
@phad
phad / 3849
Created October 17, 2017 10:42
Empty map transcript
1. Setup: make a new, empty map.
$ grpc_cli -loas2=false call localhost:6962 trillian.TrillianAdmin.CreateTree \
'tree<tree_state: ACTIVE tree_type: MAP hash_strategy: TEST_MAP_HASHER hash_algorithm: SHA256 \
signature_algorithm: ECDSA max_root_duration<seconds: 3600>> key_spec<ecdsa_params<curve: P256>>'
tree_id: 6052818873547722634
tree_state: ACTIVE
tree_type: MAP
hash_strategy: TEST_MAP_HASHER
@phad
phad / keybase.md
Last active January 7, 2020 09:03

Keybase proof

I hereby claim:

  • I am phad on github.
  • I am hadfieldp (https://keybase.io/hadfieldp) on keybase.
  • I have a public key ASDNte3mihME_xR38UvZxi8ls2SYvp3OQOUmob6SYJ5NrQo

To claim this, I am signing this object: