Troubleshoot > Troubleshooting HPE Service Manager > Troubleshooting: Server startup > Troubleshooting: Java buffer size errors occur when starting Service Manager (AIX only)

Troubleshooting: Java buffer size errors occur when starting Service Manager (AIX only)

The following Java buffer size errors may occur in the sm.log file when starting Service Manager on AIX:

"Failed setting receives buffer size of 20000000 in java.net.DatagramSocket@49ca49ca: java.net.SocketException: There is not enough buffer space for the requested socket operation."
"Failed setting receive buffer size of 25000000 in java.net.MulticastSocket@4bb04bb0: java.net.SocketException: There is not enough buffer space for the requested socket operation."

Rootcause:

The out-of-box value of the UDP receive buffer size (in bytes) in Service Manager is 20000000, which exceeds the maximum value (8388608) of sb_max on AIX.

Workaround:

  1. Go to the Service Manager server's RUN folder.
  2. Open the following file in a text editor: {SM_SERVER_DIR}\RUN\udp.xml (in vertical scaling deployment mode) or {SM_SERVER_DIR}\RUN\udpcluster.xml (in horizontal scaling deployment mode).
  3. Change these parameter values from:

        ucast_recv_buf_size="20000000"
        mcast_recv_buf_size="25000000"

    to a value less than or equal to 8388608, for example:

        ucast_recv_buf_size="8000000"
        mcast_recv_buf_size="8000000"
  4. Restart the Service Manager server. The Jave buffer size warning messages will disappear.