Hi all,
I've a questions about wmproxy-server daemon.
When querying wmproxy status it always show 2 parts:
WMProxy httpd listening on port 7443
===
WMProxy Server running instances:
In our WMS the server part is not always running and, from its status
function, seems that server is not important for service to return ok:
----------------------------
if ( netstat -lten | grep "^tcp .*:$port .*LISTEN" ) >/dev/null 2>&1 ;then
echo WMProxy $httpd listening on port $port
httpd_pids=`/sbin/pidof $httpdpath`
RETVAL=$?
if [ ${RETVAL} -eq 0 ]; then
echo $httpd \(pid $httpd_pids\) is running ....
echo "==="
echo WMProxy Server running instances:
echo "`ps -fC glite_wms_wmproxy_server`"
fi
else
echo WMProxy $httpd NOT listening on port $port
echo "==="
echo Checking for other $httpd running instances .....
if ( /sbin/pidof $httpd ) >/dev/null 2>&1 ; then
echo $httpd \(pid `/sbin/pidof $httpd`\) is running ....
else
echo None found
fi
RETVAL=1
fi
;;
-------------------------
But service ref card says that "glite-wms-wmproxy" should be running,
but does not make difference between part.
So, do we have to ensure that server is always running? I see no errros
in logs and sometimes the server is there and sometimes not.... For
example, this is from other WMS:
# /etc/init.d/glite-wms-wmproxy status
WMProxy httpd listening on port 7443
httpd (pid 24506 24505 24309 21069 17790 17608 17607 17606 17605 17603 17602) is running ....
===
WMProxy Server running instances:
UID PID PPID C STIME TTY TIME CMD
glite 1360 17602 0 14:20 ? 00:00:01 /opt/glite/bin/glite_wms_wmproxy_server
glite 6662 17602 0 14:41 ? 00:00:01 /opt/glite/bin/glite_wms_wmproxy_server
glite 7043 17602 0 14:41 ? 00:00:01 /opt/glite/bin/glite_wms_wmproxy_server
glite 13965 17602 0 15:02 ? 00:00:00 /opt/glite/bin/glite_wms_wmproxy_server
glite 13972 17602 0 15:02 ? 00:00:00 /opt/glite/bin/glite_wms_wmproxy_server
glite 14064 17602 0 15:02 ? 00:00:01 /opt/glite/bin/glite_wms_wmproxy_server
glite 16752 17602 0 15:12 ? 00:00:00 /opt/glite/bin/glite_wms_wmproxy_server
glite 17211 17602 0 15:14 ? 00:00:00 /opt/glite/bin/glite_wms_wmproxy_server
glite 18731 17602 0 15:17 ? 00:00:00 /opt/glite/bin/glite_wms_wmproxy_server
glite 19198 17602 0 15:18 ? 00:00:00 /opt/glite/bin/glite_wms_wmproxy_server
glite 20020 17602 0 15:21 ? 00:00:00 /opt/glite/bin/glite_wms_wmproxy_server
glite 20472 17602 0 15:24 ? 00:00:00 /opt/glite/bin/glite_wms_wmproxy_server
glite 30300 17602 0 14:08 ? 00:00:14 /opt/glite/bin/glite_wms_wmproxy_server
glite 30306 17602 0 14:08 ? 00:00:02 /opt/glite/bin/glite_wms_wmproxy_server
glite 30310 17602 0 14:08 ? 00:00:03 /opt/glite/bin/glite_wms_wmproxy_server
glite 30324 17602 0 14:08 ? 00:00:02 /opt/glite/bin/glite_wms_wmproxy_server
glite 30341 17602 0 14:08 ? 00:00:01 /opt/glite/bin/glite_wms_wmproxy_server
TIA,
Arnau
|