Hi Perrin,

What database are you using?  I thought the default data types for most
of them would hold a very large amount of data before having trouble.  I
suspect you are having locking problems or session data is not being
written because the session object doesn't go out of scope.

I am using MySQL 4.1 on debian sarge. The type of the field that hold the session data is 'longtext'. Patrick Michaud pointed me off the list that i should also bump max_packet_size up.

It seems that this problem occurs in peak period, so it works in thousands of hits except once or twice. So it can't be scoping issue.

Even if the size of your session data isn't causing this lost data, it
is a serious problem.  When your session data is large, it makes
everything slow, holds the locks longer, and hurts the performance of
your site.  You should consider putting that data into database tables
instead and only loading it as needed.

Yes, that's why I am using Storable hooks to only serialize as small information as possible.

---
Badai Aqrandista
Cheepy (?)

_________________________________________________________________
SEEK: Over 80,000 jobs across all industries at Australia's #1 job site. http://ninemsn.seek.com.au?hotmail

Reply via email to