AW: [Cartoweb-users] exportPdf Timeout
bruno at ioda-net.ch
Sun Dec 30 09:00:36 EST 2007
The only other point is that there's a default timeout for all socket operation in php (also in php.ini you can change it).
But I don't know if the WMS is remote or not. If yes, this could explain the timeout, ok for small/medium (72/150dpi) but to
long to acquire for the 300dpi.
The other point could be in mapserver, but I don't know the syntax for remote layers.
You should check the mapserver guide for that.
Hope this help a bit.
Have a happy new year !
Lauber Christoph wrote:
> Hi Bruno
> Thanks for your answer. I increased the limit in the php.ini file of the apache to 90 seconds (it was already on 60 seconds). Then I restarted the webserver. And the error, as expected because the limit was already before on 60 seconds, was the same. I've seen that there are php.ini files also for cgi and cli. I tried these files as well. It doesen't work. By the way, you meant the apache php.ini file in /etc/php5/apache, weren't you?
> Might there be an other timeout handeling WMS connections? Maybe in a MapServer config file? Where could I find this config file?
> -----Ursprüngliche Nachricht-----
> Von: Bruno Friedmann [mailto:bruno at ioda-net.ch]
> Gesendet: Freitag, 28. Dezember 2007 21:17
> An: Lauber Christoph
> Cc: cartoweb-users at lists.maptools.org
> Betreff: Re: [Cartoweb-users] exportPdf Timeout
> 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
> 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
>> 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
>> 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
>> Any other ideas?
>> Thanks for help
>> Christoph Lauber
>> Cartoweb-users mailing list
>> Cartoweb-users at lists.maptools.org
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