<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=296501115-25082004>Just
wanted to add a tidbit of info in case its useful.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=296501115-25082004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=296501115-25082004>I am
running 1.99b on IIS. I have several large images. The largest I am using is 128
megs. I also have an image catalog that can load 16 60-70 meg image tiles
for over a gig of imagery. I use RGB image mode and PC256 on another, with a PNG
output. Images are all tiffs. I havent had the problems you are having, it all
seems to work well. </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=296501115-25082004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=296501115-25082004>My PHP
limits are:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=296501115-25082004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=296501115-25082004>max_execution_time = 300<BR>max_input_time =
300<BR>memory_limit = 8M</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=296501115-25082004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=296501115-25082004>Hopefully thats helpful in narrowing down the
problem.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=296501115-25082004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=296501115-25082004>Ken</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
chameleon-bounces@lists.maptools.org
[mailto:chameleon-bounces@lists.maptools.org] <B>On Behalf Of </B>Jacob
Delfos<BR><B>Sent:</B> August 24, 2004 6:26 PM<BR><B>To:</B>
Chameleon@lists.maptools.org<BR><B>Subject:</B> RE: [Chameleon] raster
hang<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Ken-Ichi,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>It sounds a little bit like the problem I seem to
have with rasters; only happening every so many times, especially when there
is more image in view. I have it with ECW's and TIFF (45MB RGB). My map image
fails, and the session seems to hang, because I can't submit the page, but I
seem to be able to open a new session in another window without much delay. I
tried changing my settings in php.ini, but it had no effect. I have 'patched'
my problem by placing the OnError tag in the mapDHTMLwidget image, invoking a
function when it fails, which re-loads the map image after a small delay. My
diagnosis so far is that something gets ahead of itself, serving the source to
the client browser, and the client browser requesting the image, before the
image has begun being rendered. You will find that the URL of your mapimage is
valid.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I think it happens with PHP because it's slower
than, for example, mapserver. What is the size of your map image. Is it larger
than average, by any chance?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Jacob</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>-----Original Message-----<BR>From: <A
href="mailto:chameleon-bounces@lists.maptools.org">chameleon-bounces@lists.maptools.org</A>
[mailto:chameleon-bounces@lists.maptools.org] On Behalf Of Ken-ichi<BR>Sent:
25 August 2004 04:07<BR>To: <A
href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</A><BR>Subject:
Re: [Chameleon] raster hang</FONT></DIV>
<DIV> </DIV><FONT face=Arial size=2>
<DIV><BR>I should also mention that this problem is probably TIFF
specific. It <BR>does not occur when I use an Erdas Imagine (.img)
format image of the <BR>same area, which is also about the same file
size.</DIV>
<DIV> </DIV>
<DIV>-Ken-ichi</DIV>
<DIV> </DIV>
<DIV>Ken-ichi wrote:</DIV>
<DIV> </DIV>
<DIV>> Thanks for responding, Paul. I've actually set my php.ini file
to be <BR>> very lenient on resource use for other purposes, so I doubt
it's that:<BR>><BR>> max_execution_time = 60<BR>> max_input_time =
120<BR>> memory_limit = 510M<BR>><BR>> I did a little more testing
and found that this also happens with <BR>> non-Chameleon phpMapScript (the
MapLab non-ROSA preview app), and with <BR>> other GeoTIFFs, but not with
the mapserv CGI or the ROSA applet. So <BR>> I'm guessing you were
right to suspect the PHP side of things. Any <BR>> more ideas, or
should I take this to a more MapScript specific list?<BR>><BR>>
-Ken-ichi<BR>><BR>> Ken-ichi wrote:<BR>><BR>>> Hi folks.
I've started trying to add a GeoTIFF to my Chameleon app, <BR>>> and it
really bogs it down, sometimes to a stand still. The image <BR>>>
I'm experimenting with is a 29mb unsigned 8bit GeoTIFF created in <BR>>>
Erdas. The hangs are most frequent when the tiff occupies the whole
<BR>>> map, and when I say hang, I mean that the map just doesn't
render. <BR>>> The hangs also seem to generate an httpd process
that takes up a lot <BR>>> (>20%) of my CPU activity. The
relevant portion of my map file is <BR>>> pretty
simple:<BR>>><BR>>> LAYER<BR>>> NAME "Test
Raster"<BR>>> TYPE
RASTER<BR>>> DATA
"/path/to/data.tif"<BR>>> STATUS DEFAULT<BR>>>
END<BR>>><BR>>> I haven't specified an outputformat, except in the
MAP section, where <BR>>> I've set it to PNG (but I've switched around
and that doesn't seem to <BR>>> make much difference). This
problem does not seem to occur outside <BR>>> of Chameleon (everything
works fine in MapLab's ROSA applet), and it <BR>>> doesn't happen every
time the map is loaded (although it inevitably <BR>>> happens if
you refresh the map enough).<BR>>><BR>>> Has anyone experienced
this kind of behavior before? Even better, <BR>>> anyone have any
recommendations?<BR>>><BR>>>
-Ken-ichi<BR>>><BR>>><BR>>>
_______________________________________________<BR>>> Chameleon mailing
list<BR>>> <A
href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</A><BR>>>
<A
href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon</A><BR>><BR>></DIV>
<DIV> </DIV>
<DIV>_______________________________________________<BR>Chameleon mailing
list<BR><A
href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</A><BR><A
href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon</A><BR></FONT></DIV><FONT
face=Arial size=2>
<DIV></FONT> </DIV></BLOCKQUOTE></BODY></HTML>