[mapserver-users] Connection between mapserver and postgresql is getting disrupted

Suman Chatterjee schatterjee at addisontx.gov
Fri Sep 25 14:30:18 EDT 2009


Hi all,

I have developed a real time vehicle location and Routing Information
system which will read data from a gps and send the values to the
postgresql server through a webservice. Then I developed a viewer in C#
and mapscript which will read the values from the database and plot on
the map. The map is being generated through mapserver with the help of
mapfile. This process will run continuously with the help of a timer.

Now my problem is:

Sometimes the map fails to draw and  it throws an  error stating  that
the database server has refused the connection. 

 

But while in debugging mode I find the database connection is still
open. The connection string that I have given in the mapfile is also OK
as the error is being thrown all of a sudden and it's random. 

 

So how can I solve this problem so that the connection between mapserver
and postgresql database is not disrupted?

Any help will be highly acknowledged.

Thanks

Suman

 

 


*******************************************************************************************************************
This e-mail and any files or attachments transmitted with it contains Information that is confidential and privileged. This document may contain Protected Health Information (PHI) or other information that is intended only for the use of the individual(s) and entity(ies) to whom it is addressed. If you are the intended recipient, further disclosures are prohibited without proper authorization. If you are not the intended recipient, any disclosure, copying, printing, or use of this information is strictly prohibited and possibly a violation of federal or state law and regulations. If you have received this information in error, please delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you.

*******************************************************************************************************************


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090925/0df16e0d/attachment.html


More information about the mapserver-users mailing list