<html><head/><body><html><head></head><body>Or maybe make it a configurable option? Not everybody has the same needs.<br><br><div class="gmail_quote">Stefan Priebe - Profihost AG <s.priebe@profihost.ag> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre style="white-space: pre-wrap; word-wrap:break-word; font-family: sans-serif; margin-top: 0px">Hello,<br /><br />my memory consumption of pvestatd seems to be constant now but it is at <br />47MB. So the limit with 35MB seems to be too small.<br /><br />I would suggest the following fix.<br /><br />Stefan<br /><br />commit 047101ff8d05432b8bd67aba8074bd110a94d5a2<br />Author: Stefan Priebe <s.priebe@profihost.ag><br />Date:   Fri Oct 26 13:08:49 2012 +0200<br /><br />bump memory usage info to 100MB for pvestatd<br /><br />diff --git a/bin/pvestatd b/bin/pvestatd<br />index 5513c85..c3a609a 100755<br />--- a/bin/pvestatd<br />+++ b/bin/pvestatd<br />@@ -382,7 +382,7 @@ for (;;) { # forever<br /><br />my $mem = PVE::ProcFSTools::read_memory_usage();<br /><br />-       if ($mem->{resident} > (35*1024*1024)) {<br />+       if ($mem->{resident} > (100*1024*1024)) {<br />syslog ('info', "restarting server after $cycle cycles to ".<br />"reduce memory usage (free
$mem->{resident} bytes)");<br />restart_server ();<br /><br /><hr /><br />pve-devel mailing list<br />pve-devel@pve.proxmox.com<br /><a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel</a><br /><br />!DSPAM:508a728d279601207974136!<br /><br /><br /></pre></blockquote></div><br>
-- <br>
Sent from my Android phone with K-9 Mail. Please excuse my brevity.</body></html></body></html>