On Wed, Sep 30, 2009 at 3:09 PM, Christian Boos <[email protected]> wrote: > > Fabien wrote: >> Hi, >> >> I have some troubles with trac performance. >> It's quite slow and mainly when modifying tickets (it can take 20 >> seconds). >> I've checked tickets in trac about that : >> #7785 >> #7490 >> >> In my log, I also have plenty of : >> Trac[__init__] DEBUG: 17130 unreachable objects found. >> >> but also hundreds like that : >> 2009-09-30 10:39:52,434 Trac[__init__] DEBUG: Checking TICKET_MODIFY >> on ticket:1...@* >> ... >> 2009-09-30 10:39:52,573 Trac[__init__] DEBUG: Checking TICKET_MODIFY >> on ticket:1...@* >> > > Well it seems wrong to have that many checks (you don't have 100s of > attachments to that ticket, do you?).
No :) > The "Trac[__init__]" part looks suspicious, this must come from some > plugin (check your [trac] permission_policies setting in trac.ini, to > see which permission policies are in use). I have that : permission_policies = AuthzPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy > Also, here we've only spent 140 ms: if you measure the time span for the > whole range of such lines, does this account for the 20s? It takes 5 or 6 seconds. We just discovered that it's also related to restrict_users problem : http://trac.edgewall.org/ticket/4245 When "restrict_owner = false", it's ok. We have around 1000 registered users... -- Fabien --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
