ur5us has quit [Ping timeout: 240 seconds]
ur5us has joined #jruby
_whitelogger has joined #jruby
ur5us has quit [Ping timeout: 240 seconds]
lopex[m] has quit [Quit: killed]
annette[m]2 has quit [Quit: killed]
enebo[m] has quit [Quit: killed]
taylorine[m] has quit [Quit: killed]
XavierNoriaGitte has quit [Quit: killed]
shiri[m] has quit [Quit: killed]
kai[m] has quit [Quit: killed]
nikolaos[m] has quit [Quit: killed]
csharpsteen[m] has quit [Quit: killed]
xardion[m] has quit [Quit: killed]
CharlesOliverNut has quit [Quit: killed]
MarcinMielyskiGi has quit [Quit: killed]
OlleJonssonGitte has quit [Quit: killed]
rebelwarrior[m] has quit [Quit: killed]
MattPattersonGit has quit [Quit: killed]
JulesIvanicGitte has quit [Quit: killed]
alexej[m] has quit [Quit: killed]
patrice[m] has quit [Quit: killed]
RomainManni-Buca has quit [Quit: killed]
GabrielMazetto[m has quit [Quit: killed]
donv[m] has quit [Quit: killed]
rcrews[m] has quit [Quit: killed]
jeremy[m]4 has quit [Quit: killed]
ahorek[m] has quit [Quit: killed]
amit_suryavanshi has quit [Quit: killed]
BlaneDabneyGitte has quit [Quit: killed]
UweKuboschGitter has quit [Quit: killed]
JesseChavezGitte has quit [Quit: killed]
TimGitter[m]1 has quit [Quit: killed]
mator[m] has quit [Quit: killed]
FlorianDoubletGi has quit [Quit: killed]
pedran[m] has quit [Quit: killed]
jean[m]2 has quit [Quit: killed]
gisela[m] has quit [Quit: killed]
carla[m] has quit [Quit: killed]
byteit101[m] has quit [Quit: killed]
liamwhiteGitter[ has quit [Quit: killed]
mark_menard[m] has quit [Quit: killed]
ChrisSeatonGitte has quit [Quit: killed]
rdubya[m] has quit [Quit: killed]
emil[m] has quit [Quit: killed]
fzakaria1 has quit [Quit: killed]
walter[m] has quit [Quit: killed]
nieve[m] has quit [Quit: killed]
headius[m] has quit [Quit: killed]
natemccurdy[m] has quit [Quit: killed]
KarolBucekGitter has quit [Quit: killed]
bhishm_boy[m] has quit [Quit: killed]
chrisseaton[m] has quit [Quit: killed]
johnphillips3141 has quit [Quit: killed]
kares[m] has quit [Quit: killed]
TimGitter[m] has quit [Quit: killed]
invictus78[m] has quit [Quit: killed]
FlorianDoubletGi has joined #jruby
taylorine[m] has joined #jruby
walter[m] has joined #jruby
pedran[m] has joined #jruby
annette[m] has joined #jruby
patrice[m] has joined #jruby
lopex[m] has joined #jruby
valentina[m] has joined #jruby
jean[m]2 has joined #jruby
kai[m] has joined #jruby
fzakaria1 has joined #jruby
nikolaos[m] has joined #jruby
alexej[m] has joined #jruby
nieve[m] has joined #jruby
gisela[m] has joined #jruby
jeremy[m]4 has joined #jruby
carla[m] has joined #jruby
shiri[m] has joined #jruby
thomas[m]2 has joined #jruby
emil[m] has joined #jruby
enebo[m] has joined #jruby
johnphillips3141 has joined #jruby
CharlesOliverNut has joined #jruby
XavierNoriaGitte has joined #jruby
JesseChavezGitte has joined #jruby
byteit101[m] has joined #jruby
csharpsteen[m] has joined #jruby
natemccurdy[m] has joined #jruby
ChrisSeatonGitte has joined #jruby
GabrielMazetto[m has joined #jruby
RomainManni-Buca has joined #jruby
KarolBucekGitter has joined #jruby
OlleJonssonGitte has joined #jruby
rebelwarrior[m] has joined #jruby
ahorek[m] has joined #jruby
kares[m] has joined #jruby
UweKuboschGitter has joined #jruby
BlaneDabneyGitte has joined #jruby
liamwhiteGitter[ has joined #jruby
mator[m] has joined #jruby
MarcinMielyskiGi has joined #jruby
TimGitter[m] has joined #jruby
chrisseaton[m] has joined #jruby
donv[m] has joined #jruby
MattPattersonGit has joined #jruby
amit_suryavanshi has joined #jruby
headius[m] has joined #jruby
xardion[m] has joined #jruby
JulesIvanicGitte has joined #jruby
invictus78[m] has joined #jruby
TimGitter[m]1 has joined #jruby
rdubya[m] has joined #jruby
bhishm_boy[m] has joined #jruby
mark_menard[m] has joined #jruby
rcrews[m] has joined #jruby
_whitelogger has joined #jruby
mark_menard[m] has joined #jruby
amit_suryavanshi has joined #jruby
byteit101[m] has joined #jruby
UweKuboschGitter has joined #jruby
BlaneDabneyGitte has joined #jruby
satyanash has joined #jruby
Antiarc_ has joined #jruby
<kares[m]> it's a bit annoying to see the Java traces on invalid arguments to strptime
<kares[m]> should this get backported to 9.2? https://github.com/jruby/jruby/pull/6429
ur5us has joined #jruby
ur5us has quit [Ping timeout: 260 seconds]
fidothe has quit [Ping timeout: 260 seconds]
fidothe has joined #jruby
thomas[m]2 has quit [Quit: Idle for 30+ days]
<headius[m]> Yeah seems pretty good to backport
<headius[m]> We should never raise a Java trace from a ruby core method if we can avoid it
zingo777[m] has joined #jruby
<zingo777[m]> hi folks, i am looking for any suggestions around calling shell commands from jruby -- im observing in a jruby rails app of mine that a simple system command called using `backticks` sometimes triggers a Errno::ENOMEM error.
<zingo777[m]> however, the posix-spawn gem is not supported in jruby https://github.com/rtomayko/posix-spawn/pull/41#issuecomment-89401569 . im unable to find any info about if there is an alternate solution to this type of issue for jruby, and thought i would ask yall experts! many thanks in advance
<zingo777[m]> many places on the web refer to this article https://blog.sundaycoding.com/blog/2014/02/05/fighting-paperclip-errno-enomem-error/ and the fact that the OS 'overcommits' too much memory to child processes, and the common solution suggested is to use the "posix-spawn" gem
<zingo777[m]> * hi folks, i am looking for any suggestions around calling shell commands from jruby -- im observing in a jruby rails app of mine that a simple system command called using backticks sometimes triggers a `Errno::ENOMEM` error.
<zingo777[m]> many places on the web refer to this article https://blog.sundaycoding.com/blog/2014/02/05/fighting-paperclip-errno-enomem-error/ and the fact that the OS 'overcommits' too much memory to child processes, and the common solution suggested is to use the "posix-spawn" gem
<zingo777[m]> however, the posix-spawn gem is not supported in jruby https://github.com/rtomayko/posix-spawn/pull/41#issuecomment-89401569 . im unable to find any info about if there is an alternate solution to this type of issue for jruby, and thought i would ask yall experts! many thanks in advance
zacts_ has joined #jruby
zacts_ has quit [Client Quit]
zacts_ has joined #jruby
zacts_ is now known as zacts
zacts has quit [Client Quit]
zacts has joined #jruby
<headius[m]> This may be fixed by updating your glibc
<headius[m]> Newer versions have improved posix_spawn to use vfork more often, reducing the committed memory for the child
<headius[m]> An alternative workaround may be to launch those subcommands using a shell, which may have a similar feature
<headius[m]> zingo777: to clarify, jruby uses posix_spawn internally for launching processes, but some versions are more efficient than others
<zingo777[m]> thank you headius , thats helpful! is there a specific method of launching processes that's recommended for efficient memory use? (there's so many ways to launch processes in ruby). i don't need any special features other than to block/wait on the call
zacts has quit [Quit: leaving]
zacts has joined #jruby
zacts has quit [Quit: leaving]
zacts has joined #jruby
Liothen has quit [Ping timeout: 260 seconds]
Liothen has joined #jruby
zacts has quit [Quit: leaving]
zacts has joined #jruby
zacts has quit [Quit: leaving]
zacts has joined #jruby
zacts has quit [Quit: leaving]
ur5us has joined #jruby
zacts has joined #jruby
zacts has quit [Quit: leaving]
zacts has joined #jruby
zacts has quit [Quit: leaving]
ur5us has quit [Ping timeout: 260 seconds]
<headius[m]> zingo777: spawn is the recommended Ruby way. If posix_spawn is not using vfork, then using the Java process API might be better but I think it is still just a fork and not a vfork
ur5us has joined #jruby
<headius[m]> And Java Process is a bit harder to work with than doing it in Ruby (streams are not direct, can't control redirects as easily)
<headius[m]> I need to look at posix_spawn gem to see if it can support JRuby using the posix_spawn binding we already ship with