Re: (no subject)

"[email protected]" <[email protected]> Thu, 7 May 2009 15:20:33 +0200 (CEST)
Newsgroups gmane.mail.spam.crm114
Message-ID <[email protected]>
Everybody lots of thanks for taking the time to answer, it's much
appreciated.

>>>> On the virtual server, crm114 keeps throwing errors like 'Tried to fork
>>>> your minion, but it failed.', 'Couldn't malloc one or more
>>>> ofnewinputbuf,inbuf,outbuf,tempbuf.' and 'Couldn't malloc
>>>> cdw->filetext.'

>> My bet is even though your ulimit and max memory size are OK, the actual
>> amounts available within the VM are lower.

I tried (google found a post from you somewhere) this as well:

crm '-{window; isolate (:s:); syscall () () (:s:) /exit 123/; output /
Status: :*:s: \n/}'

crm '-{window; isolate (:s:); syscall () () (:s:) /jibberjabber 2>
\/dev\/null /; output / Status: :*:s: \n/}'

(Sorry for the line wrapping, should be 2 lines like crm '...')

Both end in tears:
./crm114: *WARNING* Tried to fork your minion etc.

>>>> The -w option seems to help with the minions error, but then more
>>>> malloc errors pop up.

>> That's interesting.  It makes it seem like the memory system is lying
>> to you- you really don't have much memory or many process slots and the
>> errors are telling you that.
>> You might want to try a really simple test program, just to verify that
>> there are enough slots.  Grab a copy of the Big Manual, and look
>> at the "beast with 1000 young" test code.  (it's like 12 lines of code,
>> type it in).  Give that a run.  Supposedly you have 30000+ process slots,
>> but I bet it doesn't work.  Scale down the number of child processes till
>> it does work - that will tell you something

Found said beast in the book (CRM114 Revealed, p139) and predictably, it
failed. Even when I reduce count from 100 to 1 and limit the syscalls to
1, it fails (a beast with one young, I guess.)

When I add -w 2000000, it works without moaning.

>> Do you own the machine in question, or just rent the virtual private
>> server?

I just rent it somewhere. CRM114 runs fine on a quite limited virtualbox
vm on my laptop, by the way.

What to do? What makes crm114 different from apache and mysql? Both are
real memory hogs out-of-the-box.

What about the minions? This probably sounds extremely silly, but can the
minions be turned off? I don't want it to fork minions, I just want crm114
to classify the email...

thanks,
Ferenc


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com