<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I believe WMS/WFS layers fetch/cache the necessary data from the remote server before rendering starts. Perhaps there’s a less than speedy remote server? --Steve<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> mapserver-users-bounces@lists.osgeo.org [mailto:mapserver-users-bounces@lists.osgeo.org]
<b>On Behalf Of </b>Travis Kirstine<br>
<b>Sent:</b> Monday, June 09, 2014 9:59 AM<br>
<b>To:</b> mapserver-users@lists.osgeo.org<br>
<b>Subject:</b> [mapserver-users] WMS/WFS set-up and query time<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">I've been looking at my error log for a WMS server I have up and running and noticed that the WMS/WFS set-up and query made up the majority of the request time.  What is the setup and query and is there any way to decrease this?<o:p></o:p></p>
<div>
<p class="MsoNormal"><br>
<br>
[Mon Jun  9 10:49:13 2014].911007 CGI Request 1 on process 6228<br>
[Mon Jun  9 10:49:13 2014].916813 msDrawMap(): rendering using outputformat named png (AGG/PNG).<br>
[Mon Jun  9 10:49:18 2014].747371 msDrawMap(): WMS/WFS set-up and query, 4.831s<br>
[Mon Jun  9 10:49:18 2014].856602 msDrawMap(): Layer 0 (processed_p), 0.109s<br>
[Mon Jun  9 10:49:18 2014].859903 msDrawMap(): Layer 1 (Ontario), 0.003s<br>
[Mon Jun  9 10:49:18 2014].864408 msDrawRasterLayerLow(fbs_latest): entering.<br>
[Mon Jun  9 10:49:18 2014].890107 msDrawMap(): Layer 2 (fbs_latest), 0.030s<br>
[Mon Jun  9 10:49:18 2014].927472 msDrawMap(): Layer 3 (municipality), 0.037s<br>
[Mon Jun  9 10:49:18 2014].945933 msDrawMap(): Layer 5 (woodedarea_12), 0.018s<br>
[Mon Jun  9 10:49:18 2014].957586 msDrawMap(): Layer 6 (wetland_swamp), 0.012s<br>
[Mon Jun  9 10:49:18 2014].967636 msDrawMap(): Layer 7 (wetland_marsh), 0.010s<br>
[Mon Jun  9 10:49:18 2014].974653 msDrawMap(): Layer 8 (wetland_bog), 0.007s<br>
[Mon Jun  9 10:49:18 2014].981668 msDrawMap(): Layer 9 (wetland_fen), 0.007s<br>
[Mon Jun  9 10:49:18 2014].989448 msDrawMap(): Layer 10 (wetland_openwater), 0.008s<br>
[Mon Jun  9 10:49:18 2014].997182 msDrawMap(): Layer 11 (wetland_unknown), 0.008s<br>
[Mon Jun  9 10:49:19 2014].7441 msDrawMap(): Layer 13 (lotfabric_13), 0.010s<br>
[Mon Jun  9 10:49:19 2014].404273 msDrawMap(): Layer 16 (ohnwbdy_11), 0.397s<br>
[Mon Jun  9 10:49:19 2014].408186 msDrawMap(): Layer 18 (watercourse_14), 0.004s<br>
[Mon Jun  9 10:49:19 2014].408715 msDrawMap(): Layer 19 (watercourse_intermittent_14), 0.001s<br>
[Mon Jun  9 10:49:19 2014].413966 msDrawMap(): Layer 26 (roads_17), 0.005s<br>
[Mon Jun  9 10:49:19 2014].424807 msDrawMap(): Layer 28 (indianre), 0.011s<br>
[Mon Jun  9 10:49:19 2014].425115 msDrawMap(): Layer 29 (gelname_lake_12), 0.000s<br>
[Mon Jun  9 10:49:19 2014].425494 msDrawMap(): Layer 30 (gelname_unp_12), 0.000s<br>
[Mon Jun  9 10:49:19 2014].425721 msDrawMap(): Layer 31 (gelname_vilg_12), 0.000s<br>
[Mon Jun  9 10:49:19 2014].425959 msDrawMap(): Layer 32 (gelname_town_12), 0.000s<br>
[Mon Jun  9 10:49:19 2014].501495 msDrawMap(): Layer 33 (lros), 0.076s<br>
[Mon Jun  9 10:49:19 2014].584851 msDrawMap(): Layer 35 (pin), 0.083s<br>
[Mon Jun  9 10:49:19 2014].588164 msDrawMap(): Drawing Label Cache, 0.003s<br>
[Mon Jun  9 10:49:19 2014].588418 msDrawMap() total time: 5.677s<br>
<br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><br>
<b>Travis Kirstine</b><o:p></o:p></p>
</div>
<p class="MsoNormal"><i>First Base Solutions Inc</i>.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><a href="mailto:tkirstine@firstbasesolutions.com" target="_blank">tkirstine@firstbasesolutions.com</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">140 Renfrew Dr. | Suite 100 | Markham, ON | L3R 6B3<o:p></o:p></p>
</div>
<p class="MsoNormal">p. 905-477-3600 ext. 301 | m. 647-534-4798<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><a href="http://www.firstbasesolutions.com" target="_blank">http://www.firstbasesolutions.com</a><o:p></o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>