Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-10179

"File descriptor in bad state" on server shutdown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 7.1.0.DR16, 7.1.0.ER1
    • Remoting, Server
    • None

    Description

      I see this warning on server shutdown on Solaris:
      XNIO008000: Received an I/O error on selection: java.io.IOException: File descriptor in bad state

      It might be difficult to reproduce, as we've only seen it once in ~25 other Solaris server starts.

      All server logs:

      =========================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: /mnt/hudson_workspace/workspace/eap-7x-acceptance-startup-solaris/830e5662/manu-eap-1.1.66/out/downloadEap/workspace/jboss-eap-7.1
      
        JAVA: /qa/tools/opt/solaris10_x86/jdk1.8.0_last/bin/java
      
        JAVA_OPTS:  -server -verbose:gc -Xloggc:"/mnt/hudson_workspace/workspace/eap-7x-acceptance-startup-solaris/830e5662/manu-eap-1.1.66/out/downloadEap/workspace/jboss-eap-7.1/standalone/log/gc.log" -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -Xms512m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.messaging.group.address=227.0.92.26 -Djboss.messaging.cluster.password=myGreatPasswd -Djboss.default.multicast.address=227.0.92.26 -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -d64 -Djava.net.preferIPv4Stack=true
      
      =========================================================================
      
      04:41:23,568 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.0.Beta6-redhat-1
      04:41:24,137 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1-redhat-1
      04:41:24,318 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: JBoss EAP 7.1.0.Beta1 (WildFly Core 3.0.0.Beta13-redhat-1) starting
      04:41:25,868 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
      04:41:25,897 INFO  [org.wildfly.security] (ServerService Thread Pool -- 18) ELY00001: WildFly Elytron version 1.1.0.Beta34-redhat-1
      04:41:25,900 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 10) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
      04:41:26,088 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
      04:41:26,109 INFO  [org.xnio] (MSC service thread 1-2) XNIO version 3.5.0.Beta4-redhat-1
      04:41:26,119 INFO  [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.5.0.Beta4-redhat-1
      04:41:26,145 INFO  [org.jboss.as.jaxrs] (ServerService Thread Pool -- 45) WFLYRS0016: RESTEasy version 3.0.22.Final-redhat-1
      04:41:26,147 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 44) WFLYCLINF0001: Activating Infinispan subsystem.
      04:41:26,151 INFO  [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 48) WFLYCLJG0001: Activating JGroups subsystem. JGroups version 3.6.13
      04:41:26,152 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 43) WFLYIO001: Worker 'default' has auto-configured to 48 core threads with 384 task threads based on your 24 available processors
      04:41:26,153 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 54) WFLYNAM0001: Activating Naming Subsystem
      04:41:26,155 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 66) WFLYWS0002: Activating WebServices Extension
      04:41:26,157 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 62) WFLYSEC0002: Activating Security Subsystem
      04:41:26,157 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 51) WFLYJSF0007: Activated the following JSF Implementations: [main]
      04:41:26,169 INFO  [org.jboss.as.security] (MSC service thread 1-4) WFLYSEC0001: Current PicketBox version=5.0.1.Final-redhat-1
      04:41:26,174 INFO  [org.jboss.as.connector] (MSC service thread 1-3) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.3.Final-redhat-1)
      04:41:26,199 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0003: Undertow 1.4.12.Final-redhat-1 starting
      04:41:26,205 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 39) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
      04:41:26,208 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0018: Started Driver service with driver-name = h2
      04:41:26,218 INFO  [org.jboss.as.naming] (MSC service thread 1-7) WFLYNAM0003: Starting Naming Service
      04:41:26,220 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-3) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
      04:41:26,294 INFO  [org.jboss.remoting] (MSC service thread 1-6) JBoss Remoting version 5.0.0.Beta19-redhat-1
      04:41:26,317 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 65) WFLYUT0014: Creating file handler for path '/mnt/hudson_workspace/workspace/eap-7x-acceptance-startup-solaris/830e5662/manu-eap-1.1.66/out/downloadEap/workspace/jboss-eap-7.1/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
      04:41:26,329 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0012: Started server default-server.
      04:41:26,332 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0018: Host default-host starting
      04:41:26,358 INFO  [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 384 (per class), which is derived from thread worker pool sizing.
      04:41:26,358 INFO  [org.jboss.as.ejb3] (MSC service thread 1-1) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 96 (per class), which is derived from the number of CPUs on this host.
      04:41:26,382 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080
      04:41:26,382 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006: Undertow AJP listener ajp listening on 127.0.0.1:8009
      04:41:26,389 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 68) MODCLUSTER000001: Initializing mod_cluster version 1.3.6.Final-redhat-1
      04:41:26,399 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 68) MODCLUSTER000032: Listening to proxy advertisements on /227.0.92.26:23364
      04:41:26,634 INFO  [org.jboss.as.ejb3] (MSC service thread 1-8) WFLYEJB0493: EJB subsystem suspension complete
      04:41:26,716 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
      04:41:26,794 INFO  [org.jboss.as.patching] (MSC service thread 1-6) WFLYPAT0050: JBoss EAP cumulative patch ID is: base, one-off patches include: none
      04:41:26,815 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-1) WFLYDM0111: Keystore /mnt/hudson_workspace/workspace/eap-7x-acceptance-startup-solaris/830e5662/manu-eap-1.1.66/out/downloadEap/workspace/jboss-eap-7.1/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
      04:41:26,819 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-6) WFLYDS0013: Started FileSystemDeploymentService for directory /mnt/hudson_workspace/workspace/eap-7x-acceptance-startup-solaris/830e5662/manu-eap-1.1.66/out/downloadEap/workspace/jboss-eap-7.1/standalone/deployments
      04:41:26,864 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
      04:41:26,966 INFO  [org.jboss.ws.common.management] (MSC service thread 1-8) JBWS022052: Starting JBossWS 5.1.8.Final-redhat-1 (Apache CXF 3.1.10.redhat-1) 
      04:41:27,171 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
      04:41:27,176 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
      04:41:27,176 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
      04:41:27,176 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: JBoss EAP 7.1.0.Beta1 (WildFly Core 3.0.0.Beta13-redhat-1) started in 4250ms - Started 378 of 694 services (469 services are lazy, passive or on-demand)
      
      
      04:41:27,373 INFO  [org.jboss.as.server] (management-handler-thread - 4) WFLYSRV0236: Suspending server with no timeout.
      04:41:27,376 INFO  [org.jboss.as.ejb3] (management-handler-thread - 4) WFLYEJB0493: EJB subsystem suspension complete
      04:41:27,377 INFO  [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: Shutting down in response to management operation 'shutdown'
      04:41:27,390 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
      04:41:27,396 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 68) MODCLUSTER000002: Initiating mod_cluster shutdown
      04:41:27,399 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0019: Host default-host stopping
      04:41:27,401 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0008: Undertow HTTPS listener https suspending
      04:41:27,401 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0008: Undertow AJP listener ajp suspending
      04:41:27,402 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0007: Undertow HTTPS listener https stopped, was bound to 127.0.0.1:8443
      04:41:27,402 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0007: Undertow AJP listener ajp stopped, was bound to 127.0.0.1:8009
      04:41:27,402 WARN  [org.xnio.nio.selector] (default Accept) XNIO008000: Received an I/O error on selection: java.io.IOException: File descriptor in bad state
      04:41:27,403 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0008: Undertow HTTP listener default suspending
      04:41:27,404 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 127.0.0.1:8080
      04:41:27,407 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0019: Stopped Driver service with driver-name = h2
      04:41:27,408 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0004: Undertow 1.4.12.Final-redhat-1 stopping
      04:41:27,432 INFO  [org.jboss.as] (MSC service thread 1-6) WFLYSRV0050: JBoss EAP 7.1.0.Beta1 (WildFly Core 3.0.0.Beta13-redhat-1) stopped in 43ms
      

      Attachments

        Issue Links

          Activity

            People

              rpelisse@redhat.com Romain Pelisse
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: