On 04 Nov 2008, at 07:39, Rob McMahon wrote: > I suspect the underlying cause is this chunk from > lib/cyrusdb_quotalegacy.c(foreach): > > /* strip off the qr specific path and replace with pattern */ > sprintf(strstr(quota_path, FNAME_QUOTADIR) + strlen > (FNAME_QUOTADIR), > "?/%s*", prefix); > > /* search for the quotaroots */ > glob(quota_path, GLOB_NOSORT, NULL, &globbuf); > > That pattern on our boxes can match thousands of users. I think it > needs to be more careful and go looking for `prefix' and > `prefix.*', but > I haven't dug into it far enough yet. That code's been rewritten in 2.3.13 to read the quota directory instead. You might be able to back port the change: https://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/ cyrusdb_quotalegacy.c.diff?r1=1.18;r2=1.19 For the record, it wasn't rewritten because of the bug you identified, but for an unrelated problem. :wes ---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html