<<< Date Index >>>     <<< Thread Index >>>

Re: Extremly slow browsing of folders



Hi,

* Vincent Sanders <vince@xxxxxxxxxxxx> [040928 17:37]:
> After a lot of debugging with strace etc. it turns out mutt does
> several getgrgid and getpwuid calls while browsing folders (several
> calls for each entry, consisting of over 20 system calls and numerous
> calls to retrieve the group and password db to process). Obviously
> these calls were assumed to be inexpensive (in terms of wall clock
> time) but when being used on a system where the directory service is
> not local e.g. over an ssl link to a loaded ldap server getgrgid and
> getpwuid become *extremely* expensive.

Don't fight symptoms. - Install a nscd.

Honestly,
        Thomas