<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Thank you all,<br>
<br>
But I am looking for simpler solution like, this one:<br>
<a class="moz-txt-link-freetext" href="https://stackoverflow.com/a/18526512/3232487">https://stackoverflow.com/a/18526512/3232487</a><br>
Here the generation of erl_crash.dump is entirely avoided by
redirecting to /dev/null<br>
<br>
Regards,<br>
Mithun B<br>
<br>
On Tuesday 23 May 2017 01:13 AM, Jesper Louis Andersen wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGrdgiVTwxvsKWc8Fg6XRGRV0iwpSOTCfmGdYHyTPR0u9FwyKw@mail.gmail.com">
<div dir="ltr">Let me add that it is often a good idea to separate
your data directories from your code directories. Preferably by
volume and quota as well. While here, establish logs isolated as
well and make sure they are rotated so they only use a limited
amount of memory. If possible, enable disk_sup or make a warning
system so you can detect situations where you are about to run
low on disk through the alarm_handler.
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Mon, May 22, 2017 at 9:32 PM Dan Gudmundsson
<<a href="mailto:dangud@gmail.com" moz-do-not-send="true">dangud@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div><span
style="font-family:Courier,monospace;font-size:medium"><br>
</span></div>
<div style="font-family:Courier,monospace;font-size:medium"><span
style="font-family:Courier,monospace;font-size:medium">You
can set the core dir with the config parameter:</span></div>
<div><font face="Courier, monospace" size="3"><a
href="http://erlang.org/doc/man/mnesia.html#write_lock_table-1"
target="_blank" moz-do-not-send="true">http://erlang.org/doc/man/mnesia.html#write_lock_table-1</a></font><br>
</div>
<div><font face="Courier, monospace" size="3"><br>
</font></div>
<font face="Courier, monospace" size="3">erl -mnesia
core_dir Directory</font> <br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Mon, May 22, 2017 at 8:02 PM Sergey
Safarov <<a href="mailto:s.safarov@gmail.com"
target="_blank" moz-do-not-send="true">s.safarov@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">You can change working directory to separate
volume with limited size. As example mount to.
/run/myapp directory "tmp" volume with size 10 Mbyte.
Then cd to /run/myapp</p>
<br>
<div class="gmail_quote">
<div dir="ltr">пн, 22 мая 2017, 13:21 Mithun B <<a
href="mailto:mithunb@utl.in" target="_blank"
moz-do-not-send="true">mithunb@utl.in</a>>:<br>
</div>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi
all,<br>
<br>
I have an application using Mnesia Database
running is a memory<br>
constrained environment. So is there any way to
disable MnesiaCore file<br>
creation by when something goes wrong with Mnesia
which is a default<br>
case? Or is it possible to give limit on the size of
file or constraint<br>
on count of files?<br>
<br>
Since the MnesiaCore file gets created with
different name each<br>
time, it will not overwrite the previous one. It
casuses flooding of<br>
MnesiaCore files in the working directory of my
application, if the<br>
application has crashed for multiple times.<br>
<br>
Regards,<br>
<br>
Mithun B<br>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org"
target="_blank" moz-do-not-send="true">erlang-questions@erlang.org</a><br>
<a
href="http://erlang.org/mailman/listinfo/erlang-questions"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote>
</div>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org"
target="_blank" moz-do-not-send="true">erlang-questions@erlang.org</a><br>
<a
href="http://erlang.org/mailman/listinfo/erlang-questions"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote>
</div>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank"
moz-do-not-send="true">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote>
</div>
</blockquote>
<p><br>
</p>
</body>
</html>