I went to look at a page on myxwiki and found it had frozen up.
Since I had ssh access I decided that the situation warranted my attention even if it
isn't "my box".
Tomcat was responding fine on 8080 but Apache was not, below you can see some outputs from
a couple
commands, the output of both commands continued for thousands of lines until I used ctrl+c
to stop
them. It looks like Apache ran out of file descriptors.
Restarting tomcat fixed the problem.
So we need to make sure the restart script acts when xwiki is fine but apache is out of
file
descriptors and also we devs need to understand what is causing (apparently) tomcat to
tarpit the
apache server.
Caleb
caleb@vmyxwikiorg2:~$ netstat -n
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 192.168.1.189:8009 192.168.1.115:52473 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:56166 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:56247 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:56148 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:46332 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:56198 SYN_RECV
tcp 0 0 192.168.1.201:8009 192.168.1.115:48758 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:56177 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:56218 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:56162 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:56215 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:56275 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:56158 SYN_RECV
tcp 0 0 192.168.1.189:8009 192.168.1.115:60643 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:46303 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:46285 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:46309 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:46315 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:46295 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:56260 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:46298 SYN_RECV
tcp 0 0 192.168.1.201:8009 192.168.1.115:48286 SYN_RECV
tcp 0 0 192.168.1.201:8009 192.168.1.115:44130 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:56195 SYN_RECV
tcp 0 0 192.168.1.189:8009 192.168.1.115:52473 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:56166 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:56247 SYN_RECV
tcp 0 0 127.0.0.1:8009 127.0.0.1:56148 SYN_RECV
caleb@vmyxwikiorg2:~$ netstat -lpe
(No info could be read for "-p": geteuid()=1012 but you should be root.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User
Inode PID/Program name
tcp 0 0 localhost:8005 *:* LISTEN tomcat
103342523 -
tcp 0 0 *:8009 *:* LISTEN tomcat
103342522 -
tcp 0 0 *:8009 *:* LISTEN tomcat
103342522 -
tcp 0 0 *:8009 *:* LISTEN tomcat
103342522 -
tcp 0 0 *:8009 *:* LISTEN tomcat
103342522 -
tcp 0 0 *:8009 *:* LISTEN tomcat
103342522 -
tcp 0 0 *:8009 *:* LISTEN tomcat
103342522 -
tcp 0 0 *:8009 *:* LISTEN tomcat
103342522 -
tcp 0 0 *:8009 *:* LISTEN tomcat
103342522 -
tcp 0 0 *:8009 *:* LISTEN tomcat
103342522 -
tcp 0 0 *:8009 *:* LISTEN tomcat
103342522 -