perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bjoern Hoehrmann <derhoe...@gmx.net>
Subject Re: [mp2] strange behavior of script under heavy load
Date Sun, 14 Aug 2005 20:52:39 GMT
* Bjoern Hoehrmann wrote:
>>The test input I'm using should yield in 102 reported errors.
>>Under normal load, only 94 errors are reported (the last 8 errors
>>are missing), under heavy load, sometimes, 102 erors are reported.
>
>I could track this down to input like
>
>  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
>  <nobr>...</nobr>
>
>This should result in an error 'element "NOBR" undefined' from OpenSP.
>When running it under mod_perl and the winnt mpm however it gives this
>message sometimes and 'document type does not allow element "NOBR"
>here' on other times. At some point I got different errors for every
>other request though it's not that stable anymore. It's not possible
>to reproduce this when using debug builds of OpenSP...

This is the result of an unitialized variable in OpenSP. I've fixed it
in the openjade cvs. Hopefully there aren't more gotchas of this kind.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Mime
View raw message