Re:Stop writing good code; Start writing good software.
by nirvdrum on Saturday November 19, 2011 @05:18PM
(#3256453)
Thanks. I had to do that recently because of issues with the prepared statement pool in 3.1 + Passenger. But I can segfault in 1.9.2 just by loading a console or running tests. It doesn't instill a grand sense of stability.
Thanks for the feedback though. I find it helpful to do periodic sanity checks.
This is just a shot in the dark, but if you're on REE/Passenger and getting thread/segfault issues, you might try Apache's Passenger config with the conservative spawn method. I've had similar issues in the past resolved by simply not using REE's shared memory.
http://modrails.com/documentation/Users%20guide%20Apache.htm...