<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content=1 name=qrichtext>
<STYLE type=text/css>p, li { white-space: pre-wrap; }</STYLE>
<META content="MSHTML 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY
style="FONT-WEIGHT: 400; FONT-SIZE: 9pt; FONT-STYLE: normal; FONT-FAMILY: 'DejaVu Sans'">
<DIV dir=ltr align=left><SPAN class=476114310-20052009><FONT
size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=476114310-20052009><FONT
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=476114310-20052009><FONT size=2>There is no
limit for number of records in Mapserver. Apache. that is used as http
server in front of Mapserver does have timeout, which is 300 seconds by default
but can be adjusted. Generally speaking number of records does not tell
much about how hard that layer is to handle, if anything. It depends
more on the vector data format, nature of the features (points vs. polygons
with thousands of vertices), indexing etc. However, I would say that
normally 63 thousand features is not much and if Mapserver hits the
timeout then the data are not suitable for Mapserver without some
preprocessing. So, please describe what kind of data you have.
Ogrinfo report about the layer would be a good addition.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=476114310-20052009><FONT
size=2></FONT></SPAN><SPAN class=476114310-20052009><FONT
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=476114310-20052009><FONT size=2>-Jukka
Rahkonen-</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=fi dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Lähettäjä:</B>
mapserver-users-bounces@lists.osgeo.org
[mailto:mapserver-users-bounces@lists.osgeo.org] <B>Puolesta </B>Iratxe
Lejarreta<BR><B>Lähetetty:</B> 20. toukokuuta 2009
13:40<BR><B>Vastaanottaja:</B> mapserver-users@lists.osgeo.org<BR><B>Aihe:</B>
[mapserver-users] Limit of records<BR></FONT><BR></DIV>
<DIV></DIV>Hi,<BR>
<P
style="MARGIN: 0px; TEXT-INDENT: 0px; qt-paragraph-type: empty; qt-block-indent: 0; qt-user-state: 0"><BR></P>I
have problems with some layers and I'm thinking that the reason is the number
of records.<BR>For example, with a layer which has 63057 records, the result
is the following: <BR>500 Internal Server Error<BR>And Apache log error:
<BR>Timeout waiting for output from CGI script /var/cgi-bin/mapserv<BR>
<P
style="MARGIN: 0px; TEXT-INDENT: 0px; qt-paragraph-type: empty; qt-block-indent: 0; qt-user-state: 0"><BR></P>If
exist a limit, which is the maximun number of records that mapserver can
support?<BR><BR>And in this case, what is the solution?<BR>
<P
style="MARGIN: 0px; TEXT-INDENT: 0px; qt-paragraph-type: empty; qt-block-indent: 0; qt-user-state: 0"><BR></P>Thanks
in advance,<BR>
<P
style="MARGIN: 0px; TEXT-INDENT: 0px; qt-paragraph-type: empty; qt-block-indent: 0; qt-user-state: 0"><BR></P>--
<BR>Iratxe Lejarreta<BR>www.axios.es
<P></P></BLOCKQUOTE></BODY></HTML>