On Tue, 23 Mar 2004 10:25:12 -0500, Chris Miller wrote:

> Well, I tried increasing the max packet size, but all that did was
> decrease the frequency of the problem appearing.

I guess that's a pretty good indication that it was the packet size
problem biting you!

Frankly, if you're not sure of an upper limit to the size of data you
might need to try to write to the database, sooner or later you're bound
to have to try to send something too big. I'd really suggest looking
into the Storable or FreezeThaw CPAN modules as a way of just dumping
(the big bit of) your data to disk, referencing that file from the MySQL
database and remembering to delete the file if you need to delete the
database record.


> Still, I can restart apache and it fixes the problem.

Well, it won't have actually written the record to the database that
made the server "go away". Restarting Apache will bring MySQL back,
but you'll still have lost your data.


Cheers,
Andrew.
-- 
                   ::
      article seven       Andrew Green
 automatic internet       [EMAIL PROTECTED] | www.article7.co.uk

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to