Page 1 of 1
[12:41:27] jomitsch: hey all, I asked this yesterday but didn't get much of a response, we are facing a pretty frustating issue where our development rails server hangs on a code change, I think I have narrowed it down to ActionDispatch::Reloader with this logic here https://paste.fedoraproject.org/paste/EBixCIbRwRimCgbESLkxnA - does anyone have any ideas around this or a way to debug further? We are pretty stuck
[13:23:50] jomitsch: dminuoso: yes, I can reproduce it regularly, thanks for the suggestions! I'll try those
[14:32:14] jomitsch: dminuoso: so I sent a "kill -7" to the ruby process pid when the server hangs and got this https://paste.fedoraproject.org/paste/Z8PSEWhNz0MKSyluaGSl1w (can provide full output if needed), unfortunately not much to go on there
[14:38:32] jomitsch: dminuoso: I tried that middleware, but I don't see anything showing up in /rails/locks?
[14:47:55] jomitsch: I put it before Rack::Sendfile like in the example, which we do appear to be using
[14:54:10] jomitsch: dminuoso: Is that folder created by the middleware? Do you have to run the server as root?
[14:58:44] jomitsch: dminuoso: its showing this https://paste.fedoraproject.org/paste/QyEOY4mhXb2jtgS-KrY8jA
[15:03:15] jomitsch: dminuoso: I'm guessing this thread 2 is where to poke around? https://paste.fedoraproject.org/paste/57i~vPCgMbRZzGbsJugM5g
[16:24:12] jomitsch: dminuoso: for when you get back, if I comment out this line, it looks like the issue goes away https://git.io/vx4gN
[16:39:51] jomitsch: dminuoso: I see a couple suspect places https://git.io/vx4ah and https://git.io/vx4Vf
[19:01:21] jomitsch: hey all! My team and I are having a pretty frustrating server hang issue in our development environment. We are discussing it on our community forum here https://community.theforeman.org/t/dev-server-hangs-on-code-change/8184/11?u=john_mitsch - I think I narrowed it down to an issue with ActionDispatch::Reloader, but would like to confirm I am making a correct assumption here? Details on how I came up
[19:01:23] jomitsch: with this are here https://paste.fedoraproject.org/paste/EBixCIbRwRimCgbESLkxnA and we are using 5.1.4
[19:53:17] jomitsch: Inside: yes, but apparently another dev tried disabling it and still saw the server hang issue