Control-M/Server is not processing job submission and tasks quickly on a virtual machine with "GM_IPC_raw_msg_read: timeout on OS_SOCKET_select" messages

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Control-M/Server for UNIX and Microsoft Windows


    COMPONENT:

    Control-M/Server for UNIX and Microsoft Windows


    APPLIES TO:

    All versions Control-M/Server for UNIX and Microsoft Windows



    PROBLEM:

     

    Control-M/Server is not processing job submission and tasks quickly on a virtual machine with "GM_IPC_raw_msg_read: timeout on OS_SOCKET_select" messages

     


    CAUSE:

    Virtual machine is not configured to provide enough resources (CPU, memory etc) for Control-M/Server


    SOLUTION:

     

    - Do review the Virtual Machine configuration with the System or Virtual Machine Administrator to ensure the Virtual Machine is tuned to give optimal performance.
    - Request the Virtual Machine administrator to ensure that dedicated (not shared) resources (CPU, memory, network) are allocated to Control-M/Server machine.
    - If the virtual machine doesn't have enough resources (for example, cpu cycles), then Control-M/Server will periodically experience performance issue and not able to process the task effectively.
    - Below are some examples from the Control-M/Server logs from the ctm_server/proclog directory that indicated a delay for the Control-M/Server request:

    5 second gap:
    1023 05:09:15.39 CS19079: cs_info_why_check: GM_IPC_raw_msg_read: sd=25, timeout=5, gm_ipc_tcp_fd=0
    1023 05:09:20.40 CS19079: cs_info_why_check: GM_IPC_raw_msg_read: timeout on OS_SOCKET_select

    8 second gap:
    1023 05:09:32.82 CS19079: cs_info_why_check: GM_IPC_raw_msg_read: sd=25, timeout=5, gm_ipc_tcp_fd=0
    1023 05:09:36.01 CS19079: cs_info_why_check: GM_IPC_raw_msg_read: 1 descriptors ready after OS_SOCKET_select

    30 second gap:
    1023 05:09:45.75 CS19079: CS_info_req_log: DB_IOALOG_select_init_order
    1023 05:10:16.72 CS19079: CS_info_req_log: DB_GEN_CMR_IOALOG_getnext

    14 second gap:
    1023 05:10:27.99 CS19079: CS_info_req_log: DB_IOALOG_select_init_order
    1023 05:10:41.83 CS19079: CS_info_req_log: DB_GEN_CMR_IOALOG_getnext

    - If the incident is not resolved after tuning the Virtual Machine configuration, please do the below: 
    1. Enable the debug on Control-M/Server by running: dbglvl ALL 4 0 
    2. Reproduce the problem and provided a good description of the user experience 
    3. Take note of the date and time when the problem happen 
    4. If there is any error message when the problem happen, do note it down too 
    5. Generate the Control-M/Server Data Collector after the problem reoccurs: ctms_data_collector 

    Do open a case with BMC Software Contorl-M Support team with all the required information as mentioned above 


    Additional Information:  

    - In normal situation, each Control-M/Server process periodically waits for a message/update for 1-5 seconds.
    - And if no message arrives for the request, the “GM_IPC_raw_msg_read: timeout on OS_SOCKET_select” will be printed in the logs

    1101 16:31:33.656 CS13175: GM_IPC_raw_msg_read: sd=25, timeout=5, timeout_for_now=5, pending_to_send=0, gm_ipc_tcp_fd=-1

      

    1101 16:31:38.661 CS13175: GM_IPC_raw_msg_read: timeout on OS_SOCKET_select

      

     

      

    1101 16:42:44.542 CS13175: GM_IPC_raw_msg_read: sd=25, timeout=5, timeout_for_now=5, pending_to_send=0, gm_ipc_tcp_fd=-1

      

    1101 16:42:47.647 CS13175: GM_IPC_raw_msg_read: 1 descriptors ready after OS_SOCKET_select

      

     

      

    1101 16:39:18.612 SL: GM_IPC_raw_msg_read: sd=25, timeout=1, timeout_for_now=1, pending_to_send=0, gm_ipc_tcp_fd=-1

      

    1101 16:39:19.614 SL: GM_IPC_raw_msg_read: timeout on OS_SOCKET_select

      


      

     


    Article Number:

    000082357


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles