openhpi2 / Open-HPI-base

Open HPI is an open source implementation of the SA Forum's Hardware Platform Interface (HPI). HPI provides an abstracted interface to managing computer hardware, typically for chassis and rack based servers
0 stars 1 forks source link

Memory Leak in ilo2_ribcl pluigin when iLO connection issue #2570

Closed openhpi2 closed 8 years ago

openhpi2 commented 9 years ago

openhpid has memory leak when connection to iLO on ProLiant DL380 server is not reachable. We have had several customers complain about this.

Feb 12 00:47:15 CCF21-0-1-0 openhpid: ilo2_ribcl: ilo2_ribcl_ssl.c:87: ilo2_ribcl_ssl_send_command(): oh_ssl_connect returned NULL. Feb 12 00:47:15 CCF21-0-1-0 openhpid: ilo2_ribcl: ilo2_ribcl_ssl.c:233: ilo2_ribcl_ssl_send_command(): write of xml header to socket failed. Feb 12 00:47:15 CCF21-0-1-0 openhpid: ilo2_ribcl: ilo2_ribcl_discover.c:327: ilo2_ribcl_do_discovery():could not detect iLO type. Feb 12 00:47:15 CCF21-0-1-0 openhpid: ilo2_ribcl: ilo2_ribcl_discover.c:161: ilo2_ribcl_discover_resources(): discovery failed. Feb 12 00:47:17 CCF21-0-1-0 openhpid: transport: strmsock.cpp:497: bind failed. Feb 12 00:47:17 CCF21-0-1-0 openhpid: openhpid: server.cpp:152: Error creating server socket. Exiting. Feb 12 00:47:18 CCF21-0-1-0 openhpid: ssl: oh_ssl.c:493: BIO_do_connect() failed Feb 12 00:47:18 CCF21-0-1-0 openhpid: ssl: oh_ssl.c:495: SSL error: No route to host

Reported by: rvlane

openhpi2 commented 9 years ago

Original comment by: dr_mohan

openhpi2 commented 9 years ago

Bug #1854 fixed a similar issue. Looks like an old release was used. Could you please check?

Original comment by: dr_mohan

openhpi2 commented 9 years ago

Original comment by: dr_mohan

openhpi2 commented 9 years ago

Duplicate of #1854 https://sourceforge.net/p/openhpi/bugs/1854/

Original comment by: dr_mohan

openhpi2 commented 9 years ago

Original comment by: dr_mohan