Skip to content
This repository has been archived by the owner. It is now read-only.

[dev.icinga.com #2741] RHEL5: ido2db + libdbd-pgsql 0.8.1a (linked against libpg 8.1) + libpq 8.4 + postgresql 8.4 = memory leaks on dbd_ping #1017

Closed
icinga-migration opened this issue Jun 28, 2012 · 2 comments

Comments

Projects
None yet
1 participant
@icinga-migration
Copy link
Member

commented Jun 28, 2012

This issue has been migrated from Redmine: https://dev.icinga.com/issues/2741

Created by mfriedrich on 2012-06-28 11:14:58 +00:00

Assignee: (none)
Status: Closed (closed on 2012-06-28 11:14:58 +00:00)
Target Version: (none)
Last Update: 2014-12-08 14:37:46 +00:00 (in Redmine)

Icinga Version: 1.10.0
OS Version: any

just an informational note, when working on old RHEL boxes, where the native libdbd-pgsql binaries link against the old system native libpq 8.1 postgresql lib api, but the libpq installed is 8.4 targetting a postgresql server 8.4 on a 64bit system.

this leaks heavily memory, the root cause is dbd_ping, like the attached valgrind log shows. this has been run for ~12hours, assigning ~600m memory to the ido2db process.

presumingly this is fixed in all other upstream versions (debian 6, libdbi 0.8.2-2, libpq 8.4).

some bug reports from 2006
http://osdir.com/ml/db.libdbi.drivers/2006-09/msg00002.html
http://osdir.com/ml/db.libdbi.drivers/2006-09/msg00003.html
http://git.balabit.hu/?p=bazsi/libdbi-drivers.git;a=log;h=42c65bf8476bdd58713abf1c72004b903d7dc223

i guess the rhel5 libdbi version is just broken and should be replaced by a proper packaging - i.e. shipped via repoforge 3rd party repo.

Attachments

@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Jun 28, 2012

Updated by mfriedrich on 2012-06-28 11:16:47 +00:00

  • File added valgrind_27062012.log
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Dec 8, 2014

Updated by mfriedrich on 2014-12-08 14:37:46 +00:00

  • Project changed from 18 to Core, Classic UI, IDOUtils
  • Category set to IDOUtils
  • Icinga Version set to 1
  • OS Version set to any
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.