This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
after_fork do |server, worker| | |
port = 5000 + worker.nr | |
child_pid = server.config[:pid].sub('.pid', ".#{port}.pid") | |
system("echo #{Process.pid} > #{child_pid}") | |
defined?(ActiveRecord::Base) and | |
ActiveRecord::Base.establish_connection | |
#one log per unicorn worker | |
filepath = "#{root}/log/#{Rails.env}.#{worker.nr}.log" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RSpec::Matchers.define :included_nested do |*expected| | |
match do |actual| | |
include_nested(actual, expected) | |
end | |
def include_nested(actual, expected) | |
expected.inject(actual) do |acc, ex| | |
return false unless RSpec::Matchers::BuiltIn::Include.new(ex).matches?(acc) | |
acc[ex] | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/} | |
_sshcomplete() { | |
local CURRENT_PROMPT="${COMP_WORDS[COMP_CWORD]}" | |
if [[ ${CURRENT_PROMPT} == *@* ]] ; then | |
local OPTIONS="-P ${CURRENT_PROMPT/@*/}@ -- ${CURRENT_PROMPT/*@/}" | |
else | |
local OPTIONS=" -- ${CURRENT_PROMPT}" | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
05-28 21:12:51 INFO [chpotato.core._base._core] Restarting | |
05-28 21:12:51 INFO Shutting down thread pool | |
05-28 21:12:55 INFO [ couchpotato.core.loader] Loading core: _base | |
05-28 21:12:55 INFO [ couchpotato.core.loader] Loading core: _core | |
05-28 21:12:55 INFO [ couchpotato.core.loader] Loading core: clientscript | |
05-28 21:12:55 INFO [ couchpotato.core.loader] Loading core: desktop | |
05-28 21:12:55 INFO [ couchpotato.core.loader] Loading core: scheduler | |
05-28 21:12:55 INFO [ couchpotato.core.loader] Loading core: updater | |
05-28 21:12:55 INFO [ couchpotato.core.loader] Loading plugin: plugins | |
05-28 21:12:55 INFO [ couchpotato.core.loader] Loading plugin: automation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[10-Feb-2014 21:10:18.138681] WARNING: pid 19114, fpm_stdio_child_said(), line 167: [pool www] child 19160 said into stderr: "zend_mm_heap corrupted" | |
[10-Feb-2014 21:10:18.138715] DEBUG: pid 19114, fpm_event_loop(), line 419: event module triggered 1 events | |
[10-Feb-2014 21:10:18.141789] DEBUG: pid 19114, fpm_event_loop(), line 419: event module triggered 2 events | |
[10-Feb-2014 21:10:18.141815] DEBUG: pid 19114, fpm_got_signal(), line 76: received SIGCHLD | |
[10-Feb-2014 21:10:18.141853] WARNING: pid 19114, fpm_children_bury(), line 252: [pool www] child 19160 exited with code 1 after 15146.711825 seconds from start | |
[10-Feb-2014 21:10:18.142602] NOTICE: pid 19114, fpm_children_make(), line 421: [pool www] child 329 started | |
[10-Feb-2014 21:10:18.142627] DEBUG: pid 19114, fpm_event_loop(), line 419: event module triggered 1 events | |
[10-Feb-2014 21:16:05.763128] DEBUG: pid 19114, fpm_got_signal(), line 85: received SIGTERM | |
[10-Feb-2014 21:16:05.763153] NOTICE: pid 19114, fpm_got_signal(), line 86: Terminating ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@couchpotato_1:/ # ifconfig | |
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 | |
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> | |
inet6 ::1 prefixlen 128 | |
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 | |
inet 127.0.0.1 netmask 0xff000000 | |
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> | |
epair2b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 | |
options=8<VLAN_MTU> | |
ether 02:25:12:00:0b:0b |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feb 9 17:15:32 freenas warden: Jail created at /mnt/vol1/jails/sabnzbd_1 | |
Feb 9 17:15:32 freenas rtsold[59377]: <rtsock_input_ifannounce> interface epair3b removed | |
Feb 9 15:15:32 freenas kernel: epair3a: Ethernet address: 02:40:e7:00:0b:0a | |
Feb 9 15:15:32 freenas kernel: epair3b: Ethernet address: 02:40:e7:00:0c:0b | |
Feb 9 15:15:32 freenas kernel: epair3a: link state changed to UP | |
Feb 9 15:15:32 freenas kernel: epair3b: link state changed to UP | |
Feb 9 15:15:32 freenas kernel: epair3a: promiscuous mode enabled | |
Feb 9 17:15:34 freenas ntpd[4469]: bind() fd 32, family AF_INET6, port 123, scope 11, addr fe80::40:e7ff:fe00:b0a, mcast=0 flags=0x11 fails: Can't assign requested address | |
Feb 9 17:15:34 freenas ntpd[4469]: unable to create socket on epair3a (16) for fe80::40:e7ff:fe00:b0a#123 | |
Feb 9 17:15:41 freenas notifier: Performing sanity check on nginx configuration: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feb 7 14:32:21 freenas upsmon[12474]: Communications with UPS ups established | |
Feb 7 14:33:23 freenas upsd[12449]: Data for UPS [ups] is stale - check driver | |
Feb 7 14:33:23 freenas upsd[12449]: UPS [ups] data is no longer stale | |
Feb 7 14:36:28 freenas upsd[12449]: Data for UPS [ups] is stale - check driver | |
Feb 7 14:36:33 freenas upsmon[12474]: Poll UPS [ups] failed - Data stale | |
Feb 7 14:36:33 freenas upsmon[12474]: Communications with UPS ups lost | |
Feb 7 14:36:35 freenas upsd[12449]: UPS [ups] data is no longer stale | |
Feb 7 14:36:38 freenas upsmon[12474]: Communications with UPS ups established | |
Feb 7 14:37:05 freenas upsd[12449]: Data for UPS [ups] is stale - check driver | |
Feb 7 14:37:07 freenas upsd[12449]: UPS [ups] data is no longer stale |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50.115.209.83 - - [31/Jan/2014:19:04:06 +0000] "GET /2012/ruby/the-urbanairship-gem-sending-push-notifications-with-ruby/ HTTP/1.0" 500 155 "-" "WordPress/3.5.2; https://engineering.groupon.com" "-" "-" "-" "-" "-" "-" "-" "engineering.groupon.com" "-" "-" "-" "0.018" "0.006" "-" "1391195046.260" "-" "-" | |
[snipped several hundred 500 responses] | |
77.100.245.124 - - [31/Jan/2014:19:09:41 +0000] "GET /feed HTTP/1.1" 500 193 "-" "-" "-" "-" "-" "-" "-" "-" "-" "engineering.groupon.com" "-" "-" "-" "0.343" "0.001" "-" "1391195381.451" "-" "-" | |
85.17.156.99 - - [31/Jan/2014:19:09:59 +0000] "GET / HTTP/1.1" 200 81540 "-" "Pingdom.com_bot_version_1.4_(http://www.pingdom.com/)" "-" "-" "-" "-" "-" "-" "-" "engineering.groupon.com" "-" "-" "-" "2.103" "1.194" "-" "1391195399.526" "-" "-" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
listaccounts | |
{ | |
"" : 1850.00000000, | |
"Mining" : 0.00000000, | |
"foo" : 0.00000000 | |
} |