<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;">On Wednesday 20 May 2009 12:52:03 pm Rahkonen Jukka wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; There is no limit for number of records in Mapserver.  Apache. that is used<br>
&gt; as http server in front of Mapserver does have timeout, which is 300<br>
&gt; seconds by default but can be adjusted.  Generally speaking number of<br>
&gt; records does not tell much about how hard that layer is to handle, if<br>
&gt; anything.  It depends more on the vector data format, nature of the<br>
&gt; features (points vs. polygons with thousands of vertices), indexing etc.  <br>
&gt; However, I would say that normally 63 thousand features is  not much and if<br>
&gt; Mapserver hits the timeout then the data are not suitable for Mapserver<br>
&gt; without some preprocessing.  So, please describe what kind of data you<br>
&gt; have.  Ogrinfo report about the layer would be a good addition.<br>
&gt;<br>
&gt; -Jukka Rahkonen-<br>
&gt;<br>
&gt;<br>
&gt; ________________________________<br>
&gt;<br>
&gt;         Lähettäjä: mapserver-users-bounces@lists.osgeo.org<br>
&gt; [mailto:mapserver-users-bounces@lists.osgeo.org] Puolesta Iratxe Lejarreta<br>
&gt; Lähetetty: 20. toukokuuta 2009 13:40<br>
&gt;         Vastaanottaja: mapserver-users@lists.osgeo.org<br>
&gt;         Aihe: [mapserver-users] Limit of records<br>
&gt;<br>
&gt;<br>
&gt;         Hi,<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         I have problems with some layers and I'm thinking that the reason is the<br>
&gt; number of records. For example, with a layer which has 63057 records, the<br>
&gt; result is the following: 500 Internal Server Error<br>
&gt;         And Apache log error:<br>
&gt;         Timeout waiting for output from CGI script /var/cgi-bin/mapserv<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         If exist a limit, which is the maximun number of records that mapserver<br>
&gt; can support?<br>
&gt;<br>
&gt;         And in this case, what is the solution?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         Thanks in advance,<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         --<br>
&gt;         Iratxe Lejarreta<br>
&gt;         www.axios.es<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Ok, changing the Apache's timeout, Mapserver is running without problem!<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Thanks,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>-- <br>
Iratxe Lejarreta<br>
www.axios.es</p></body></html>