Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[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
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
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
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.