[SR-Users] [sr-dev] RFC: updating default values
Juha Heinanen
jh at tutpro.com
Wed Apr 16 12:41:15 CEST 2014
Daniel-Constantin Mierla writes:
> - default private memory is 4MB - if the config is not that small, it
> might not be sufficient free pkg to play with (e.g., for sql_query()
> result, storage of $var(...) values). Should it be increased to 8MB or
> other value? Debian/Centos have startup script that sets its value to 8
> via command line
i agree on increasing this to 8 MB. my sip-proxy does not start with
4. it starts with 8 on i386, but not on amd64 arch.
> - default shared memory is 32MB - for a decent deployment with tm,
> location, lcr/dispatcher, permissions, and anti-flood, it might leave
> not much free space. Should we double it or set to a different value
my proxy is happy with 32 here.
> - usrloc - db_ops_ruid should enabled (1) - seems stable, without it
> there are problems updating/deleting location records when UA changes
> the call-id for same contact address.
i agree.
> - usrloc - hash_size - now is 9, which results in 512 slots, meaning is
> ok for few thousands of registered users, for more, performance will
> decrease when doing save/lookup location -- should it be made 10 (1024
> slots for internal hash table)?
i'm fine with that change.
> - auth_db - load_credentials defaults to 'rpid', meaning that the query
> to get the password will retrieve also the rpid column. I haven't see
> rpid being used that much lately (replaced by PAI/PPI). I would make
> this parameter empty by default to avoid querying for an extra column
> that is likely to be empty.
i agree, since i have modparam("auth_db", "load_credentials", "") in my
config.
-- juha
More information about the sr-users
mailing list