Chris Faust wrote:
That's a good sign. It is trying to cleanly disconnect from the database when you shut down the server.I think it is in the locking as if I let things hang long enough and then shut down Apache, I get a error of:Can't call method "disconnect" on an undefined value at /usr/lib/perl5/site_perl/5.6.1/Apache/Session/Lock/MySQL.pm line 89 during global destruction.
I think my initial guess was wrong. This is probably just a scoping problem in your code. I suspect you are either putting the session object in a global or using it in a closure. Try to reduce the section of code that uses Apache::Session to a very small example that reproduces this problem and post it here. Also, are you using Apache::Registry?
- Perrin