Launchpad has imported 2 comments from the remote bug at https://sourceware.org/bugzilla/show_bug.cgi?id=33558.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2025-10-21T05:41:25+00:00 Ponnuvel Palaniyappan wrote: libdnss-db opens and closes the DB file each time. This is normally not an issue as the DB files are small. This results in considerably poor performance when the DB files large (e.g. in an environment with 20k lines of DB file, the performance was 40times compared to keeping it open for processing all lines). Rather than re-opening for scanning each line, the file can be kept open for each call into libnss as proposed in [1]. Reported elsewhere: [0] https://bugs.launchpad.net/ubuntu/+source/libnss-db/+bug/2121543 [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101371 Reply at: https://bugs.launchpad.net/ubuntu/+source/libnss- db/+bug/2121543/comments/6 ------------------------------------------------------------------------ On 2025-10-21T06:40:17+00:00 Ponnuvel Palaniyappan wrote: Created attachment 16429 Proposed patch Attaching the proposed patch here. Also sent to glibc-alpha. Reply at: https://bugs.launchpad.net/ubuntu/+source/libnss- db/+bug/2121543/comments/7 ** Changed in: libnss-db Status: Unknown => New ** Changed in: libnss-db Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2121543 Title: [SRU] Poor performance of libnss-db on large db files To manage notifications about this bug go to: https://bugs.launchpad.net/libnss-db/+bug/2121543/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
