Solved the problem with php using long time to finish rendering page...

I checked the PHP log and found this error message:
[Fri Aug 17 11:15:03 2007] [error] [client 172.21.1.60] Error in 
my_thread_global_end(): 1 threads didn't exit\r

A quick search lead me to:
http://bugzilla.maptools.org/show_bug.cgi?id=1730

It seams that php 5.2.2 and 5.2.3 have a broken libmysql.dll

When I replaced the libmysql.dll in MS4W 2.2.5Beta with an older one from MS4W 
2.2.3 the problem dissapeared...

Hopefully this can help others having the same problem

Cheers
Sture

-----Opprinnelig melding-----
Fra: UMN MapServer Users List [mailto:[EMAIL PROTECTED] På vegne av Daniel 
Morissette
Sendt: 16. august 2007 14:06
Til: MAPSERVER-USERS@LISTS.UMN.EDU
Emne: Re: [UMN_MAPSERVER-USERS] Strange MS beta3 behaviour..

Sture Dingsøyr wrote:
> Hello...
> 
> Been testing the new beta release of MS4W (beta3), and i have noticed a 
> strange behaviour.
> 
> I use a small PHP mapscript to generate a picture. But when I use the 
> mapscriptfunction "set("status", 1)" on a POSTGIS, WMS or WFS layer...the web 
> browser "hangs" for many seconds before the PHP page is finished rendering. 
> 
> This behaviour dos not occur when "set("status", 1)" is used on a ESRI SHAPE 
> or a RASTER layer.
> 

This is definitely very strange. If you set "STATUS ON" directly in the mapfile 
then does it hang as well? If yes then that at least tells us that the problem 
has nothing to do with the set("status", 1) call.

Oh wait... those symptoms are similar to what we had in ticket #458
(http://trac.osgeo.org/mapserver/ticket/458) ... do you use DEBUG TRUE in your 
mapfile with MS_ERRORFILE "stderr"? If yes then perhaps try disabling it and 
see if that makes a difference.

Daniel
--
Daniel Morissette
http://www.mapgears.com/

Reply via email to