Menu

#1854 increased memory consumption during failures

3.5.0
closed-fixed
dr_mohan
HP Proliant plugin
5
2014-09-30
2014-09-29
dr_mohan
No

Reported in the mailing list
rpm -qf /usr/sbin/openhpid
openhpi-3.2.1-1.x86_64
<my host="" name="">:/root-# uname -a
Linux <my host="" name=""> 2.6.32-358.23.2.el6.x86_64 #1 SMP Sat Sep 14 05:32:37 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux

The process runs like this:
/usr/sbin/openhpid -c /etc/openhpi/openhpi-0.conf -p 60450 -f /var/run/openhpid-0.pid


cat /etc/openhpi/openhpi-0.conf

OPENHPI_VARPATH = "/var/lib/openhpi"

<my host="" name=""> (ProLiantDL380)

handler libilo2_ribcl
{
        entity_root     = "{RACK,0}{RACK_MOUNTED_SERVER,0}"
        ilo2_ribcl_hostname     = "<some IP="" here="">"     # iLO2 RIBCL IP address
        ilo2_ribcl_portstr      = "443"         # iLO2 RIBCL SSL server port
        ilo2_ribcl_username     = "<some admin="" name="" here="">"        # iLO2 username
        ilo2_ribcl_password     = "some pass here"      # iLO2 password
}

The issue is that openhpid grows when  "<some IP="" here="">"  is not reachable. So it grows in rainy day scenario.
Here some are the logs from /var/log/messages. They repeat so I do not want to paste everything.

Sep 28 02:11:56 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_ssl.c:234: ilo2_ribcl_ssl_send_command(): write of xml header to socket failed.
Sep 28 02:11:56 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_discover.c:335: ilo2_ribcl_do_discovery():could not detect iLO type.
Sep 28 02:11:56 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_discover.c:161: ilo2_ribcl_discover_resources(): discovery failed.
Sep 28 02:11:56 <my host="" name="" is="" here=""> openhpid: transport: strmsock.cpp:538: bind failed.
Sep 28 02:11:56 <my host="" name="" is="" here=""> openhpid: openhpid: server.cpp:152: Error creating server socket. Exiting.
Sep 28 02:12:08 <my host="" name="" is="" here=""> openhpid: transport: strmsock.cpp:538: bind failed.
Sep 28 02:12:08 <my host="" name="" is="" here=""> openhpid: openhpid: server.cpp:152: Error creating server socket. Exiting.
Sep 28 02:12:09 <my host="" name="" is="" here=""> openhpid: ssl: oh_ssl.c:493: BIO_do_connect() failed
Sep 28 02:12:09 <my host="" name="" is="" here=""> openhpid: ssl: oh_ssl.c:495: SSL error: No route to host
Sep 28 02:12:09 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_ssl.c:87: ilo2_ribcl_ssl_send_command(): oh_ssl_connect returned NULL.
Sep 28 02:12:09 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_ssl.c:234: ilo2_ribcl_ssl_send_command(): write of xml header to socket failed.
Sep 28 02:12:09 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_discover.c:335: ilo2_ribcl_do_discovery():could not detect iLO type.
Sep 28 02:12:09 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_discover.c:161: ilo2_ribcl_discover_resources(): discovery failed.
Sep 28 02:12:20 <my host="" name="" is="" here=""> openhpid: transport: strmsock.cpp:538: bind failed.
Sep 28 02:12:20 <my host="" name="" is="" here=""> openhpid: openhpid: server.cpp:152: Error creating server socket. Exiting.
Sep 28 02:12:22 <my host="" name="" is="" here=""> openhpid: ssl: oh_ssl.c:493: BIO_do_connect() failed
Sep 28 02:12:22 <my host="" name="" is="" here=""> openhpid: ssl: oh_ssl.c:495: SSL error: No route to host
Sep 28 02:12:22 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_ssl.c:87: ilo2_ribcl_ssl_send_command(): oh_ssl_connect returned NULL.
Sep 28 02:12:22 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_ssl.c:234: ilo2_ribcl_ssl_send_command(): write of xml header to socket failed.
Sep 28 02:12:22 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_discover.c:335: ilo2_ribcl_do_discovery():could not detect iLO type.
Sep 28 02:12:22 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_discover.c:161: ilo2_ribcl_discover_resources(): discovery failed.
Sep 28 02:12:32 <my host="" name="" is="" here=""> openhpid: transport: strmsock.cpp:538: bind failed.
Sep 28 02:12:32 <my host="" name="" is="" here=""> openhpid: openhpid: server.cpp:152: Error creating server socket. Exiting.
Sep 28 02:12:34 <my host="" name="" is="" here=""> openhpid: ssl: oh_ssl.c:493: BIO_do_connect() failed
Sep 28 02:12:34 <my host="" name="" is="" here=""> openhpid: ssl: oh_ssl.c:495: SSL error: No route to host
Sep 28 02:12:34 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_ssl.c:87: ilo2_ribcl_ssl_send_command(): oh_ssl_connect returned NULL.
Sep 28 02:12:34 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_ssl.c:234: ilo2_ribcl_ssl_send_command(): write of xml header to socket failed.
Sep 28 02:12:34 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_discover.c:335: ilo2_ribcl_do_discovery():could not detect iLO type.
Sep 28 02:12:34 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_discover.c:161: ilo2_ribcl_discover_resources(): discovery failed.
Sep 28 02:12:44 <my host="" name="" is="" here=""> openhpid: transport: strmsock.cpp:538: bind failed.
Sep 28 02:12:44 <my host="" name="" is="" here=""> openhpid: openhpid: server.cpp:152: Error creating server socket. Exiting.
Sep 28 02:12:46 <my host="" name="" is="" here=""> openhpid: ssl: oh_ssl.c:493: BIO_do_connect() failed
Sep 28 02:12:46 <my host="" name="" is="" here=""> openhpid: ssl: oh_ssl.c:495: SSL error: No route to host
Sep 28 02:12:46 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_ssl.c:87: ilo2_ribcl_ssl_send_command(): oh_ssl_connect returned NULL.
Sep 28 02:12:46 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_ssl.c:234: ilo2_ribcl_ssl_send_command(): write of xml header to socket failed.
Sep 28 02:12:46 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_discover.c:335: ilo2_ribcl_do_discovery():could not detect iLO type.
Sep 28 02:12:46 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_discover.c:161: ilo2_ribcl_discover_resources(): discovery failed.
Sep 28 02:12:56 <my host="" name="" is="" here=""> openhpid: transport: strmsock.cpp:538: bind failed.
Sep 28 02:12:56 <my host="" name="" is="" here=""> openhpid: openhpid: server.cpp:152: Error creating server socket. Exiting.
Sep 28 02:12:58 <my host="" name="" is="" here=""> openhpid: ssl: oh_ssl.c:493: BIO_do_connect() failed
Sep 28 02:12:58 <my host="" name="" is="" here=""> openhpid: ssl: oh_ssl.c:495: SSL error: No route to host
Sep 28 02:12:58 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_ssl.c:87: ilo2_ribcl_ssl_send_command(): oh_ssl_connect returned NULL.
Sep 28 02:12:58 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_ssl.c:234: ilo2_ribcl_ssl_send_command(): write of xml header to socket failed.
Sep 28 02:12:58 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_discover.c:335: ilo2_ribcl_do_discovery():could not detect iLO type.
Sep 28 02:12:58 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_discover.c:161: ilo2_ribcl_discover_resources(): discovery failed.
Sep 28 02:13:08 <my host="" name="" is="" here=""> openhpid: transport: strmsock.cpp:538: bind failed.
Sep 28 02:13:08 <my host="" name="" is="" here=""> openhpid: openhpid: server.cpp:152: Error creating server socket. Exiting.
Sep 28 02:13:10 <my host="" name="" is="" here=""> openhpid: ssl: oh_ssl.c:493: BIO_do_connect() failed
Sep 28 02:13:10 <my host="" name="" is="" here=""> openhpid: ssl: oh_ssl.c:495: SSL error: No route to host
Sep 28 02:13:10 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_ssl.c:87: ilo2_ribcl_ssl_send_command(): oh_ssl_connect returned NULL.
Sep 28 02:13:10 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_ssl.c:234: ilo2_ribcl_ssl_send_command(): write of xml header to socket failed.
Sep 28 02:13:10 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_discover.c:335: ilo2_ribcl_do_discovery():could not detect iLO type.
Sep 28 02:13:10 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_discover.c:161: ilo2_ribcl_discover_resources(): discovery failed.
Sep 28 02:13:20 <my host="" name="" is="" here=""> openhpid: transport: strmsock.cpp:538: bind failed.
Sep 28 02:13:20 <my host="" name="" is="" here=""> openhpid: openhpid: server.cpp:152: Error creating server socket. Exiting.
Sep 28 02:13:22 <my host="" name="" is="" here=""> openhpid: ssl: oh_ssl.c:493: BIO_do_connect() failed
Sep 28 02:13:22 <my host="" name="" is="" here=""> openhpid: ssl: oh_ssl.c:495: SSL error: No route to host
Sep 28 02:13:22 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_ssl.c:87: ilo2_ribcl_ssl_send_command(): oh_ssl_connect returned NULL.
Sep 28 02:13:22 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_ssl.c:234: ilo2_ribcl_ssl_send_command(): write of xml header to socket failed.
Sep 28 02:13:22 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_discover.c:335: ilo2_ribcl_do_discovery():could not detect iLO type.
Sep 28 02:13:22 <my host="" name="" is="" here=""> openhpid: ilo2_ribcl: ilo2_ribcl_discover.c:161: ilo2_ribcl_discover_resources(): discovery failed.

Discussion

  • dr_mohan

    dr_mohan - 2014-09-30
    • labels: --> HP ProLiant plugin
    • status: open --> closed-fixed
     
  • dr_mohan

    dr_mohan - 2014-09-30

    Fixed with checkin #7594