-----BEGIN PGP SIGNED MESSAGE-----
OK, I’m a bit out of my league with this one and am hoping there’s a
I’m running Redmine on JRuby on two separate hosts. One is rock solid
and I pretty much forget about it. The other gives me no end of grief.
In this situation, “grief” is defined as working reasonably OK for a few
hours, then slowing. “Slowing” means taking 30 seconds or more to
service requests–I’ve seen up to 250 in the logs–which of course times
out at the proxy. Looking at the logs, most of that is spent in the
view-rendering code, with a fraction spent in the database.
I don’t really know a whole lot about Java deployment, other than that
I’ve deployed several Lift apps on a few different server configurations
and it just seems to work. That isn’t a JRuby slam, just a statement
that I seem to know enough to be dangerous and not enough to actually
diagnose things when the various moving parts of Java deployment don’t
line up neatly.
Thoughts on what to check? The logs look fine, other than the huge
delays, and there’s no indication as to why things are slowing. My
server’s swap isn’t being hit at all, and we have 100 megs of RAM
unused. Commands seem responsive, suggesting that there isn’t a lot of
I/O load. All other services are running smoothly, but this one JRuby
instance is slowly taking more and more time to respond.
I’m currently trying a few long-cycle tests, running with different
versions of jruby-rack to see if that’s the issue. I’m currently on
1.0.3, and if the issue persists then I’ll downgrade to 1.0.1 as per
another suggestion for an unrelated issue. But while I’m waiting to see
if this has any effect, it’d be great to know if there is some obvious
gotcha that I’m missing, or if there’s something else that I might
I also don’t like that Redmine is taking over a second to service
requests even at its idle state, but am hoping that the solution to one
problem is inherent in the other. I also tried running it in threadsafe
mode but received errors re: undefined variables, so I’m guessing that
Redmine isn’t threadsafe.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
To unsubscribe from this list, please visit: