Rails 1.0 loses its symbol table randomly


#1

Hi all,

I’m running a site on Rails, and since I upgraded from 0.13 to 1.0,
I’ve been seeing trouble with instances (via fastcgi) losing their
symbol table.

After some period of running (several hours), the instance will lose
some section of its symbol table. What I mean by that is, I start
seeing a bunch of exceptions like

  undefined constant: xxxxx

where xxxxx is one of my models. It’s not limited to AR models,
either. The latest:

  undefined method `init' for Mysql:Class

Restarting the dispatcher fixes the problem for another period of
time.

This never happened prior to Rails 1.0, and I haven’t seen anything
on this list addressing it. It’s a large app, and the source could
frankly be anywhere! Any tips on how to find this?

Config overview:

Rails 1.0.0
Apache 2.0.54
FastCGI 2.4.0
Sessions are in memcached

Justin Dossey