分类:
2010-04-09 13:09:58
If a client (such as Oracle) exceeds the number of connections to emsvcs (haemd), this error will be seen in the emsvcs log: 2521-027 Socket connection type C rejected, too many open descriptors. haemd has gone through several upgrades of maximum connection limits, the most recent being to 1500, but several Oracle customers are finding their large databases are exceeding that. This APAR is to implement a design change to allow a higher number of connections based on some type of system admin- defined variable or file, with a boundary of 7000 (for now).
There are a couple workarounds for this, all of which involve the configuration of Oracle, so Oracle support should be consulted for how to implement and which are appropriate for a given customer: 1) Changing the Database from Dedicated to Multi-threaded will reduce the number of connections made to emsvcs. 2) Oracle can also be configured to connect only to grpsvcs (hagsd) instead of emsvcs.
Currently haemd allows only 1500 client connections. If this limit is exceeded, additional connections can not be made and messages similar to the following will be written to /var/ha/log/em.default.partition: Fn=../../../../../src/rsct/pem/emdaemon/emd_cci.c, SID=1.28,L#=259 Thu Sep 16 16:01:48 2004 haemd(xxxx): 2521-027 Socket connection type C rejected, too many open descriptors.
The environment variable EM_FD_MAX has been introduced. This variable can be set to a maximum of 7000 to increase the number of client connections to haemd. The default number of connections is still 1500. If haemd is restarted after the new environment variable takes effect, information regarding the highest file descriptor allowed for client connections is displayed in the lssrc -ls haem output, following the display of the highest file descriptor in use. The highest file descriptor allowed for client connections is 25 less than the value of EM_FD_MAX Sample output included in lssrc -ls haem: Highest file descriptor in use is 11 Highest file descriptor allowed for client connections is 3975
IY59779
RSCT/RMC FOR CS
5765F07AP
234
CLOSED PER
NoPE
NoHIPER
2004-08-02
2004-09-22
2004-11-01
U800819 U800820 U800821
RSCT/RMC FOR CS
5765F07AP
UP04/11/01 I 1000