Skip to content

Instantly share code, notes, and snippets.

@neogenix
neogenix / output.log
Created November 3, 2016 17:45
What!?
----total-cpu-usage---- -dsk/total----dsk/sda-----dsk/sdb-----dsk/sdc-----dsk/sdd-----dsk/sde-----dsk/sdf-----dsk/sdg-- -net/total- ---paging-- ---system--
usr sys idl wai hiq siq| read writ: read writ: read writ: read writ: read writ: read writ: read writ: read writ| recv send| in out | int csw
45 7 34 12 0 2| 0 5104k: 0 3674k: 0 0 : 0 1430k: 0 0 : 0 0 : 0 0 : 0 0 | 17M 22M| 0 0 | 204k 297k
27 4 67 0 0 1| 0 31M: 0 30M: 0 0 : 0 713k: 0 24k: 0 0 : 0 0 : 0 0 | 20M 20M| 0 0 | 183k 251k
22 5 73 0 0 1| 0 36M: 0 33M: 0 0 : 0 3070k: 0 0 : 0 0 : 0 0 : 0 0 | 16M 17M| 0 0 | 228k 243k
30 5 62 1 0 2| 0 30M: 0 30M: 0 0 : 0 0 : 0 0 : 0 0 : 0 0 : 0 0 | 23M 22M| 0 0 | 162k 257k
29 5 64 0 0 2| 0 64k: 0 64k: 0 0 : 0 0 : 0 0 : 0
INFO [SharedPool-Worker-1] 2016-11-03 15:39:35,518 Message.java:611 - Unexpected exception during request; channel = [id: 0x04bd97b9, /10.124.57.19:34866 :> /10.114.10.11:9042]
java.io.IOException: Error while read(...): Connection reset by peer
at io.netty.channel.epoll.Native.readAddress(Native Method) ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.doReadBytes(EpollSocketChannel.java:675) ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.epollInReady(EpollSocketChannel.java:714) ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:326) ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:264) ~[netty-all-4.0.23.Final.jar:4.0.23.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
@neogenix
neogenix / 02.make
Created July 21, 2013 00:05
RethinkDB Fails to build under 10.7.5
~ » cat ~/Library/Logs/Homebrew/rethinkdb/02.make xxx@uslt-205774
[1/300] DOWNLOAD protoc
[2/300] MKDIR build/release_clang_notcmalloc/proto
[3/300] MKDIR build/release_clang_notcmalloc/re2
[4/300] CP build/release_clang_notcmalloc/rethinkdb-gdb.py
[5/300] MKDIR build/release_clang_notcmalloc/rethinkdb_web_assets
[6/300] MKDIR build/release_clang_notcmalloc/protobuf-plugin-closure
[7/300] CP build/release_clang_notcmalloc/rethinkdb-export.py
[8/300] CP build/release_clang_notcmalloc/rethinkdb-import.py
[9/300] CP build/release_clang_notcmalloc/rethinkdb-dump.py
@neogenix
neogenix / gist:3658982
Created September 6, 2012 17:55
HomeBrew Bug - installing python 2.7.3 failed (10.7.4)
This file has been truncated, but you can view the full file.
First part :
$ brew install -v python
==> Downloading http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2
Already downloaded: /Users/patrick.ancillotti/Library/Caches/Homebrew/python-2.7.3.tar.bz2
/usr/bin/tar xf /Users/patrick.ancillotti/Library/Caches/Homebrew/python-2.7.3.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/python/2.7.3 --enable-ipv6 --datarootdir=/usr/local/Cellar/python/2.7.3/share --datadir=/usr/local/Cellar/python/2.7.3/share --enable-framework=/usr/local/Cellar/python/2.7.3/Frameworks --without-gcc
./configure --prefix=/usr/local/Cellar/python/2.7.3 --enable-ipv6 --datarootdir=/usr/local/Cellar/python/2.7.3/share --datadir=/usr/local/Cellar/python/2.7.3/share --enable-framework=/usr/local/Cellar/python/2.7.3/Frameworks --without-gcc
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
@neogenix
neogenix / gist:1234114
Created September 22, 2011 05:18
Ubuntu 11.04 - Chef 0.10.x Installation - Knife Configuration
WARNING: No knife configuration file found
Where should I put the config file? [~/.chef/knife.rb]
Please enter the chef server URL: [http://chef-n02.ctl.rackspace.net:4000]
Please enter a clientname for the new client: [usernator]
Please enter the existing admin clientname: [chef-webui]
Please enter the location of the existing admin client's private key: [/etc/chef/webui.pem] .chef/webui.pem
Please enter the validation clientname: [chef-validator]
Please enter the location of the validation key: [/etc/chef/validation.pem] .chef/validation.pem
Please enter the path to a chef repository (or leave blank):
Creating initial API user...
@neogenix
neogenix / gist:1234038
Created September 22, 2011 04:27
Ubuntu 11.04 - Chef 0.10.x Installation - Chef Configuration
mkdir -p ~/.chef
sudo cp /etc/chef/validation.pem /etc/chef/webui.pem ~/.chef
sudo chown -R $USER ~/.chef
knife configure -i
@neogenix
neogenix / gist:1234016
Created September 22, 2011 04:14
Ubuntu 11.04 - Chef 0.10.x Installation - Running Processes
14366 ? S 0:00 /usr/bin/ruby1.8 /usr/bin/chef-client -d -P /var/run/chef/client.pid -L /var/log/chef/client.log -c /etc/chef/client.rb -i 1800 -s 20
14450 ? S 0:00 /usr/lib/erlang/erts-5.7.4/bin/epmd -daemon
14551 ? S 0:00 /bin/sh -e /usr/bin/couchdb -a /etc/couchdb/default.ini -a /etc/couchdb/local.ini -b -r 5 -p /var/run/couchdb/couchdb.pid -o /dev/null -e /dev/null -R
14561 ? S 0:00 \_ /bin/sh -e /usr/bin/couchdb -a /etc/couchdb/default.ini -a /etc/couchdb/local.ini -b -r 5 -p /var/run/couchdb/couchdb.pid -o /dev/null -e /dev/null -R
14562 ? Sl 0:01 \_ /usr/lib/erlang/erts-5.7.4/bin/beam.smp -Bd -K true -A 4 -- -root /usr/lib/erlang -progname erl -- -home /var/lib/couchdb -- -noshell -noinput -sasl errlog_type error -couch_ini /etc/couchdb/default.ini /etc/couchdb/local.ini /e
14591 ? Ss 0:00 \_ heart -pid 14562 -ht 11
17158 ? Ssl 0:00 \_ /usr/lib/couchdb/bin/couchjs /usr/share/couchdb/server/main.js
147
@neogenix
neogenix / gist:1233987
Created September 22, 2011 03:53
Ubuntu 11.04 - Chef 0.10.x Installation - Install Chef
sudo apt-get install chef chef-server
@neogenix
neogenix / gist:1233960
Created September 22, 2011 03:35
Ubuntu 11.04 - Chef 0.10.x Installation - OpsCode KeyRing
sudo apt-get update
sudo apt-get install opscode-keyring
@neogenix
neogenix / opscode.list
Created September 22, 2011 03:28
Ubuntu 11.04 - Chef 0.10.x Installation - OpsCode Sources
deb http://apt.opscode.com/ natty-0.10 main