Univention Bugzilla – Full Text Bug Listing |
Summary: | Join von Managed Clients wird durch passwordcache und faillog erheblich gebremst | ||
---|---|---|---|
Product: | UCS | Reporter: | Roman Asendorf <asendorf> |
Component: | Listener (univention-directory-listener) | Assignee: | Bugzilla Mailingliste <bugzilla> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | P5 | CC: | grandjean, hahn, roland.buser |
Version: | UCS 2.4 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | UCS Performance | |
Max CVSS v3 score: |
Description
Roman Asendorf
2011-09-22 11:21:01 CEST
Happened again in a UCS@school environment: - UDL iterates through each cache entry and invokes "faillog" to remove it from the module list - every single change is fsync()ed. src/change.c: 92 »···/* remove old entries for module */ 93 »···univention_debug(UV_DEBUG_LISTENER, UV_DEBUG_INFO, 94 »···»···»···"remove old entries for module %s", handler->name); 95 »···for (rv=cache_first_entry(&dbc_cur, &dn, &cache_entry); rv != DB_NOTFOUND; 96 »···»···»···rv=cache_next_entry(&dbc_cur, &dn, &cache_entry)) { 97 »···»···if (rv == -1) continue; 98 »···»···if (rv < 0) break; 99 100 »···»···cache_entry_module_remove(&cache_entry, handler->name); 101 »···»···cache_update_or_deleteifunused_entry(0, dn, &cache_entry); 102 »···»···cache_free_entry(&dn, &cache_entry); 103 »···} # univention-ldapsearch -LLLo ldif-wrap=no dn | grep -c ^dn 32253 Temporarily solved by putting the UDL cache in a tmpfs: cd /var/lib/univention-directory-listener mkdir TEST mount -t tmpfs -o size=1G udl TEST cp -pr cache.db cache.db.lock notifier_id handlers TEST/ /usr/sbin/univention-directory-listener ... -c TEST/ ... rsync -a TESTS/ ./ umount ./TEST Ticket#2015110421000101 Customer system also suffered from this. I guess ticket from comment #1 is 2015110221000211 Again at Ticket#2015111621000418 |