To followup on the other comments and Jukka's recommendation: you can set specific parameters for your FastCGI use - in the case of MS4W, we use the Apache module named 'mod_fcgi', and you can set its parameters in Apache's 'httpd.conf' file: for a list of these parameters see http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html

An example setting to limit the maximum time a process is running/alive to 10 seconds:

  FcgidProcessLifeTime 10


-jeff



--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/





On 2016-04-13 4:12 AM, Rahkonen Jukka (MML) wrote:
Hi ,

You could have mentioned that you have asked the same question in
gis.stackexchange
http://gis.stackexchange.com/questions/189102/tinyows-does-not-show-vector-layer
. Reading the comments may help Mapserver users to give you a better
answer and faster.

-Jukka Rahkonen-

vineet singh wrote:

Hi Everyone,

I'm using tinyows server configured with config.xml file. I'm adding
vector layer to config file and for the first time it does not show
newly added layer, but once i have restarted the tinyows server than it
will show the layer.

So i have to restart tinyows after adding new layer. Anyone know how can
I fix this so that it will work without restarting.

I'm runing TinyOWS as fast-cgi.

Here is config.xml :

<tinyows log="/home/vineet/Project/mygis/data/logs/wfs.log"
log_level="15" online_resource="http://192.168.0.35:19090/maps";
schema_dir="/home/vineet/Project/mygis/data/schema">

<pg dbname="mygis" host="localhost" password="abcd" port="19095"
user="mygis"/>

<metadata name="MyGis Server" title="MyGis Server - WFS-T Service"/>

<contact email="[email protected] <mailto:[email protected]>" name="MyGis
Server" site="http://www.xxxxx.com/"/>

<layer
retrievable="1"  writable="1" ns_prefix="tows" 
ns_uri="http://www.vizexperts.com/";
  name="world_boundaries"

  title="World Borders" />

  </tinyows>

Thanks,

Vineet Singh




_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to