On 11.10.2012, at 13.21, . . wrote:

> Hi! I have some problems with memory allocation.
> I create new thread in cidir storage and call malloc(), and it fails to 
> allocate even 1 byte.
> What can cause this problem?

No idea. Dovecot in general isn't designed to work with threads.

> Oct 11 12:56:15 imap(guest): Info: test_pthread_malloc: malloc() succeeded
> Oct 11 12:56:15 imap(guest): Info: test_pthread_malloc_func: malloc() failed

Well, or the one thing I can think of you to try: Set default_vsz_limit=0

Also straceing the process could show what exactly fails.

Reply via email to