00:00
vertis has joined #rubygems
00:04
vertis has quit [Ping timeout: 245 seconds]
00:22
tenderlo_ has quit [Remote host closed the connection]
00:31
vertis has joined #rubygems
00:31
bjessbrown has joined #rubygems
00:35
vertis has quit [Ping timeout: 240 seconds]
00:36
bjessbrown has quit [Ping timeout: 264 seconds]
00:43
vertis has joined #rubygems
01:36
bjessbrown has joined #rubygems
01:44
lsegal has joined #rubygems
01:48
jcaudle has joined #rubygems
01:51
huoxito has joined #rubygems
02:14
vertis1 has joined #rubygems
02:14
vertis has quit [Read error: Connection reset by peer]
02:25
jfoy has quit [Quit: jfoy]
02:38
soraher is now known as sorah_
02:38
sorah_ is now known as soraher
02:41
lsegal has quit [Read error: Connection reset by peer]
02:41
lsegal has joined #rubygems
02:54
havenwood has quit [Remote host closed the connection]
02:54
havenwood has joined #rubygems
02:59
havenwood has quit [Ping timeout: 264 seconds]
03:04
tjbiddle has quit [Quit: tjbiddle]
03:08
bjessbrown has quit [Remote host closed the connection]
03:39
bjessbrown has joined #rubygems
03:48
bjessbrown has quit [Ping timeout: 264 seconds]
03:51
lsegal has quit [Read error: Connection reset by peer]
03:51
lsegal has joined #rubygems
04:16
martinisoft has quit [Quit: martinisoft]
05:04
mootpointer has joined #rubygems
05:13
corundum has quit [Quit: okay bye]
05:20
shtirlic has quit [Ping timeout: 264 seconds]
05:23
shtirlic has joined #rubygems
05:26
DanKnox is now known as DanKnox_away
05:38
mootpointer has quit [Quit: ENOCAFFEINE.]
05:40
mootpointer has joined #rubygems
05:54
jonahR has joined #rubygems
06:25
havenwood has joined #rubygems
06:35
huoxito has quit [Quit: Leaving]
07:00
vertis1 has quit [Quit: Leaving.]
07:00
mootpointer has quit [Ping timeout: 245 seconds]
07:05
jonahR has quit [Ping timeout: 260 seconds]
07:19
corundum has joined #rubygems
07:22
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
07:50
havenwood has quit [Remote host closed the connection]
07:50
havenwood has joined #rubygems
07:55
havenwood has quit [Ping timeout: 264 seconds]
08:00
jonahR has joined #rubygems
08:21
havenwood has joined #rubygems
08:23
havenwood has quit [Read error: Connection reset by peer]
08:26
niska has quit [Ping timeout: 245 seconds]
08:30
niska has joined #rubygems
08:33
closer has joined #rubygems
08:35
adambeynon has joined #rubygems
08:40
closer009 has quit [*.net *.split]
08:45
specialunderwear has joined #rubygems
09:18
jonahR has quit [Quit: jonahR]
09:26
vertis has joined #rubygems
09:50
havenwood has joined #rubygems
10:03
havenwood has quit [Remote host closed the connection]
10:15
danmcclain has quit [Ping timeout: 264 seconds]
10:18
danmcclain has joined #rubygems
10:25
bjessbrown has joined #rubygems
10:36
tekin has joined #rubygems
11:21
havenwood has joined #rubygems
11:26
havenwood has quit [Ping timeout: 246 seconds]
11:42
havenwood has joined #rubygems
11:47
tekin has joined #rubygems
11:51
tekin has quit [Client Quit]
11:52
havenwood has quit [Remote host closed the connection]
11:52
havenwood has joined #rubygems
11:57
havenwood has quit [Ping timeout: 268 seconds]
12:29
tekin has joined #rubygems
12:49
stevenharman has quit [Quit: Leaving...]
12:49
shevy has quit [Read error: Connection reset by peer]
12:51
havenwood has joined #rubygems
12:56
jonahR has joined #rubygems
12:56
havenwood has quit [Ping timeout: 264 seconds]
12:58
closer has quit [Ping timeout: 260 seconds]
13:00
closer has joined #rubygems
13:06
shevy has joined #rubygems
13:15
havenwood has joined #rubygems
13:18
stevenharman has joined #rubygems
13:24
tekin has quit [Ping timeout: 268 seconds]
13:25
havenwood has quit [Remote host closed the connection]
13:25
havenwood has joined #rubygems
13:27
tekin has joined #rubygems
13:30
havenwood has quit [Ping timeout: 264 seconds]
13:35
havenwood has joined #rubygems
13:43
tekin has quit [Quit: Computer has gone to sleep.]
13:47
havenwood has quit [Remote host closed the connection]
13:47
havenwood has joined #rubygems
13:49
hasrb has joined #rubygems
13:50
marpaia has joined #rubygems
13:52
havenwood has quit [Ping timeout: 245 seconds]
14:00
tekin has joined #rubygems
14:16
dml has joined #rubygems
14:16
dml is now known as Guest35775
14:16
Guest35775 has quit [Client Quit]
14:17
dml_ has joined #rubygems
14:29
adambeynon has joined #rubygems
14:30
specialunderwear has quit [Remote host closed the connection]
14:48
havenwood has joined #rubygems
14:50
corundum has quit [Read error: Connection reset by peer]
15:04
wdperson has joined #rubygems
15:13
corundum has joined #rubygems
15:16
marpaia has quit [Ping timeout: 245 seconds]
15:16
havenwood has quit [Remote host closed the connection]
15:17
havenwood has joined #rubygems
15:27
havenwood has quit [Remote host closed the connection]
15:27
havenwood has joined #rubygems
15:32
havenwood has quit [Ping timeout: 256 seconds]
15:33
marpaia has joined #rubygems
15:35
TheComrade has joined #rubygems
15:37
TheComrade has quit [Read error: Operation timed out]
15:53
karlfreeman has quit [Excess Flood]
15:53
karlfreeman has joined #rubygems
15:54
hasrb has quit [Remote host closed the connection]
15:57
havenwood has joined #rubygems
16:02
bjessbrown has quit [Remote host closed the connection]
16:03
bjessbrown has joined #rubygems
16:05
bjessbrown has quit [Remote host closed the connection]
16:10
shtirlic has quit [Ping timeout: 264 seconds]
16:12
shtirlic has joined #rubygems
16:24
blackjid has quit [Remote host closed the connection]
16:25
blackjid has joined #rubygems
16:27
havenwood has quit [Remote host closed the connection]
16:28
havenwood has joined #rubygems
16:33
havenwood has quit [Ping timeout: 264 seconds]
16:34
havenwood has joined #rubygems
16:37
hasrb has joined #rubygems
16:38
mikeg has joined #rubygems
16:39
<
mikeg >
I'm looking for gemrc documentation. most google links point to docs.rubygems.org but that doesn't seem to be working
16:53
jaimef has quit [Excess Flood]
16:54
<
mikeg >
I think I have /etc/gemrc set right now but gem doesn't seem to be reading it. I'm trying to set a remote source
16:55
huoxito has joined #rubygems
16:58
jaimef has joined #rubygems
17:04
bjessbrown has joined #rubygems
17:04
jfoy has joined #rubygems
17:07
DanKnox_away is now known as DanKnox
17:19
huoxito has quit [Ping timeout: 260 seconds]
17:41
DanKnox is now known as DanKnox_away
17:57
tjbiddle has joined #rubygems
17:57
DanKnox_away is now known as DanKnox
18:00
tenderlove has joined #rubygems
18:02
stevenharman has quit [Quit: Leaving...]
18:03
stevenharman has joined #rubygems
18:06
indirect- has joined #rubygems
18:07
indirect_ has quit [Ping timeout: 260 seconds]
18:08
stevenharman has quit [Ping timeout: 264 seconds]
18:08
indirect_ has joined #rubygems
18:11
indirect- has quit [Ping timeout: 256 seconds]
18:27
stevenharman has joined #rubygems
18:36
corundum has quit [Read error: Connection reset by peer]
18:38
pumper has joined #rubygems
18:47
jaimef has quit [Excess Flood]
18:49
huoxito has joined #rubygems
18:53
pumper has left #rubygems ["Leaving"]
18:54
jaimef has joined #rubygems
19:15
tenderlove has quit [Remote host closed the connection]
19:36
jaimef has quit [Excess Flood]
19:42
jaimef has joined #rubygems
19:44
jaimef has quit [Excess Flood]
19:51
jaimef has joined #rubygems
20:10
tubbo has joined #rubygems
20:29
havenwood has quit [Read error: Connection reset by peer]
20:29
havenwood has joined #rubygems
20:31
dangerousdave has joined #rubygems
20:34
tubbo has left #rubygems [#rubygems]
20:42
mikeg has quit [Remote host closed the connection]
20:47
DanKnox is now known as DanKnox_away
20:49
tenderlove has joined #rubygems
20:50
jaimef has quit [Excess Flood]
20:53
jaimef has joined #rubygems
20:56
dangerousdave has quit [Read error: Connection reset by peer]
20:56
dangerousdave has joined #rubygems
21:10
corundum has joined #rubygems
21:10
dangerousdave has quit [Read error: Connection reset by peer]
21:10
dangerousdave has joined #rubygems
21:15
corundum has quit [Quit: seeya]
21:15
vertis has quit [Quit: Leaving.]
21:21
corundum has joined #rubygems
21:21
huoxito has quit [Quit: Leaving]
21:45
havenwood has quit [Remote host closed the connection]
21:46
havenwood has joined #rubygems
21:46
dangerousdave has quit [Quit: Leaving...]
21:54
DanKnox_away is now known as DanKnox
21:57
huoxito has joined #rubygems
22:03
marpaia has quit [Quit: WeeChat 0.4.1]
22:08
<
drbrain >
I see Gem::DependencyInstaller finding json-1.8-java before starting the resolver
22:08
<
drbrain >
but the resolver strips the platform
22:08
imperator has joined #rubygems
22:09
jaimef has quit [Excess Flood]
22:10
stevenharman has quit [Quit: Leaving...]
22:11
jaimef has joined #rubygems
22:18
adam12 has joined #rubygems
22:22
<
adam12 >
bundler appears to be stuck on 'Fetching source index from
http://rubygems.org/ ' -- can't decide if this is a bundler issue or rubygems issue. Thoughts?
22:22
<
drbrain >
adam12: if `gem install` works in a reasonable amount of time, the problem is probably bundler's
22:22
<
adam12 >
Good idea - I'll try that.
22:23
workmad3 is now known as wm3|zzz
22:25
hakunin has joined #rubygems
22:26
hakunin has quit [Remote host closed the connection]
22:26
zenspider has joined #rubygems
22:26
hakunin has joined #rubygems
22:26
<
zenspider >
EVAN! :(((((
22:26
<
zenspider >
evan: I just tried to push a gem and got 500. this makes me very very sad
22:27
<
zenspider >
again... reproducible
22:31
<
adam12 >
bundler wants to download the gemspec for every gem
22:31
<
drbrain >
samkottler: can you fix the `gem push` problem?
22:33
<
zenspider >
well... at least I got a new minitest out the door.
22:33
<
zenspider >
the status page says that rubygems.org is green. this is NOT true.
22:34
<
lmarburger >
adam12: you can ask in #bundler but how large is your gemfile? if you have more than 100 gems it'll resort to downloading the index instead of using the api.
22:34
<
adam12 >
Only a couple lines. verbose kicked out a bit more information.
22:35
<
adam12 >
Looks like a call to the rubygems API might have failed. Maybe bundler didnt' know what to do after that.
22:37
<
zenspider >
if you have more than 100 gems, you have other problems...
22:37
<
zenspider >
GRRRRRRR why can't I push?!?!
22:38
vertis has joined #rubygems
22:40
<
lmarburger >
adam12: i'd suggest asking in #bundler
22:40
<
adam12 >
I'm gonna leave it for now - maybe it will resolve itself :)
22:40
<
lmarburger >
heh that works too
22:40
brycek has joined #rubygems
22:40
zenspider has left #rubygems ["ERC Version 5.3 (IRC client for Emacs)"]
22:40
<
adam12 >
I tried the request manually via curl - other than being formatted like shit it came back OK
22:43
hasrb has quit [Remote host closed the connection]
22:44
adam12 has quit [Remote host closed the connection]
22:48
<
samkottler >
drbrain: hey sorry I just got back online
22:48
<
samkottler >
drbrain: is it 500'ing out?
22:48
<
drbrain >
it seems to be
22:50
<
samkottler >
drbrain: it should be fixed now
22:50
<
samkottler >
I will get alerting working this weekend
22:50
<
samkottler >
evan: the logrotate rule isn't working
22:50
<
evan >
are you sure? I'm going to run it now.
22:50
<
samkottler >
evan: nginx logs are getting to be ~4GB per rotation period
22:51
<
evan >
i just cehcked
22:51
<
brycek >
samkottler: was that re: gem posting? because mine just went through too :)
22:51
<
evan >
ah, did you jsut clear them?
22:51
<
samkottler >
evan: I just dumped one of the logs
22:51
<
samkottler >
evan: yeah
22:51
<
samkottler >
brycek: yep, glad it's working again :)
22:52
<
evan >
wtf is with logrotate
22:52
<
evan >
it couldn't be a bigger pain in the ass.
22:53
<
evan >
at least it's actually rotating now
22:53
<
evan >
the problem before was that it was moving the file
22:53
<
evan >
but not sending nginx the signal
22:53
<
evan >
so it continued to write to the rotated file
22:53
<
samkottler >
evan: yeah I see the HUP not doing anything
22:54
<
evan >
did I leave the rotation size as 1M
22:54
stevenharman has joined #rubygems
22:55
<
samkottler >
evan: we have a 400G vol at /mnt
22:55
<
evan >
we're doing > 3Gb per day
22:55
<
samkottler >
evan: let's just start writing there
22:55
<
evan >
so the rotation is just fucking us.
22:55
<
samkottler >
evan: one sec, I'll whip up a PR
22:55
<
samkottler >
this is gonna be hard on my phone, but should be doable
23:03
<
evan >
I can do it.
23:03
<
evan >
will that fix the perms on /mnt so that nginx can write to it?
23:03
<
samkottler >
evan: I already did that
23:03
<
evan >
deploying change now.
23:04
<
samkottler >
evan: thanks
23:04
<
samkottler >
I'll watch
23:06
<
samkottler >
running chef uses 2x more memory than nginx under load
23:07
<
evan >
samkottler: that didn't work
23:07
<
evan >
it didn't update the nginx configs
23:08
<
samkottler >
oh dammit
23:08
<
samkottler >
that's for the app server
23:08
<
evan >
i'll port it to the balancer
23:08
<
samkottler >
we've gotta get rid of this jenky shit with 2 different nginxs
23:08
dml_ has quit [Quit: Computer has gone to sleep.]
23:08
<
evan >
or move, rather.
23:08
<
samkottler >
evan: I'll clean it up, one minute
23:13
tenderlove has quit [Remote host closed the connection]
23:14
<
drbrain >
oh, then the typo was "thats"
23:14
<
samkottler >
evan: we don't currently manage /opt/nginx/conf/nginx.conf
23:15
<
samkottler >
evan: so I'm gonna change it and then manage it with chef this weekend
23:16
bjessbrown has quit [Remote host closed the connection]
23:20
<
samkottler >
we are generating ~8MB/minute in access logs
23:35
<
drbrain >
evan: ping
23:36
<
drbrain >
I need to add a method to get the platform from Gem::DependencyResolver::APISpecification
23:36
rickhull has joined #rubygems
23:37
<
drbrain >
we're not sorting based on platform so a java platform gem may come before a ruby platform gem (specs are tried from last to first)
23:37
<
rickhull >
I'm seeing Gem.bin_path takes over 3 seconds to return
23:37
<
rickhull >
for a rubygems-only binstub
23:37
<
rickhull >
same project via bundler is well under a second
23:37
<
rickhull >
is there something we can tweak without using bundler, or just use bundler?
23:37
<
drbrain >
rickhull: how many gems do you have?
23:38
<
rickhull >
a lot :)
23:38
<
rickhull >
installed on the system
23:38
<
drbrain >
what does: gem list | wc -l say
23:38
<
drbrain >
I have 247
23:38
<
drbrain >
(but mine is fast)
23:39
<
drbrain >
rickhull: so you're running something like: ruby -e 'p Gem.bin_path "rake", "rake"'?
23:39
<
drbrain >
and that takes ~3s?
23:40
<
rickhull >
`substratum` is the gem-provided binstub
23:40
<
rickhull >
`ocs` is the bundler-provided
23:40
<
rickhull >
ran each command of the rubygems binstub in irb
23:40
<
rickhull >
and it was Gem.bin_path that didn't return within 0.1 sec
23:41
<
evan >
drbrain: it should be :platform in api_data
23:41
<
evan >
you can just pull it out in #initialize
23:41
<
drbrain >
evan: thanks
23:41
<
rickhull >
drbrain: hang on, cleaning up the gist
23:44
<
rickhull >
updated gist
23:44
<
drbrain >
thanks, that's much nicer
23:44
<
drbrain >
rickhull: which rubygems?
23:45
<
rickhull >
gem —version # 1.8.23
23:45
<
rickhull >
seems old?
23:45
<
drbrain >
no, that's pretty recent
23:45
<
drbrain >
do you get 3s for: time ruby -e 'gem "substratum"; Gem.bin_path "substratum", "substratum"'
23:45
<
rickhull >
coworker did strace, and the stat'ing of installed gem contents was insanely excessive
23:45
<
drbrain >
(no load)
23:46
<
rickhull >
real 0.151s
23:46
<
drbrain >
so then the problem is in requiring the files
23:46
bjessbrown has joined #rubygems
23:48
<
drbrain >
how many dependencies does substratum have?
23:48
<
rickhull >
a good few
23:48
<
rickhull >
gemspec doesn't look too bad, < 25 runtime deps
23:49
<
rickhull >
updated gist
23:50
<
drbrain >
pcaprub? I'm sorry
23:50
<
drbrain >
its API is the libpcap API which is terrible for rubyists
23:50
<
rickhull >
i think that one's no longer used. this is long-lived project with some dead code
23:50
<
drbrain >
you should use capp!
23:51
<
drbrain >
oh, pcaprub is also GPL, while libpcap is BSD
23:51
<
rickhull >
i don't think we have any *cap needs anymore
23:51
<
rickhull >
but i'll double check and note capp
23:51
<
drbrain >
if you need them again, capp!
23:53
<
drbrain >
are you running this on real hardware, or virtualized?
23:53
<
drbrain >
it shouldn't take 3s of time to activate those gems
23:53
<
rickhull >
cheap commodity hardware
23:54
<
drbrain >
it is a mystery
23:54
<
rickhull >
agree, something is wrong somewhere
23:54
<
drbrain >
can you file a bug and link to your gist?
23:54
<
drbrain >
I need to finish up this 2.1 blocker for jruby
23:54
<
drbrain >
if you want to experiment, try the same on rubygems 2.0.x
23:54
<
rickhull >
sure. i would not be surprised to find something in our environment invalidates a rubygems assumption, something along those lines
23:55
bjessbrown has quit [Ping timeout: 264 seconds]
23:57
<
rickhull >
ah, i see how i described the issue wrong. it's the load, not the Gem.bin_path call
23:58
<
drbrain >
yeah, but no problem :D