Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Re: Re: mysql, locked databases, Apache::DBI and mod_perl

by Flame (Deacon)
on May 20, 2003 at 21:11 UTC ( [id://259580]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: mysql, locked databases, Apache::DBI and mod_perl
in thread mysql, locked databases, Apache::DBI and mod_perl

As I said before, it just stops, like it got itself stuck in a loop.



My code doesn't have bugs, it just develops random features.

Flame ~ Lead Programmer: GMS (DOWN) | GMS (DOWN)

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: mysql, locked databases, Apache::DBI and mod_perl
by perrin (Chancellor) on May 20, 2003 at 21:46 UTC
    Sounds like you are having problems with Apache::Session's locking system because the session object isn't being destroyed at the end of a request in some situation. It could be that you accidentally made a closure somewhere that holds the %state hash.

    The shotgun solution is to simply stop using Apache::Session's locking. Change from Apache::Session::MySQL to Apache::Session::Flex or just change Apache::Session::MySQL itself and use the NullLocker instead of the MySQL locker. However, that might mask the larger problem which is that your session data doesn't get saved when the object doesn't get destroyed.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://259580]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-03-19 05:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found