cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Working of MAX_CONNECTIONS Functionality in Detail

Working of MAX_CONNECTIONS Functionality in Detail

  1. With MAX_CONNECTIONS value set(A), license administrator can set the limit on number of connections(of any type) which can be established with vendor daemon.
  2. In case, MAX_CONNECTIONS value set(B), is greater than soft limit(A) on the machine then soft limit value supersedes the MAX_CONNECTIONS value(B). Following code snippet provides the value to vendor daemon on the soft limit : -
     getrlimit(RLIMIT_NOFILE, &openFdLimit);
     fdLimit = (int) openFdLimit.rlim_cur;
    
  3. Vendor daemon reserves(RU) 30 connections for important FNP utilities(lmreread, lmstat etc.) so to avoid outage while using them. It means if value of A is 100 then number of client connections which can be established with vendor daemon is B(70) = A(100) - 30(RU).
  4. In case point 2) is valid then another 30 connections vendor daemon reserves(RV) for itself. In that case, B(40) = A(100) -30(RU) - 30(RV)
  5. Value of A cannot be less than 31.
  6. Utilities can also use buffer (B) until it is not exhausted. Buffer(RU) will only be used once (B) is exhausted.
  7. Vendor daemon functionality keeps increment the counter on every socket connection.
  8. Once number of connections exceeding 80% of the threshold limit(B), vendor daemon starts displaying warning messages on every successive socket connection.
  9. Once number of connection established with vendor daemon reached to threshold limit(B), further all connection request will be dropped(exception utilities), until some the established connections are dropped.
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Jul 28, 2020 04:20 AM
Updated by:
Contributors