Hi Yair,

It sounds like you have MarkLogic configured to use too much memory. You
could configure the OOM killer, but first, I would fiddle with the
MarkLogic memory settings described here. You can set limits on your memory
usage per db.

https://docs.marklogic.com/guide/admin/databases#id_59939

On Fri, Nov 11, 2016 at 1:00 PM, <[email protected]>
wrote:

> Send General mailing list submissions to
>         [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://developer.marklogic.com/mailman/listinfo/general
> or, via email, send a message with subject or body 'help' to
>         [email protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of General digest..."
>
>
> Today's Topics:
>
>    1. A question about limiting Marklogic memory        and CPU usage.
>       (Yair Etziony)
>    2. (no subject) (Yair Etziony)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 11 Nov 2016 14:32:20 +0100
> From: Yair Etziony <[email protected]>
> Subject: [MarkLogic Dev General] A question about limiting Marklogic
>         memory  and CPU usage.
> To: [email protected]
> Message-ID:
>         <CALFBOvFrVVPYeDF3pZySRA8S5wbUKnEruBEqZCveZK_XJB6LxQ@mail.
> gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi All
> i have a question about ML, this more of DBA or admin question, but i will
> take my shot here.
>
>  We run Marklogic on Linux server (Centos 7), there are times when we run
> big processes and the ML daemon would take all memory, in situations like
> that the Linux kernel will kill the process and this is not something we
> can accept in our prod stack.
>   the question is what would be the best practice to limit the memory and
> cpu consumption for ML daemon? ( for example using linux cgroups)
>
> Thanks in advance for any answer
>
> bests
> Y
>
> --
>
> ---
>
> Yair Etziony
>
> LambdaWerk GmbH
>
> Oranienburger Stra?e 87/89
>
> 10178 Berlin
>
> Phone +49 151 75938044
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://developer.marklogic.com/pipermail/general/
> attachments/20161111/e6ee38f5/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Fri, 11 Nov 2016 14:52:59 +0100
> From: Yair Etziony <[email protected]>
> Subject: [MarkLogic Dev General] (no subject)
> To: [email protected]
> Message-ID:
>         <CALFBOvH0ggd_ATA8mgctVRHFbKPmMC996H639mGh=P
> [email protected]>
> Content-Type: text/plain; charset="utf-8"
>
> Hi All
> i have a question about ML, this more of DBA or admin question, but i will
> take my shot here.
>
>  We run Marklogic on Linux server (Centos 7), there are times when we run
> big processes and the ML daemon would take all memory, in situations like
> that the Linux kernel will kill the process and this is not something we
> can accept in our prod stack.
>   the question is what would be the best practice to limit the memory and
> cpu consumption for ML daemon? ( for example using linux cgroups)
>
> Thanks in advance for any answer
>
> bests
> Y
>
> --
>
> ---
>
> Yair Etziony
>
> LambdaWerk GmbH
>
> Oranienburger Stra?e 87/89
>
> 10178 Berlin
>
> Phone +49 151 75938044
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://developer.marklogic.com/pipermail/general/
> attachments/20161111/85f6cb1c/attachment-0001.html
>
> ------------------------------
>
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
> End of General Digest, Vol 149, Issue 7
> ***************************************
>



-- 

Josh Bench
System Administrator

[email protected]
888-659-4069 ext.# 897


P.O. Box 44403 | Madison, WI 53744
WealthCounsel.com
<https://www.facebook.com/WealthCounsel/?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>

<https://plus.google.com/u/0/110019845109170387394/posts?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>

<https://www.youtube.com/user/WealthCounsel?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>

<https://twitter.com/WealthCounsel/?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>

<https://www.linkedin.com/company/96425?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>

Share the Wealth
<https://member.wealthcounsel.com/referrals?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>!
Refer a colleague to WealthCounsel and we’ll credit you both one month of
membership dues.
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to