Changes between Initial Version and Version 3 of Ticket #8487


Ignore:
Timestamp:
Feb 10, 2011, 12:19:27 AM (4 years ago)
Author:
rjollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8487 – Description

    initial v3  
    1 Every time the AcctMgr plugin accesses the configured Password_file, it adds an extra blank line after each line in the file.  First save, file doubles in size, then triples, etc.   I have only 73 users, but the file was 125MB.  Eventually trac runs out of memory when trying to do any operation.
     1Every time the !AcctMgr plugin accesses the configured Password_file, it adds an extra blank line after each line in the file.  First save, file doubles in size, then triples, etc.   I have only 73 users, but the file was 125MB.  Eventually trac runs out of memory when trying to do any operation.
    22
     3{{{
    34AcctMgr plugin 0.3dev r9591
    45Trac v0.12.  Python v2.5.  Windows 2008 R2
     6}}}
    57
    6 Trac.ini:[[BR]]
    7 [account-manager][[BR]]
    8 account_changes_notify_addresses = <removed>[[BR]]
    9 force_passwd_change = true[[BR]]
    10 htdigest_realm = trac[[BR]]
    11 notify_actions = new[[BR]]
    12 password_file = c:\TracRoot\tracusers.txt[[BR]]
    13 password_store = HtDigestStore[[BR]]
    14 user_lock_max_time = 0[[BR]]
    15 [[BR]][[BR]]
     8{{{
     9Trac.ini:
     10[account-manager]
     11account_changes_notify_addresses = <removed>
     12force_passwd_change = true
     13htdigest_realm = trac
     14notify_actions = new
     15password_file = c:\TracRoot\tracusers.txt
     16password_store = HtDigestStore
     17user_lock_max_time = 0
     18}}}
     19
    1620I had every feature enabled except registration.  For the moment I've disabled everything, which is why the lines are commented-out:
    17 [[BR]][[BR]]
    18 [components][[BR]]
    19 #acct_mgr.admin.* = enabled[[BR]]
    20 #acct_mgr.admin.accountmanageradminpage = enabled[[BR]]
    21 #acct_mgr.api.* = enabled[[BR]]
    22 #acct_mgr.api.accountmanager = enabled[[BR]]
    23 #acct_mgr.db.* = enabled[[BR]]
    24 #acct_mgr.db.sessionstore = disabled[[BR]]
    25 #acct_mgr.guard.accountguard = enabled[[BR]]
    26 #acct_mgr.htfile.* = enabled[[BR]]
    27 #acct_mgr.http.* = enabled[[BR]]
    28 #acct_mgr.notification.* = enabled[[BR]]
    29 #acct_mgr.pwhash.* = enabled[[BR]]
    30 #acct_mgr.svnserve.* = enabled[[BR]]
    31 #acct_mgr.web_ui.* = enabled[[BR]]
    32 #acct_mgr.web_ui.accountmodule = enabled[[BR]]
    33 #acct_mgr.web_ui.loginmodule = enabled[[BR]]
    34 #acct_mgr.web_ui.registrationmodule = disabled[[BR]]
     21
     22{{{
     23[components]
     24#acct_mgr.admin.* = enabled
     25#acct_mgr.admin.accountmanageradminpage = enabled
     26#acct_mgr.api.* = enabled
     27#acct_mgr.api.accountmanager = enabled
     28#acct_mgr.db.* = enabled
     29#acct_mgr.db.sessionstore = disabled
     30#acct_mgr.guard.accountguard = enabled
     31#acct_mgr.htfile.* = enabled
     32#acct_mgr.http.* = enabled
     33#acct_mgr.notification.* = enabled
     34#acct_mgr.pwhash.* = enabled
     35#acct_mgr.svnserve.* = enabled
     36#acct_mgr.web_ui.* = enabled
     37#acct_mgr.web_ui.accountmodule = enabled
     38#acct_mgr.web_ui.loginmodule = enabled
     39#acct_mgr.web_ui.registrationmodule = disabled
     40}}}