On Wed, Dec 10, 2008 at 8:41 AM, Torsten Harenberg
<[log in to unmask]> wrote:
> Hi all,
>
> I just got ticketed for failing host-cert-valid tests on our MON_BOX,
> although the certificate is still valid (tests from a couple of days ago
> also says that it is valid for 360 days).
>
> SAM Protocol sais:
>
> Testing from host: monb002.cern.ch
> DN: /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=samoper/CN=582979/CN=Judit
> Novak
>
> Current time: Wed, 10 Dec 2008 06:53:23 +0000
>
> Checking grid-ui.physik.uni-wuppertal.de (132.195.104.102:8443) using SSL
> protocol
>
> + /home/samops/.same/host-cert/get-cert -s 132.195.104.102 8443
> Protocol failed
> + retcode=1
> + set +x
Hi Torsten,
Can you check if there is a ulimit statement in your tomcat5 start up script.
https://savannah.cern.ch/bugs/?func=detailitem&item_id=39805
unfortunately without patching your kernel there is no way to query
these values from
/proc or something for a running a process.
>
>
>
> So I checked the catalina.out log files and found entries like:
>
> 10.12.2008 08:28:22 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
> SCHWERWIEGEND: Endpoint [SSL:
> ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport
> =8443]] ignored exception: java.net.SocketException: Too many open files
> java.net.SocketException: Too many open files
> at java.net.PlainSocketImpl.socketAccept(Native Method)
> at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
> at java.net.ServerSocket.implAccept(ServerSocket.java:450)
> at
> com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(SSLServerSock
> etImpl.java:259)
> at
> org.glite.security.trustmanager.tomcat.TMSSLServerSocketFactory.accep
> tSocket(TMSSLServerSocketFactory.java:66)
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoi
> nt.java:408)
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
> lowerWorkerThread.java:71)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
> ool.java:689)
> at java.lang.Thread.run(Thread.java:595)
>
>
> I assume that causes the problem, right? So my obvious questions ;-) :
>
> Why does it appear and how can I fix it?
>
> Thanks a lot,
>
> Torsten
>
> --
> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
> <> <>
> <> Dr. Torsten Harenberg [log in to unmask] <>
> <> Bergische Universitaet <>
> <> FB C - Physik Tel.: +49 (0)202 439-3521 <>
> <> Gaussstr. 20 Fax : +49 (0)202 439-2811 <>
> <> 42097 Wuppertal <>
> <> <>
> <><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><>
>
--
Steve Traylen
|