<fedenusy>
what about error resistance? my rails app crashes every 6 hours or so (probably mem leak somewhere, haven't been able to track it down).
<fedenusy>
i remember puma handled it very poorly back when i evaluated puma
<fedenusy>
phusion passenger handles it gracefully, just restarts the app
<fedenusy>
does puma / torquebox offer anything similar?
<nirvdrum>
fedenusy: I'd be shocked if Phusion doesn't make it work with 9k.
<nirvdrum>
They don't strike me as being so principled as to cut out all future JRuby deployments.
<nirvdrum>
It should also basically work . . . you just get a warning.
<fedenusy>
it doesn't work at the moment
<nirvdrum>
Unless their close-on-exec isn't used just for resource cleanup.
<fedenusy>
just tried
<nirvdrum>
bundler tries to use it as well and you just get a warning.
mdedetrich has joined #jruby
<fedenusy>
phusion passenger seemed to load fine with jruby 9. i should've copied the exact bug, but at the time i made a request, passenger threw a NotImplementedError related to close-on-exec
<fedenusy>
i'll try it again and file a ticket with passenger
blaines has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Antiarc>
fedenusy: Regardless if any other consideration, you should have monitoring in place to ensure server availability, ie, via monit or supervisord :)
<fedenusy>
of course
<fedenusy>
passenger handles it very gracefully though, bc it detects dead app processes and replaces them
<fedenusy>
if you hit a puma server with a dead process, you have to wait for restart
<Antiarc>
yup. passenger is a nice package
camlow325 has quit [Remote host closed the connection]
tvo has quit [Quit: Leaving.]
camlow325 has joined #jruby
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
havenwood has joined #jruby
camlow325 has quit []
Hobogrammer has joined #jruby
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Remote host closed the connection]
subbu has quit [Ping timeout: 244 seconds]
mdedetrich has joined #jruby
xkickflip has quit [Quit: xkickflip]
xkickflip has joined #jruby
Hobogrammer_ has joined #jruby
Hobogrammer has quit [Ping timeout: 250 seconds]
_djbkd has quit [Remote host closed the connection]
xkickflip_ has joined #jruby
havenwood has quit [Ping timeout: 256 seconds]
xkickflip has quit [Ping timeout: 264 seconds]
xkickflip_ is now known as xkickflip
xkickflip has quit [Client Quit]
tvo has joined #jruby
tvo has joined #jruby
havenwood has joined #jruby
_djbkd has joined #jruby
subbu has joined #jruby
tvo has quit [Quit: Leaving.]
deobalds has joined #jruby
skade has joined #jruby
yfeldblum has joined #jruby
Hobogrammer_ has quit [Ping timeout: 250 seconds]
subbu has quit [Ping timeout: 246 seconds]
nirvdrum has quit [Ping timeout: 246 seconds]
mjelen has joined #jruby
rsim has joined #jruby
_djbkd has quit [Quit: My people need me...]
skade has quit [Quit: Computer has gone to sleep.]
SynrG has quit [Ping timeout: 240 seconds]
SynrG has joined #jruby
mjelen_ has joined #jruby
pietr0 has quit [Quit: pietr0]
mjelen has quit [Ping timeout: 264 seconds]
mdedetrich has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjfish2 has joined #jruby
e_dub has quit [Ping timeout: 255 seconds]
e_dub has joined #jruby
shellac has quit [Ping timeout: 264 seconds]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] eregon pushed 2 new commits to master: http://git.io/vmOdN
<JRubyGithub>
jruby/master 7e89610 Benoit Daloze: [Truffle] Inline ThreadManager.runOnce() to have more flexibility.
<JRubyGithub>
jruby/master 79e2bd4 Benoit Daloze: [Truffle] Make ThreadManager.runOnce() private....
JRubyGithub has left #jruby [#jruby]
pietr0 has quit [Ping timeout: 256 seconds]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] eregon pushed 4 new commits to master: http://git.io/vmObT
<JRubyGithub>
jruby/master dfc5f8a Benoit Daloze: [Truffle] Use a separate flag for waking up a thread....
<JRubyGithub>
jruby/master 2eca2cb Benoit Daloze: [Truffle] We do not properly lock on require yet so tag the concurrent specs.
<JRubyGithub>
jruby/master 27d7722 Benoit Daloze: [Truffle] Follow Ruby semantics more closely for Thread#run.
JRubyGithub has left #jruby [#jruby]
Hobogrammer has joined #jruby
pietr0 has joined #jruby
phlebas has joined #jruby
iamjarvo has joined #jruby
arturaz has quit [Ping timeout: 265 seconds]
enebo has joined #jruby
rsim1 has quit [Quit: Leaving.]
pietr0_ has joined #jruby
pietr0 has quit [Ping timeout: 252 seconds]
pietr0_ is now known as pietr0
<bbrowning>
enebo: I'm trying to track it down now, but TB3 integs run against JRuby 9k are seeing some org.jruby.Ruby instances not getting GC'd
<enebo>
bbrowning: uh oh :)
<bbrowning>
it looks like the JITCompiler mbean isn't being unregistered, but looking at the code I'm not sure how that's happening
<bbrowning>
the code definitely calls unregisterCompiler()
<enebo>
bbrowning: so likely mbean holding a reference to something and not going away?
<enebo>
bbrowning: sometimes it makes me think we need push notification for that mbean ;)
<bbrowning>
in my heap dump I have 41 runtimes and so far found 6 that are only being retained bc of the JITCompiler mbean
<bbrowning>
I haven't checked all of them yet
<bbrowning>
and yes, the mbean holds a strong reference to the runtime
<enebo>
bbrowning: I made a fair amount of changes to JITCompiler itself in the last month or two but they should have zero to do with changing actual references or that MBean
<bbrowning>
I think that's fine though - I just need to find out why the mbean didn't go away when that runtime was torn down
<enebo>
bbrowning: ok. Thanks for digging in. Better now than after final
<bbrowning>
yeah all the tests pass but sometimes I hit an OOM near the end of the test suite
<bbrowning>
which is what caused me to look into things
phlebas has quit [Ping timeout: 265 seconds]
ddarkpassenger has joined #jruby
rcvalle has joined #jruby
jeremyevans has quit [Quit: Lost terminal]
jeremyevans has joined #jruby
shellac has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] bjfish pushed 1 new commit to master: http://git.io/vm3lt
<nirvdrum>
kares: You're familiar with the JRuby ext. API, right?
camlow325 has quit [Remote host closed the connection]
<kares>
nirvdrum: yes I do consulting 50$ per min :)
<nirvdrum>
kares: Bah :-)
donV has joined #jruby
<nirvdrum>
I'm seeking a knowledgeable volunteer to finally annotate the parts needed for the ext. API with an @API annotation so every public method in JRuby doesn't become a de facto API.
<kares>
aaah ... well that would be super-duper but I'm not sure I can handle more volunteer work right now ;(
samphippen has joined #jruby
<kares>
maybe if I join you guys for some truffle work :)
camlow325 has joined #jruby
camlow325 has quit [Remote host closed the connection]
kfpratt has joined #jruby
kares has quit [Remote host closed the connection]
blaines has joined #jruby
shellac has quit [Ping timeout: 256 seconds]
kfpratt has quit [Remote host closed the connection]
shellac has joined #jruby
camlow325 has joined #jruby
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
tenderlove has quit [Quit: Leaving...]
<headius>
bbrowning: I have a couple theories
<headius>
have you found anything new?
fedenusy has quit [Quit: Page closed]
fedenusy has joined #jruby
<bbrowning>
headius: not yet - I added some debug logging and am definitely seeing some JitCompilers getting registered but never unregistered
<bbrowning>
but haven't been able to track it further
<headius>
so it's actually still registered, not just kept alive?
<bbrowning>
yep
<headius>
I was wondering if it might be stuck in a worker pool
<bbrowning>
I'm wondering if perhaps the runtimes are in the process of but not yet torn down
<headius>
something blocking that maybe?
<bbrowning>
yeah that's my next step is to add some more debugging output and run tests again
<headius>
and the others are unregistered ok?
<bbrowning>
I haven't confirmed that either, actually. I suspect they aren't.
<bbrowning>
the others aren't hanging on to runtimes via GC roots, but they may just not have references
dumdedum has quit [Ping timeout: 264 seconds]
<bbrowning>
ie management.Runtime holds its Ruby with a SoftReference
<bbrowning>
I'll add lots more debugging and get back to your questions
<headius>
yeah ok
<headius>
I have something else I can work on anyway
kares has joined #jruby
_djbkd has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] bjfish pushed 1 new commit to master: http://git.io/vmsB5
<JRubyGithub>
jruby/master 08d8234 Brandon Fish: [Truffle] Add more excludes for failing tests
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
flori_ has joined #jruby
clayton_ has joined #jruby
blinsay_ has joined #jruby
michal_papis has joined #jruby
havenwood has quit [*.net *.split]
enebo has quit [*.net *.split]
gaustin has quit [*.net *.split]
amdprophet has quit [*.net *.split]
flori has quit [*.net *.split]
cremes has quit [*.net *.split]
lupine has quit [*.net *.split]
mpapis has quit [*.net *.split]
blinsay has quit [*.net *.split]
bruceadams has quit [*.net *.split]
clayton has quit [*.net *.split]
aemadrid has quit [*.net *.split]
michal_papis is now known as mpapis
clayton_ is now known as clayton
enebo_ is now known as enebo
blinsay_ is now known as blinsay
iamjarvo has joined #jruby
lupine has joined #jruby
haylon has joined #jruby
<haylon>
Could someone take a look at my Rakefile in this project and help me with line 42. I'm trying to take the build.xml and translate it into a Rakefile. https://github.com/predatorian3/sample_ibm_java
bb010g has quit [Quit: Connection closed for inactivity]
freeone3000 has joined #jruby
lanceball is now known as lance|afk
<freeone3000>
I'm using Ruby on Rails through JRuby. I want to depend on a Java dependency, so I stuck the artifact in my JarFile for jbundler. However, at runtime, this artifact doesn't seem to be on the classpath. How can I ensure that jbundler is used to execute my rails application?
<haylon>
Could someone take a look at my Rakefile in this project and help me with line 42. I'm trying to take the build.xml and translate it into a Rakefile. https://github.com/predatorian3/sample_ibm_java
<freeone3000>
Found my issue, I had the gem jbundler but not the require jbundler. Thanks.
freeone3000 has left #jruby ["Konversation terminated!"]
freeone3000 has joined #jruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<headius>
dunno if you wanted to switch to fileset but this matches your original build.xml
xkickflip has quit [Quit: xkickflip]
<headius>
there's a difference between { } and do...end btw, in whether they bind to the closest call or the furthest out
<headius>
you'll usually want do...end here because you're nesting like the XML
subbu has quit [Ping timeout: 255 seconds]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] enebo pushed 1 new commit to master: http://git.io/vmGbu
<JRubyGithub>
jruby/master 16dce38 Thomas E. Enebo: Remove outdated spec
JRubyGithub has left #jruby [#jruby]
<haylon>
@headius, awesome. That did the trick. I'll see if I can find some reading on why the {..(..)..} did what it did, and why do...end does what it does
<haylon>
now to see if I can get IBM ws_ant.sh to work with this as well.