Skip to content

Instantly share code, notes, and snippets.

View bobeckert's full-sized avatar
🚂

Bob Eckert bobeckert

🚂
View GitHub Profile
@bobeckert
bobeckert / gist:6611997
Created September 18, 2013 16:48
needs more cowbell^Wlogging
root@analyzer-aws-use-001:/var/log/mimedia$ cat indexer.log.2013-09-17-AM
2013-09-17 00:07:07,836 - INFO - com.jolbox.bonecp.BoneCP [Thread-1] - Shutting down connection pool...
2013-09-17 00:07:07,899 - INFO - com.jolbox.bonecp.BoneCP [Thread-1] - Connection pool has been shutdown.
root@analyzer-aws-use-001:/var/log/mimedia$
w1-ma1#show int gi5/1
GigabitEthernet5/1 is up, line protocol is up (connected)
Hardware is C6k 1000Mb 802.3, address is 000f.f7be.dea8 (bia 000f.f7be.dea8)
Description: "SDS1-MA1"
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/s, media type is LH
input flow-control is off, output flow-control is on
stats realm HAProxyPortalStats
stats uri /stats
stats auth mimedia:stats
@bobeckert
bobeckert / gist:6996525
Created October 15, 2013 18:40
Java Stack trace on deploying analyzer
root@analyzer-vbox-nj1-001:/var/lib/tomcat7/webapps$ Oct 15, 2013 2:37:56 PM org.apache.catalina.startup.HostConfig deployWARs
SEVERE: Error waiting for multi-thread deployment of WAR files to complete
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
at java.util.concurrent.FutureTask.get(FutureTask.java:111)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:751)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:471)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1453)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:295)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
root@app-vbox-nj1-001:/var/lib/tomcat7/webapps$ service tomcat7 start
* Starting Tomcat servlet engine tomcat7 Oct 15, 2013 4:25:09 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Oct 15, 2013 4:25:09 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1245 ms
Oct 15, 2013 4:25:09 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Oct 15, 2013 4:25:09 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.26
Oct 15, 2013 4:25:09 PM org.apache.catalina.startup.HostConfig deployDescriptor
@bobeckert
bobeckert / config
Created February 18, 2014 17:40
ssh config options
Host *
ServerAliveInterval 300
# /etc/init/workers.conf - manage a set of Sidekiqs
# This example config should work with Ubuntu 12.04+. It
# allows you to manage multiple Sidekiq instances with
# Upstart, Ubuntu's native service management tool.
#
# See sidekiq.conf for how to manage a single Sidekiq instance.
#
# Use "stop workers" to stop all Sidekiq instances.
# Use "start workers" to start all instances.
# /etc/init/sidekiq.conf - Sidekiq config
# This example config should work with Ubuntu 12.04+. It
# allows you to manage multiple Sidekiq instances with
# Upstart, Ubuntu's native service management tool.
#
# See workers.conf for how to manage all Sidekiq instances at once.
#
# Save this config as /etc/init/sidekiq.conf then mange sidekiq with:
# sudo start sidekiq index=0
deploy@sk-backoffice-production-worker-ip-10-8-22-68:~$ which ruby
/usr/local/rvm/rubies/ruby-2.1.2/bin/ruby
deploy@sk-backoffice-production-worker-ip-10-8-22-68:~$ env
XDG_SESSION_ID=40
rvm_bin_path=/usr/local/rvm/bin
GEM_HOME=/usr/local/rvm/gems/ruby-2.1.2
TERM=xterm-256color
SHELL=/bin/bash
IRBRC=/usr/local/rvm/rubies/ruby-2.1.2/.irbrc
SSH_CLIENT=10.8.2.191 65026 22
Delivered-To: bob@shopkeep.com
Received: by 10.220.18.131 with SMTP id w3csp763167vca;
Thu, 25 Sep 2014 08:58:07 -0700 (PDT)
X-Received: by 10.42.43.7 with SMTP id v7mr3670747ice.88.1411660687228;
Thu, 25 Sep 2014 08:58:07 -0700 (PDT)
Return-Path: <bounce+2455e9.07a9-bob=shopkeep.com@mail.intercom.io>
Received: from m69-142.mailgun.net (m69-142.mailgun.net. [166.78.69.142])
by mx.google.com with ESMTPS id j3si3729854igx.12.2014.09.25.08.58.06
for <bob@shopkeep.com>