Re: MasonHQ node caching, and other bugs

Soren Dossing <[email protected]>
Newsgroups gmane.comp.web.mason.devel
Message-ID <20050421171409.X24529@localhost>

On Mon, 11 Apr 2005, Jonathan Swartz wrote:

>> 2) Slowness, internal server error.
>>
>> Starting up apache takes a lot of time. And new instances have to be
>> spawned often, so the site is generally pretty slow. Keeping
>>
>>    MaxRequestsPerChild 10
>>
>> in conf/httpd-prod.conf.src generally works, but is slow. Increasing the
>> number results in frequent internal server errors.
>
> Internal server errors should be matched with errors in the logs...what are
> the errors?

The errors look like this:

[Tue Apr 19 07:26:16 2005] [error] DBD::mysql::st execute failed: Lost 
connection to MySQL server during query at 
/apps/wiki/lib/perl5/site_perl/5.8.5/Apache/Session/Store/DBI.pm line 
44.\n\t(in cleanup) DBD::mysql::st execute failed: Duplicate entry 
'6999c10a696d59be3b538a69c8672d67' for key 1 at 
/apps/wiki/lib/perl5/site_perl/5.8.5/Apache/Session/Store/DBI.pm line 
44.\n\nStack:\n 
[/apps/wiki/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm:880]\n 
[/apps/wiki/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm:789]\n 
[/apps/wiki/masonhq/conf/handler-prod.pl:33]\n  [/dev/null:0]\n
[Tue Apr 19 07:26:16 2005] [error] DBD::mysql::st execute failed: Lost 
connection to MySQL server during query at 
/apps/wiki/lib/perl5/site_perl/5.8.5/Apache/Session/Store/DBI.pm line 
44.\n\t(in cleanup) DBD::mysql::st execute failed: Duplicate entry 
'6d5a07abc5b0e4c73f1d31f9d39d4974' for key 1 at 
/apps/wiki/lib/perl5/site_perl/5.8.5/Apache/Session/Store/DBI.pm line 
44.\n\nStack:\n 
[/apps/wiki/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm:880]\n 
[/apps/wiki/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm:789]\n 
[/apps/wiki/masonhq/conf/handler-prod.pl:33]\n  [/dev/null:0]\n
         (in cleanup) Can't call method "release_all_locks" on an undefined 
value at /apps/wiki/lib/perl5/site_perl/5.8.5/Apache/Session.pm line 614 
during global destruction.
         (in cleanup) Can't call method "FETCH" on an undefined value at 
/apps/wiki/lib/perl5/site_perl/5.8.5/Apache/Session/Wrapper.pm line 664 
during global destruction.
         (in cleanup) Can't call method "release_all_locks" on an undefined 
value at /apps/wiki/lib/perl5/site_perl/5.8.5/Apache/Session.pm line 614 
during global destruction.
         (in cleanup) Can't call method "update" on an undefined value at 
/apps/wiki/lib/perl5/site_perl/5.8.5/Apache/Session.pm line 523 during 
global destruction.
         (in cleanup) Can't call method "FETCH" on an undefined value at 
/apps/wiki/lib/perl5/site_perl/5.8.5/Apache/Session/Wrapper.pm line 664 
during global destruction.
         (in cleanup) Can't call method "update" on an undefined value at 
/apps/wiki/lib/perl5/site_perl/5.8.5/Apache/Session.pm line 523 during 
global destruction.
         (in cleanup) Can't call method "update" on an undefined value at 
/apps/wiki/lib/perl5/site_perl/5.8.5/Apache/Session.pm line 523 during 
global destruction.



-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.