Java 1.41, WO 5.21 too many open files in monitor
Java 1.41, WO 5.21 too many open files in monitor
- Subject: Java 1.41, WO 5.21 too many open files in monitor
- From: Den Frolov <email@hidden>
- Date: Sat, 09 Aug 2003 00:01:07 +0400
Hello List,
After upgrading to Mac OS X 10.2.6 from 10.2.5 and to WO 5.2.1 from WO 5.2
and to Java 1.41 we've started to experience the following deployment
problems:
We have 14 apps (1 instance each) deployed through 2 monitors. After several
hours of apps work we start to get red messages in Monitor complaining that
Monitor can't write to the SiteConfig.XML due to permissions problem. We
also get the Too Many Open files error showing both in monitor and
webobejects.log. We also loose control over instances: there seems to be no
way shut down or start them. The only solution is killall java.
netstat -an | grep CLOSE_WAIT shows that there is a constantly growing
number of sockets with CLOSE_WAIT status:
tcp4 0 0 192.168.0.1.53470 192.168.0.1.20060
CLOSE_WAIT
... // same lines with different ports = different instances
(where :20060 is a port of an instance)
As soon as this number comes close to 250 we start to get the too many files
errors in Monitor. Looks like wotaskd has tens of CLOSE_WAIT socket
connections with each of the instances that sums to near 250 CLOSE_WAIT
sockets. I also have a feeling that playing around with instances in
Monitors (turning them on and off, adding new instances) makes the number of
CLOSE_WAIT sockets grow more rapidly... There is also a feeling (while a may
be wrong) that the phenomena described happens more frequently with the
Monitor that has a majority of instances. E.g. our first Monitor had 10
instances out of 14 and we had problems with first Monitor. When we moved
these 10 instances to the second Monitor that had 4 the problems started to
appear with second Monitor.
sudo lsof | grep java showed lots of following lines:
java 7733 root 9w unix 0x02cc6ed0 0t0 ->(none)
...
and
java 7733 root 49u sock 0t0 no further
information on AF_INET6
...
where 7733 is one of our two wotaskd and the same lines for each of the app
instances. Looks like that the sum of these lines for instances is equal to
the number of lines for wotaskds.
I'm stuck at this point and have no idea where to go from here. Is there a
problem with WO 52.1/Java 1.41 or is there a problem in my set-up?
Thanks in advance, Denis.
--
Dennis Frolov,
IT Manager.
DesignMaximum, Rostov-on-Don
http://www.demax.ru
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.