cyrus-murder problems with database corruption in the frontend/master

Derrick J Brashear shadow at
Fri Apr 8 23:56:13 EDT 2005

On Fri, 8 Apr 2005, João Assad wrote:

>> I could do a strace -f wich would dump all the traces from all the threads 
>> into a single file... but its a nightmare to read it.
>> by reading some strace output here I've noticed mmaps complaining about 
>> ENOMEM way before the mmap inside map_refresh goes crazy.
>> then It came to me that cyrus only do mmap inside map_refresh and It seemed 
>> to me that it was tcp_wrappers mmap that was causing the rist ENOMEM
>> Im trying to recompile without tcp_wrappers and check if I can clean strace 
>> output a bit.
> Actually its not tcp_wrappers.
> When I start importing , I get 723 messeages like the ones below:
> 16677 22:43:37.184060 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
> 16677 22:43:37.184221 mmap2(NULL, 10489856, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)


So, prior to this presumably you've mmap2()'d some memory, have there been 
any munmaps? 
> cyrus-fe1 cyrus/mupdate[16671]: could not start a new worker thread (not 
> fatal)
> cyrus-fe1 last message repeated 722 times

More information about the Info-cyrus mailing list