Skip to content

Instantly share code, notes, and snippets.

View tobowers's full-sized avatar

Topper Bowers tobowers

View GitHub Profile
alerts on:
exceptions
http alerts
absence of events
dimensions of an event (queue wait time over 2 seconds, storage space used over 80%)
presence of a single event (oncall support request)
possibilities (for custom code)
@tobowers
tobowers / list.md
Last active December 26, 2015 08:58
  1. devon
  2. james
  3. peregrine
  4. chris
  5. freddie
  6. ben
  7. brian
  8. adrian
  9. jeff
  10. mukund
Jul 24 09:24:22 webapps01 kernel: [38870557.302003] INFO: task jbd2/xvda1-8:153 blocked for more than 120 seconds.
Jul 24 09:24:22 webapps01 kernel: [38870557.302020] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jul 24 09:24:22 webapps01 kernel: [38870557.302030] jbd2/xvda1-8 D ffff8800efc136c0 0 153 2 0x00000000
Jul 24 09:24:22 webapps01 kernel: [38870557.302037] ffff8800026ddbe0 0000000000000246 00000000251cb0c4 ffffffff81cda500
Jul 24 09:24:22 webapps01 kernel: [38870557.302043] ffff8800026ddfd8 ffff8800026ddfd8 ffff8800026ddfd8 00000000000136c0
Jul 24 09:24:22 webapps01 kernel: [38870557.302049] ffffffff81c0d020 ffff8800026f44a0 ffff8800026ddc98 ffff8800efc13f80
Jul 24 09:24:22 webapps01 kernel: [38870557.302054] Call Trace:
Jul 24 09:24:22 webapps01 kernel: [38870557.302072] [<ffffffff811a56d0>] ? __wait_on_buffer+0x30/0x30
Jul 24 09:24:22 webapps01 kernel: [38870557.302078] [<ffffffff816545ff>] schedule+0x3f/0x60
Jul 24 09:24:22 webapps01 kernel:
I'm calling to ask you a few important questions about Robert.
Hello, Robert. My name is Bowers ... [pause dramitcally] ... Topping Bowers. I'm calling to ask you a few important questions about Robert.
movedelete* This paragraphquestion is empty. Please add text.
Do you eat breakfast?Do you eat breakfast?
Do you eat breakfast?
@tobowers
tobowers / gist:5460600
Last active December 16, 2015 16:08
v3 interaction api - memberships, points
/v3/users
/v3/sessions
POST /v3/matches
/v3/organizations
/v3/session # currentUser, currentOrganization, currentInitiative - probably adding currentInitiativePoints currentOrganizationPoints
NativeConstructorAccessorImpl.java:-2:in `newInstance0': com.orientechnologies.orient.core.exception.OConcurrentModificationException: Cannot ? the record #7:318 because the version is not the latest. Probably you are ing an old record or it has been modified by another user (db=v50 your=v0)
from NativeConstructorAccessorImpl.java:57:in `newInstance'
from DelegatingConstructorAccessorImpl.java:45:in `newInstance'
from Constructor.java:525:in `newInstance'
from OChannelBinary.java:517:in `createException'
from OChannelBinary.java:470:in `handleStatus'
from OChannelBinaryAsynch.java:145:in `beginResponse'
from OChannelBinaryAsynch.java:59:in `beginResponse'
from OStorageRemote.java:1832:in `beginResponse'
from OStorageRemote.java:1130:in `commit'
<subsystem xmlns='urn:jboss:domain:jgroups:1.1' default-stack='tcp'>
<stack name='tcp'>
<transport type='TCP' socket-binding='jgroups-tcp'/>
<protocol type='S3_PING'>
<property name="access_key">
[redacted]
</property>
<property name='secret_access_key'>
[redacted]
</property>
ec2-54-234-211-18.compute-1.amazonaws.com 16:12:17,816 WARN [org.jgroups.protocols.TCP] (Timer-5,<ADDR>) logical address cache didn't contain all physical address, sending up a discovery request
ec2-54-234-211-18.compute-1.amazonaws.com 16:12:17,818 ERROR [org.jgroups.protocols.TCP] (Timer-5,<ADDR>) failed sending message to cluster (90 bytes): java.lang.NullPointerException, cause: null
require 'spec_helper'
require 'redis'
describe "a fucked situation" do
class SimpleQueue
QUEUE_NAME = 'simple_queue'
Celluloid::Actor 0x3fd7e28e49ec: Donaghy::Fetcher::Receiver
State: Running (executing tasks)
Tasks:
1) Celluloid::TaskFiber: running
/Users/topper/.rvm/gems/ruby-1.9.3-p392@donaghy/gems/celluloid-io-0.13.1/lib/celluloid/io.rb:32:in `wait_readable'
/Users/topper/.rvm/gems/ruby-1.9.3-p392@donaghy/gems/celluloid-io-0.13.1/lib/celluloid/io/stream.rb:39:in `wait_readable'
/Users/topper/.rvm/gems/ruby-1.9.3-p392@donaghy/gems/celluloid-io-0.13.1/lib/celluloid/io/stream.rb:52:in `rescue in block in sysread'
/Users/topper/.rvm/gems/ruby-1.9.3-p392@donaghy/gems/celluloid-io-0.13.1/lib/celluloid/io/stream.rb:49:in `block in sysread'
/Users/topper/.rvm/gems/ruby-1.9.3-p392@donaghy/gems/celluloid-io-0.13.1/lib/celluloid/io/stream.rb:399:in `synchronize'
/Users/topper/.rvm/gems/ruby-1.9.3-p392@donaghy/gems/celluloid-io-0.13.1/lib/celluloid/io/stream.rb:48:in `sysread'