<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-15">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Francesco,</p>
<p>Redis memory will increase with the number of data points you
collect and how long time you configured to keep them. <br>
</p>
<p>So what was the memory before it started to grow? Was it steady
on this level? How much is it growing? And not using the redis
instance for anything else? (redis-cli info) <br>
</p>
<p>It's a good sign that your memory is the same between restarts,
since that means that the redis persistence works.</p>
<p>Have you restarted bischeck after the 20 Nov? <br>
</p>
<p>When it comes to the memory config in redis there are a number of
strategies to manage memory, but in the bischeck setup redis is
used as a data store and not as a cache, so you would not like to
have any eviction polices. Setting max-memory will just make any
write fail when redis is at its max-memory.</p>
<p>I think its safe to upgrade redis to a later version, but please
try it first. Currently I run bischeck on 4.0.2 without problem.
At the same time I do not think this is a redis bug.</p>
<p>To track what goes on in the your redis instance you can check
with redis-cli. Every servicedefinition becomes its own list in
redis. You can check the size (llen) of the list and see if its
relates to your purge configuration. You can also read the first
and last entities in the list to check the time stamp (lrange).
Depending on the bischeck config you may also have additional
lists for the servicedefinition for aggregrations.</p>
<p>/Anders<br>
</p>
<br>
<div class="moz-cite-prefix">On 12/04/2017 10:11 AM, Francesco
Giuseppe Toffoli wrote:<br>
</div>
<blockquote type="cite"
cite="mid:ced8dbf3-98fa-41a6-e92e-055739a62bed@skylogic.it">
<meta http-equiv="content-type" content="text/html;
charset=iso-8859-15">
<p>Hi everybody,<br>
since a coupe of weeks the memory used by Redis in increasing
linearly, continuosly.<br>
We are a bit worried as also after a Redis server restart the
situation is the same (the RAM taken is equal before and after
the restart).<br>
I would exclude the issued has been caused by a configuration
change, the issue started on 20 November at 11:44PM when nobody
was working on bischeck.<br>
I'm enabling logs in order to see if there is something wrong.</p>
<p>In the meanwhile does anyone have a suggestion on how to
proceed?<br>
Upgrading to Redis 4.0 (stable) can be done maintaining the
retro-compatibility with Bischeck? (we have Redis 2.8.23)</p>
<p><br>
</p>
<p>As a workaround I was thinking to enable the Redis option
'maxmemory' with the 'maxmemory policy': about this last option,
as we need all keys to be maintained on database, does anyone
know as can be set? (I've read something about key eviction but
i still don't have any clear idea).</p>
<p><br>
</p>
<p>Regards,<br>
Francesco<br>
</p>
<p><br>
</p>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html;
charset=iso-8859-15">
<title></title>
<p class="MsoNormal"><font size="-1" color="#3333ff">Francesco
Giuseppe Toffoli</font><span
style="font-size:10.0pt;font-family:"Times New
Roman","serif";color:black;mso-fareast-language:IT"><br>
Monitoring Engineer</span><span
style="mso-fareast-language:IT"></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Times New
Roman","serif";mso-fareast-language:IT">GSE
Department</span><span style="mso-fareast-language:IT"></span>
</p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Times New
Roman","serif";mso-fareast-language:IT">Tel:
+39 0112738748<font size="-1">8</font></span><span
style="mso-fareast-language:IT"><o:p></o:p></span></p>
<span style="font-size:10.0pt;font-family:"Times New
Roman","serif";mso-fareast-language:IT">Mobile:
+39 349.800.60.35 <span style="color:black"><br>
Email: </span><u><span style="color:blue"><a
href="mailto:ftoffoli@skylogic.it"
moz-do-not-send="true">ftoffoli@skylogic.it</a></span></u></span><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";color:black;mso-fareast-language:IT"><br>
</span><b><span style="font-size:12.0pt;font-family:"Times
New
Roman","serif";color:#000099;mso-fareast-language:IT"><img
shrinktofit="true" id="_x0000_i1025"
src="imap://aha%40ingby%2Ecom@mail.messagingengine.com:993/fetch%3EUID%3E.INBOX.Drafts%3E5796?part=&filename=/home/franz/skylogic_logo.jpeg"
moz-do-not-send="true" width="190" border="0" height="44"><br>
</span></b><b><span
style="font-size:10.0pt;font-family:"Times New
Roman","serif";color:#000099;mso-fareast-language:IT">Skylogic
S. p. A.</span></b><span
style="font-size:10.0pt;font-family:"Times New
Roman","serif";color:black;mso-fareast-language:IT"><br>
Strada Pianezza, 289<br>
10151 Torino, Italy </span> </div>
<br>
This message contains confidential information and is intended
only for the individual named. If you are not the named addressee
you should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system. E-mail
transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender
therefore does not accept liability for any errors or omissions in
the contents of this message, which arise as a result of e-mail
transmission. If verification is required please request a
hard-copy version. Please note that any views or opinions
presented in this email are solely those of the author and do not
necessarily represent those of the Company.<br>
No employee or agent is authorized to conclude any binding
agreement on behalf of this Company nor, through thi s latter, any
of the Eutelsat Communication group with another party by email
without express written confirmation by a duly authorized officer
of the Company. The list of duly authorized officers and the scope
of their powers is published on the Trade Register according to
the national law of each affiliate.
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Ingby <a class="moz-txt-link-rfc2396E" href="http://www.ingby.com"><http://www.ingby.com></a>
bischeck - dynamic and adaptive monitoring for Nagios <a class="moz-txt-link-rfc2396E" href="http://www.bischeck.org"><http://www.bischeck.org></a>
<a class="moz-txt-link-abbreviated" href="mailto:anders.haal@ingby.com">anders.haal@ingby.com</a><a class="moz-txt-link-rfc2396E" href="mailto:anders.haal@ingby.com"><mailto:anders.haal@ingby.com></a>
Mjukvara genom ingenjörsmässig kreativitet och kompetens
Ingenjörsbyn
Box 531
101 30 Stockholm
Sweden
<a class="moz-txt-link-abbreviated" href="http://www.ingby.com">www.ingby.com</a> <a class="moz-txt-link-rfc2396E" href="http://www.ingby.com/"><http://www.ingby.com/></a>
Mobil: +46 70 575 35 46
Tele: +46 75 75 75 090
Fax: +46 75 75 75 091
</pre>
</body>
</html>