[imp] Maximum # of messages?
Chuck Hagenbuch
chuck@horde.org
Mon, 29 Jan 2001 17:02:57 -0500
Quoting "Hanser, Kevin" <kevin@merchantinternetgroup.com>:
> I have IMP v2.2.3 running w/an oracle8i backend, and it has been running
> fine for months. However, we have a mailbox that has 11500+ messages in it,
> and I'm getting a strange error all of the sudden. When I click on the
> double arrow to go to the last page, it immediately tells me "you've got
> mail" and continues to pop up the new mail message every so often, even
> though there aren't any new messages coming in. I noticed the status
> bar (at the top) was missing the # of messages readout, and upon further
> inspection, I noticed this error message:
>
> Warning: Bad message number in
> /usr/local/apache/virtual-hosts/webmail.shopsforme.com/horde/imp/status.php3
> on line 73
>
> Have I reached a maximum message count? Or could this mailbox be corrupt
> somehow and IMP is just showing the effects? This mailbox is kind of an
> archive for incoming messages, that's why it has so many messages... so
> deleting them is really not something we want to do.
> Ideas?
I can think of two things: either the mailbox is corrupted, or the size of the
mailbox bumps up the amount of information that we need to store in the phplib
session so much that phplib dies and gives us bad information. In that case,
either decreasing the amount of messages we keep track of at once (you can find
this at the top of the messageRange() function in mailbox.php3 and
message.php3), or increasing the session data field size in Oracle, might help.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
Entropy. It's what's for dinner.