<HTML>
<HEAD>
<TITLE>Re: [mapserver-users] High CPU</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Steve -<BR>
<BR>
Would you prefer your CPU was sitting idle? Keeping the CPU busy is a good thing, isn’t it? It means your network, disk, and other resources are not preventing your CPU from working at full capacity.<BR>
<BR>
What makes you feel that running your CPU at 100% capacity is a bad thing?<BR>
<BR>
- Ed<BR>
<BR>
Ed McNierney<BR>
205 Indian Hill Road<BR>
Groton, MA 01450<BR>
<a href="ed@mcnierney.com">ed@mcnierney.com</a><BR>
+1 (978) 761-0049<BR>
<BR>
<BR>
<BR>
On 9/7/08 4:20 AM, "Steve White" <<a href="steve@online-archaeology.co.uk">steve@online-archaeology.co.uk</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>The problem is that CPU shoots to 100% while tiles are being generated from<BR>
a remote WMS call.<BR>
<BR>
The shp2img dump was taken directly on the server but the problem occurs<BR>
when I send remote WMS requests to the server.<BR>
<BR>
I'm starting to think that 640MB RAM isn't enough and I should probably bump<BR>
it up to 1GB.<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Paul Ramsey [<a href="mailto:pramsey@cleverelephant.ca">mailto:pramsey@cleverelephant.ca</a>]<BR>
Sent: 07 September 2008 06:07<BR>
To: Steve White<BR>
Cc: <a href="mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><BR>
Subject: Re: [mapserver-users] High CPU<BR>
<BR>
It took 0.3s to run to completion, what's the problem precisely?<BR>
<BR>
P.<BR>
<BR>
On Sat, Sep 6, 2008 at 1:35 PM, Steve White<BR>
<<a href="steve@online-archaeology.co.uk">steve@online-archaeology.co.uk</a>> wrote:<BR>
> Thanks Jeff -<BR>
><BR>
><BR>
><BR>
> - I upgraded to MS4w 2.2.9<BR>
><BR>
> - I ran shptree.exe and produced the index file<BR>
><BR>
> - My results of shp2img.exe are below<BR>
><BR>
> - I don't think any projections-on-the-fly are occurring<BR>
><BR>
><BR>
><BR>
> Shp2img dump:<BR>
><BR>
><BR>
><BR>
> msDrawMap(): Layer 0 (OA), 0.015s<BR>
><BR>
> msDrawMap(): Drawing Label Cache, 0.000s<BR>
><BR>
> msDrawMap() total time: 0.015s<BR>
><BR>
> SaveImage() total time: 0.297s<BR>
><BR>
> msFreeMap(): freeing map at 0144B498.<BR>
><BR>
><BR>
><BR>
> I'm still getting very high CPU usage with just one active session, so<BR>
> there's no way I can go into production till this is resolved.<BR>
><BR>
><BR>
><BR>
> Any other things I can look at?<BR>
><BR>
><BR>
><BR>
> Cheers,<BR>
><BR>
><BR>
><BR>
> Steve<BR>
><BR>
> _______________________________________________<BR>
> mapserver-users mailing list<BR>
> <a href="mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><BR>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><BR>
><BR>
><BR>
<BR>
<BR>
_______________________________________________<BR>
mapserver-users mailing list<BR>
<a href="mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><BR>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>