[Cartoweb-users] exportPdf crashes

Oliver Christen oliver.christen at camptocamp.com
Mon Dec 3 09:05:51 EST 2007


this is only a guess but I would say the FPDF pdf engin is on its knee when 
handling huge GIF images.
im not sure if gif are simply integrated in the pdf or if they are converted 
into jpeg or png, the convertion could be the cause of the problem.
Have you monitored your system ressources usage when generating pdf ?

regards
Oliver


> Hello,
> I've got problem with exportPdf.
> The Export takes about 1,5 - 2 minutes when raster (ortho) is printed.
> Without raster it takes cca 30 seconds.
> (ortho rasters are optimized.
>  There are GIF tiles (256 colors) 2500x2850 pixels each one.
>  Size of the biggest tile is 6,2 MB)
> Is it OK?
>
>
> Sometimes I obtain this issue:
> FPDF error: GIF parser: unable to open file
> /home/bystrica/mapserver/htdocs/generated/images/4753c9e7_66dc_6.gif
> But only sometimes :-(
> Then I must restart apache and exportPdf works again.
> I can make 10-12 good exports to pdf and then cartoweb again shoot issue
> FPDF error :-(
>
> Image
> /home/bystrica/mapserver/htdocs/generated/images/4753c9e7_66dc_6.gif
> realy exists.
>
> It crashes on exportPdf with print resolution 96 dpi and 150 dpi too.
>
> There is 2 GB of RAM in the server and 2 procesors (server works fine)
> System is linux-debian, php5
>
> Have I something wrong in php.ini?
> Could you help me please?
>
> Thank you
>
> wochter
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
> 



More information about the Cartoweb-users mailing list