Db2 On Premise and Cloud

DB2 Docker hangs during database creation and initial TCPIP connection on Ryzen CPU

  • 1.  DB2 Docker hangs during database creation and initial TCPIP connection on Ryzen CPU

    Posted Thu October 17, 2019 05:38 PM
    CPU: AMD Ryzen Pro 2700
    Host: Ubuntu 18.04
    Docker: 19.03
    Docker image: ibmcom/db2:11.5.0.0a

    Issue:
    When creating a new Database on this docker image, it stalls for 1-2 hours, then finally completes the creation.
    When connecting to the database over TCPIP, it also hangs for a while, between 15-30 minutes, then finally connects. Subsequent TCPIP  connections are fast.

    We have also cataloged the node and database within the container itself to try to connect over TCPIP and experienced the hanging.

    Connecting to the catabase locally within the docker works without hanging.

    Deploying DB2 outside of Docker on this same hardware does notave this issue.

    Deploying other dockers (eg, postgresql, WebSphere, mySQL, tomcat, etc) does not have this issue. It is NOT docker networking as port forwarding works with other containers.

    Steps to Repeat:
    1. setup env file to create sample database
    2. docker run --env_file [env] ibmcom/db2

    ------------------------------
    Kevin Chan
    ------------------------------