[Cartoweb-users] exportPdf Timeout

Bruno Friedmann bruno at ioda-net.ch
Fri Dec 28 15:17:23 EST 2007


Hi Christoph,

This timeout value seems to be the php limit execution time.
Perharps you need a bigger value .
Time to acquire the layers, time to treat it, time to send the result.

In php.ini or .htaccess or in apache directive.
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 30     ; Maximum execution time of each script, in seconds
max_input_time = 60     ; Maximum amount of time each script may spend parsing request data

try to change the value.

But if the webserver couldn't treat the task with that time 30s which internaut would stay behind his screen without initiate a
reload.
The trouble should be resolve at another level I think.


Lauber Christoph wrote:
> Hi list
> 
> Printing a pdf with the pdfExport Plugin I get the following error:
> 
> Message : Mapserver error: Error in msDrawWMSLayerLow(): WMS GetMap
> request failed for layer 'AV_KtBern' (Status -28: TIMEOUT of 30 seconds
> exceeded.).
> Error in msHTTPExecuteRequests(): HTTP: TIMEOUT of 30 seconds exceeded
> for http://....
> 
> First I thought I can easily increase the timeout in the httpd.conf file
> of the apache webserver. But that didn't do what I expected. Either I
> did something wrong or I have to do something else.
> 
> The layer I want to print is a WMS layer. It works fine with 72 and 150
> dpi resolution. But the 300 dpi resolution crashes.
> 
> I there an other timeout I have to look for wms layers (WMS GetMap
> request)?
> Is it possible that the WMS server prohibits a 300 dpi picture request?
> Do you think the timeout is set by the wms server or the wms client
> (CartoWeb)?
> Any other ideas?
> 
> Thanks for help
> 
> 
>  
> Christoph Lauber
> 
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users


-- 

     Bruno Friedmann  bruno at ioda-net.ch

Ioda-Net Sàrl   - www.ioda-net.ch
  2830 Vellerat - Switzerland

  Tél : ++41 32 435 7171
  Fax : ++41 32 435 7172
  gsm : ++41 78 802 6760

C'est Facile et Cool d'Évoluer en ligne : www.cfcel.com




More information about the Cartoweb-users mailing list