Hi, Daniel Lang wrote: > Hi, > I´m using a GD-based Module (Bio::Graphics) to generate png-graphics > on the fly with a Modperl Content Handler. > Now I encounter the following problem: > The first request(after httpd restart), is served well, and the > generated graphic is in color - every other request after that > produces black/white grafics. Everything is OK with the other > content, only the color information of the graphic seems to be lost? > When I use the same routine in a cgi or shell enviroment everything > works fine... >
I guess there are a value that stay persitent,which makes trouble on the second request. Can you try to set MaxRequestsPerChild to 1 in your httpd.conf? Do you get the same result? If yes, you have to search what in your code might persist accross requests. > I´m using the following enviroment: > (1Ghz dual processor machine, 1GB RAM)(Apache/1.3.27 > (Unix)(Red-Hat/Linux 7.3) Embperl/2.0b5 mod_perl/1.26) (All the > modules are preloaded in a startup script) > Mmmh, Embperl 2.0b5 is quite old (and buggy). Please upgrade at least to 2.0b9. You could also try to updrade you libgd and/or the GD Perl module. Gerald -------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * dynamische Webapplikationen * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 939-122 WWW: http://www.ecos.de/ Fax: +49 6133 939-333 -------------------------------------------------------------- | | ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info | +------------------------------------------------------------- -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html