Ok it seems that the WARNING come from a ulimit problem which was not
set properly...
A bug was open for that: https://savannah.cern.ch/bugs/?39805
but apel publishing still failed...
Cheers,
Christophe.
christophe bonnaud wrote:
> Hi all,
>
> On 24th september, we realized that tomcat was stop on rgma server. We
> restarted it and since this moment, it seems that publishing is not
> working anymore...
>
>
> [root@rgma ~]# /opt/glite/bin/apel-publisher -f
> /opt/glite/etc/glite-apel-publisher/publisher-config-yaim.xml
> Tue Sep 29 06:23:37 UTC 2009: apel-publisher - Read-in configuration:
> [logenabled, p, inspectTables, j, publishGlobalDN]
> [DBUsername=accounting, DBURL=jdbc:mysql://localhost:3306/accounting,
> DBPassword=****, site=KR-KISTI-GCRT-01, republish=missing]
> Tue Sep 29 06:23:37 UTC 2009: apel-publisher - program aborted
> Tue Sep 29 06:23:37 UTC 2009: apel-publisher - null
>
>
> on catalina.out, I can see a lot of Warning (but it already happened in
> the past...):
>
>
> Sep 29, 2009 3:24:01 PM org.apache.tomcat.util.net.PoolTcpEndpoint
> acceptSocket
> SEVERE: 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(SSLServerSocketImpl.java:259)
>
> at
> org.glite.security.trustmanager.tomcat.TMSSLServerSocketFactory.acceptSocket(TMSSLServerSocketFactory.java:66)
>
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:408)
>
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:71)
>
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>
> at java.lang.Thread.run(Thread.java:595)
> Sep 29, 2009 3:24:01 PM org.apache.tomcat.util.net.PoolTcpEndpoint
> acceptSocket
> WARNING: Reinitializing ServerSocket
>
>
> indeed:
>
> [root@rgma ~]# lsof | grep java | wc -l
> 1206
>
> many files are opened by java...
>
> no change was done one the configuration and the only change on the
> server was the yum update.
>
> Does anyone already saw this situation?
>
> Cheers,
>
> Christophe.
>
>
--
------------------------------------------------------
Bonnaud Christophe
e-Science division
Korea Institute of Science and Technology Information
Fax. +82-42-869-0789
Tel. +82-42-869-0660
Mobile +82-10-4664-3193
|