cpu and cyrus
Maria McKinley
maria at shadlen.org
Thu Sep 1 18:25:05 EDT 2011
On 9/1/11 11:49 AM, Dan White wrote:
> On 01/09/11 10:14 -0700, Maria McKinley wrote:
>>> On 8/31/11 1:09 PM, Bron Gondwana wrote:
>>>> Ok - next time it goes crazy can you pick one up with gdb and get
>>>> a backtrace?
>>>>
>>>> gdb $cyrusbinpath/imapd $pid
>>>>
>>>> and then when you get the prompt:
>>>>
>>>> bt
>>>>
>>>> and maybe also:
>>>>
>>>> p imapd_in
>>>>
>>>> which will give us the command that's running.
>>>>
>>
>> ella:~# gdb /usr/lib/cyrus/bin/imapd 4416
>
>> (gdb) bt
>> #0 0x00007f2c049e90d8 in poll () from /lib/libc.so.6
>> #1 0x00007f2bfe6fd31d in ?? () from /usr/lib/libldap_r-2.4.so.2
>> #2 0x00007f2bfe6fe4fd in ldap_result () from /usr/lib/libldap_r-2.4.so.2
>> #3 0x00007f2bfe93a505 in ?? () from /lib/libnss_ldap.so.2
>> #4 0x00007f2bfe93a7a7 in ?? () from /lib/libnss_ldap.so.2
>> #5 0x00007f2bfe93cff5 in _nss_ldap_endgrent () from /lib/libnss_ldap.so.2
>> #6 0x00007f2c04a04d89 in ?? () from /lib/libc.so.6
>> #7 0x00007f2c049c315a in endgrent () from /lib/libc.so.6
>> #8 0x0000000000451d1d in ?? ()
>> #9 0x000000000043c008 in ?? ()
>> #10 0x0000000000414de1 in ?? ()
>> #11 0x00007f2c069cb682 in do_authorization (s_conn=0x26852f0) at
>> server.c:1185
>> #12 0x00007f2c069cc22d in sasl_checkpass (conn=0x26852f0, user=<value
>> optimized out>, userlen=4,
>> pass=0x2686fe0 "Biko';l", passlen=7) at server.c:1746
>> #13 0x0000000000414783 in ?? ()
>> #14 0x000000000041892a in ?? ()
>> #15 0x000000000041a3e4 in ?? ()
>> #16 0x0000000000407b07 in ?? ()
>> #17 0x00007f2c04943c4d in __libc_start_main () from /lib/libc.so.6
>> #18 0x0000000000407229 in ?? ()
>> #19 0x00007fffd439b798 in ?? ()
>> #20 0x000000000000001c in ?? ()
>> #21 0x0000000000000004 in ?? ()
>> #22 0x00007fffd439be5f in ?? ()
>> #23 0x00007fffd439be65 in ?? ()
>> #24 0x00007fffd439be68 in ?? ()
>> #25 0x00007fffd439be6b in ?? ()
>> #26 0x0000000000000000 in ?? ()
>> (gdb) p imapd_in
>> $1 = 40607904
>> (gdb)
>> ----
>
> Do you use any group ACLs? It looks like your imapd process may be waiting
> for a group list enumeration to complete, via an nss ldap plugin.
>
> If so, and you are using the default 'auth_mech: unix' group authorization
> config, this is not a recommended configuration per:
>
> http://www.cyrusimap.org/docs/cyrus-imapd/2.4.10/overview.php#aclauth
>
> Doing so can cause performance issues.
>
I don't think I am using group ACLs, as I don't remember setting it up,
but haven't been able to figure this out definitively. How can I tell if
I am using any group ACLs? Am I trying to index on groups? I remember
setting up to index on different things, but can't find where this is
set up, so maybe I am making this up. Feeling way over my head, sorry,
and thanks so much for your help.
~maria
More information about the Info-cyrus
mailing list