BSA/TSSA: NSH Proxy Service cannot accept new connections, shows as unavailable in Infrastructure Manager

Version 1
    Share:|

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


    PRODUCT:

    BladeLogic Server Automation Suite


    APPLIES TO:

    BSA 8.9.01 and below



    PROBLEM:

    The NSH Proxy server enters into an unavailable state and exhibits one or more of the following behaviors:

    In the application server log you see the message:

    [20 Nov 2018 20:23:11,635] [Accept-Nsh-Proxy-Thread] [WARN] [::] [Appserver] Cannot accept new connections. The appserver has reached its maximum connection limit.
    However, when you look at a recent Memory Monitor status line in the same log file just before this error you see few or no NSH Proxy Threads in use: 
       
    [20 Nov 2018 20:22:25,420] [Scheduled-System-Tasks-Thread-7] [INFO] [System:System:] [Memory Monitor] Total JVM (B): 2431647744,Free JVM (B): 2099314568,Used JVM (B): 332333176,VSize (B): 9732476928,RSS (B): 2951933952,Used File Descriptors: 302,   Used Work Item Threads: 0/100,Used NSH Proxy Threads: 0/50,Used Client Connections: 0/300,DB Client-Connection-Pool: 0/0/0/200/150/50,DB Job-Connection-Pool: 1/1/0/200/150/50,DB General-Connection-Pool: 2/2/0/200/150/50
    If you see all of the NSH Proxy Threads in use and the below behaviors are not observed the problem may be that you are actually running out of NSH Proxy connections due to actual usage and need to adjust the   MaxNshProxyThreads and   MaxNshProxyContexts in   blasadmin to handle the increased usage. 


    When you load the Infrastructure Manager panel in the GUI and navigate to the NSHProxyConnectService you see no output: 
    User-added image
    as opposed to the expected output: 
    User-added image
      
    Alternatively, under the   Hosts connected to the application server section you see several entries with   Unknown in the   Host column. 

    Restarting the application server service resolves all of the above issues. 
      

     


    SOLUTION:

    This is defect QM002330068 fixed in 8.9.02 and later where the application server is not properly releasing NSH Proxy connections and after some time all available connections (NshProxyContexts) are consumed.  



     


    Article Number:

    000162302


    Article Type:

    Solutions to a Product Problem



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