slonopotamus[m] has quit [Ping timeout: 246 seconds]
chrisseaton[m] has quit [Ping timeout: 240 seconds]
XavierNoriaGitte has quit [Ping timeout: 240 seconds]
BlaneDabneyGitte has quit [Ping timeout: 240 seconds]
ahorek[m] has quit [Ping timeout: 240 seconds]
liamwhiteGitter[ has quit [Ping timeout: 246 seconds]
CharlesOliverNut has quit [Ping timeout: 246 seconds]
TimGitter[m]1 has quit [Ping timeout: 246 seconds]
OlleJonssonGitte has quit [Ping timeout: 246 seconds]
UweKuboschGitter has quit [Ping timeout: 246 seconds]
byteit101[m] has quit [Ping timeout: 246 seconds]
MattPattersonGit has quit [Ping timeout: 246 seconds]
dentarg[m] has quit [Ping timeout: 246 seconds]
MarcinMielyskiGi has quit [Ping timeout: 246 seconds]
RomainManni-Buca has quit [Ping timeout: 246 seconds]
ChrisSeatonGitte has quit [Ping timeout: 246 seconds]
TimGitter[m] has quit [Ping timeout: 246 seconds]
lopex[m] has quit [Ping timeout: 246 seconds]
JulesIvanicGitte has quit [Ping timeout: 258 seconds]
daveg_lookout[m] has quit [Ping timeout: 258 seconds]
FlorianDoubletGi has quit [Ping timeout: 258 seconds]
enebo[m] has quit [Ping timeout: 244 seconds]
kovyrin[m] has quit [Ping timeout: 244 seconds]
boc_tothefuture[ has quit [Ping timeout: 244 seconds]
JesseChavezGitte has quit [Ping timeout: 244 seconds]
kai[m] has quit [Ping timeout: 246 seconds]
kares[m] has quit [Ping timeout: 268 seconds]
truths33ker[m] has quit [Ping timeout: 260 seconds]
KarolBucekGitter has quit [Ping timeout: 260 seconds]
GGibson[m] has quit [Ping timeout: 260 seconds]
rdubya[m] has quit [Ping timeout: 244 seconds]
headius[m] has quit [Ping timeout: 246 seconds]
lopex has quit [Ping timeout: 274 seconds]
lopex has joined #jruby
ur5us has quit [Ping timeout: 260 seconds]
lopex[m] has joined #jruby
JesseChavezGitte has joined #jruby
enebo[m] has joined #jruby
boc_tothefuture[ has joined #jruby
rdubya[m] has joined #jruby
kovyrin[m] has joined #jruby
ChrisSeatonGitte has joined #jruby
slonopotamus[m] has joined #jruby
RomainManni-Buca has joined #jruby
MarcinMielyskiGi has joined #jruby
dentarg[m] has joined #jruby
CharlesOliverNut has joined #jruby
TimGitter[m]1 has joined #jruby
headius[m] has joined #jruby
OlleJonssonGitte has joined #jruby
hopewise[m] has joined #jruby
UweKuboschGitter has joined #jruby
TimGitter[m] has joined #jruby
liamwhiteGitter[ has joined #jruby
kares[m] has joined #jruby
MattPattersonGit has joined #jruby
byteit101[m] has joined #jruby
daveg_lookout[m] has joined #jruby
FlorianDoubletGi has joined #jruby
JulesIvanicGitte has joined #jruby
BlaneDabneyGitte has joined #jruby
ahorek[m] has joined #jruby
chrisseaton[m] has joined #jruby
XavierNoriaGitte has joined #jruby
truths33ker[m] has joined #jruby
KarolBucekGitter has joined #jruby
XavierNoriaGitte has quit [Ping timeout: 240 seconds]
kares[m] has quit [Ping timeout: 240 seconds]
liamwhiteGitter[ has quit [Ping timeout: 246 seconds]
daveg_lookout[m] has quit [Ping timeout: 240 seconds]
boc_tothefuture[ has quit [Ping timeout: 240 seconds]
MattPattersonGit has quit [Ping timeout: 244 seconds]
lopex[m] has quit [Ping timeout: 244 seconds]
FlorianDoubletGi has quit [Ping timeout: 240 seconds]
rdubya[m] has quit [Ping timeout: 240 seconds]
JesseChavezGitte has quit [Ping timeout: 240 seconds]
kovyrin[m] has quit [Ping timeout: 240 seconds]
ahorek[m] has quit [Ping timeout: 246 seconds]
KarolBucekGitter has quit [Ping timeout: 246 seconds]
enebo[m] has quit [Ping timeout: 246 seconds]
TimGitter[m] has quit [Ping timeout: 268 seconds]
dentarg[m] has quit [Ping timeout: 240 seconds]
JulesIvanicGitte has quit [Ping timeout: 258 seconds]
byteit101[m] has quit [Ping timeout: 258 seconds]
slonopotamus[m] has quit [Ping timeout: 244 seconds]
RomainManni-Buca has quit [Ping timeout: 244 seconds]
MarcinMielyskiGi has quit [Ping timeout: 244 seconds]
OlleJonssonGitte has quit [Ping timeout: 240 seconds]
UweKuboschGitter has quit [Ping timeout: 258 seconds]
BlaneDabneyGitte has quit [Ping timeout: 260 seconds]
TimGitter[m]1 has quit [Ping timeout: 260 seconds]
truths33ker[m] has quit [Ping timeout: 268 seconds]
chrisseaton[m] has quit [Ping timeout: 268 seconds]
hopewise[m] has quit [Ping timeout: 268 seconds]
CharlesOliverNut has quit [Ping timeout: 268 seconds]
headius[m] has quit [Ping timeout: 268 seconds]
ChrisSeatonGitte has quit [Ping timeout: 268 seconds]
ur5us has joined #jruby
dentarg[m] has joined #jruby
ur5us_ has joined #jruby
ur5us has quit [Ping timeout: 258 seconds]
GGibson[m] has joined #jruby
kai[m] has joined #jruby
lopex[m] has joined #jruby
enebo[m] has joined #jruby
byteit101[m] has joined #jruby
BlaneDabneyGitte has joined #jruby
headius[m] has joined #jruby
hopewise[m] has joined #jruby
ChrisSeatonGitte has joined #jruby
KarolBucekGitter has joined #jruby
ahorek[m] has joined #jruby
boc_tothefuture[ has joined #jruby
TimGitter[m] has joined #jruby
MattPattersonGit has joined #jruby
FlorianDoubletGi has joined #jruby
UweKuboschGitter has joined #jruby
RomainManni-Buca has joined #jruby
MarcinMielyskiGi has joined #jruby
rdubya[m] has joined #jruby
kovyrin[m] has joined #jruby
chrisseaton[m] has joined #jruby
daveg_lookout[m] has joined #jruby
JulesIvanicGitte has joined #jruby
JesseChavezGitte has joined #jruby
truths33ker[m] has joined #jruby
liamwhiteGitter[ has joined #jruby
slonopotamus[m] has joined #jruby
XavierNoriaGitte has joined #jruby
CharlesOliverNut has joined #jruby
OlleJonssonGitte has joined #jruby
kares[m] has joined #jruby
TimGitter[m]1 has joined #jruby
joast has joined #jruby
ur5us_ has quit [Ping timeout: 240 seconds]
ur5us_ has joined #jruby
ur5us_ has quit [Ping timeout: 264 seconds]
fidothe has quit [Quit: Connection closed for inactivity]
nhh[m] has joined #jruby
<headius[m]>
enebo: hey when you verify on WIndows you don't build JRuby on Windows, right?
<headius[m]>
this irb+reline update is problematic because it requires the io-console gem, and we have not been able to get them to do a -java release of that gem that doesn't require C ext pipline
<daveg_lookout[m]>
headius: Just a heads up, we had an instance running 9.2.14.0+Monitor monkeypatch wedge overnight. Thread count spiked and a few seconds later instance was killed and replaced by load balancer. I'm still trying to figure out what happened, this appears more like an AR lock than a repeat of a Redis lock. I'm not sure I'm going to figure much out here, but I'll keep on trying. I'll let you know if it happen again.
<headius[m]>
ok hopefully you are able to learn more or it never happens again
<enebo[m]>
headius: I never try to build on windows although I do build on windows occasionally when there is something like a patch
<headius[m]>
ok
<headius[m]>
this is related to new irb+reline
<headius[m]>
reline depends on the io-console gem, which normally has a C ext
<headius[m]>
we use an FFI version that I am trying to get into the gem, but in the short term they modified the C ext to generate a dummy makefile on JRuby
<headius[m]>
unfortunately although that avoids building the C ext it means we have to have `make` present, so you can't install it on a typical Windows JRuby rig
<enebo[m]>
ah
<headius[m]>
I am trying to convince them to do a -java platform gem that has the FFI stuff even if it isn't 100% compat yet
<headius[m]>
issue there is that WSL does not appear to fully support the file descriptors that inotify uses, and when we try to fstat such a descriptor it blows up
<headius[m]>
the fix I am looking at is to use fcntl... pretty much every platform must have fcntl right?
<headius[m]>
MRI appears to use it to verify the incoming fd for IO.new so I am hoping that will be a clean fix
<enebo[m]>
You got me. I would have thought fstat was more common at least in how it works
<headius[m]>
but they guard it in an ifdef if fcntl is available
<enebo[m]>
fcntl used to be a hodge podge of incompatible options between even unixy stuff
<enebo[m]>
that may have changed in the following decades :)
<headius[m]>
but still present at least?
<enebo[m]>
well all unixy platforms has it
<headius[m]>
all I want is to use GETFL to see if the fd is valid and open
<enebo[m]>
have
<headius[m]>
that is how MRI verifies it (and gets original oflags)
<enebo[m]>
I believe ioctl GETFL is very very old
<enebo[m]>
As in I remember using it a long time ago
<enebo[m]>
I would be surprised if platforms like *BSDs do not also have it
<enebo[m]>
hahah there will be some deep magic in figuring it out in code base on how many people cannot figure it out from the command line (amd I in 1 or 2)
<enebo[m]>
That is interesting
<enebo[m]>
they actually prefer FCNTL
<headius[m]>
yeah I did not remember that from working on this code years ago
<enebo[m]>
the ignore fstat error gives me feelings but I think we have not ever raised there for any other reason
<headius[m]>
yeah I don't know what else to do there
<headius[m]>
not sure how to determine if it is a file other than fstat
<headius[m]>
aaargh maven
<headius[m]>
some days the damn thing propagates in 5 minutes and sometimes not for an hour or more
<headius[m]>
master might be broken until options 1.5 is available... I thought I gave it ample time
subbu|lunch is now known as subbu
<headius[m]>
enebo: ok so I confirmed that patch works on WSL1 but I can't run WSL2 in a VM
<headius[m]>
I can reboot into native Windows later but I have asked the folks on that issue if they can verify also
<enebo[m]>
ok
<headius[m]>
this MBP is too old to support nested virtualization apparently
ur5us_ has joined #jruby
peacand has joined #jruby
<peacand>
Hi !
<headius[m]>
peacand: hello!
<peacand>
I've logged the issue https://github.com/jruby/jruby/issues/6529 which will be released with the future 9.2.15 if I understood properly. I'm actually a Logstash user, not JRuby directly. And I wonder if there would be an easy way to include this fix in JRuby for Logstash, without doing stuff too "hackish"
<headius[m]>
ahh that was you
<peacand>
that was me :)
<peacand>
thank you again for the quick fix (y)
<headius[m]>
well to be honest I do not know how logstash packages JRuby or what their upgrade cycle is like
<headius[m]>
the fix is ultimately trivial and would just involve swapping the core of JRuby
<headius[m]>
you might want to open an issue with them so they know about this problem, and they may be able to help you get Logstash running on a build of this for now
<headius[m]>
Thank you for the report!
<peacand>
to be honest I dont know much how JRuby works, it's the first time I dig in "that deep" to understand why I had file descriptor leaks
<headius[m]>
impressive start
<headius[m]>
yeah I think your best bet is to contact logstash folks then
<peacand>
But ... Basically is JRuby only a Jar file ? Do you think there is a good chance Logstash will work if I just swap the JRuby jar with a new one including the fix ?
<headius[m]>
we have periodic snapshots of 9.2.x that can be used so you don't have to build on your own, but beyond that it is a logstash config situation I guess
<headius[m]>
very good chance that swapping the jruby jar will just work
<peacand>
Yes I've also opened an issue on Logstash, of course ;D . But unfortunately they are not as efficient as your are
<headius[m]>
those are built on every successful push to 9.2 branch
<peacand>
That's why I'm asking here for advices as well. Maybe there are some good guys who could help
<headius[m]>
in here, I believe kares has been working with or on logstash for some time and he might know how to swap this in safely... but if you can locate the JRuby jar in your logstash setup, it is worth trying to swap it
<peacand>
ok thx ! I'll give a try. And, there is absolutely no workaround to prevent the fd to leak ? I mean without applying the fix in JRuby
<headius[m]>
ahh I see your logstash issue
<headius[m]>
I will comment there so they know everything is all set on our end
<peacand>
thank you !
<headius[m]>
Good luck!
peacand24 has joined #jruby
peacand is now known as Guest94269
peacand24 is now known as peacand
Guest94269 has quit [Ping timeout: 248 seconds]
peacand has quit [Ping timeout: 248 seconds]
peacand has joined #jruby
<peacand>
arrfff it does not seem to work as easily as replacing the Jar
<peacand>
"(GemNotFound) Could not find jruby-openssl-0.10.4-java in any of the sources" when trying to start logstash with the Jar of the latest build
<peacand>
Is there any way for me to "backport" the fix in version 9.2.13 ? So that Logstash will be happy because the Jruby version does not change maybe
ur5us_ has quit [Ping timeout: 264 seconds]
Iambchop has quit [Read error: Connection reset by peer]
Iambchop has joined #jruby
nhh[m] has quit [Ping timeout: 246 seconds]
CharlesOliverNut has quit [Ping timeout: 246 seconds]
ChrisSeatonGitte has quit [Ping timeout: 246 seconds]
CharlesOliverNut has joined #jruby
nhh[m] has joined #jruby
<peacand>
@CharlesOliverNut ?
<headius[m]>
hey there
<headius[m]>
sorry doing other stuff
<headius[m]>
that is too bad
<peacand>
arff I'm quite sad about that :-(. I really need to find a way to workaround this issue. For the moment the only way which seem possible is to port my Logstash plugin in pure Java, but it's a lot of work just to workaround this issue. Even if the Logstash team upgrade JRuby in the current version, I will not be able to upgrade my production on the latest version of Logstash easily
<headius[m]>
hmmm
<headius[m]>
what was the name of the file you replaced?
<headius[m]>
I did not think they did a lot of repackaging but I don't know
ChrisSeatonGitte has joined #jruby
CharlesOliverNut has quit [Ping timeout: 268 seconds]
daveg_lookout[m] has quit [Ping timeout: 268 seconds]
JesseChavezGitte has quit [Ping timeout: 268 seconds]
liamwhiteGitter[ has quit [Ping timeout: 268 seconds]
KarolBucekGitter has quit [Ping timeout: 268 seconds]
byteit101[m] has quit [Ping timeout: 268 seconds]
kai[m] has quit [Ping timeout: 268 seconds]
<peacand>
jruby-complete-9.2.13.0.jar
<peacand>
I dont know much about java/jruby packaging, but I had a look at their Gradle config and they fetch the jruby tar ball from https://repo1.maven.org/maven2/org/jruby/jruby-dist. So it looks like during the build, they dont just pull the jar, maybe they repackage some stuff. Dont know actually
OlleJonssonGitte has quit [Ping timeout: 260 seconds]
JulesIvanicGitte has quit [Ping timeout: 260 seconds]
kares[m] has quit [Ping timeout: 260 seconds]
boc_tothefuture[ has quit [Ping timeout: 260 seconds]
MattPattersonGit has quit [Ping timeout: 260 seconds]