<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><font class="Apple-style-span" color="#1517bb" face="Calibri, Verdana, Helvetica, Arial"><b><i><br></i></b></font></div>
<br><div><div>On 2012-05-03, at 12:42 PM, Paul Gevers wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On 03-05-12 00:38, Francois Beaulieu wrote:<br><blockquote type="cite"><blockquote type="cite">It appears to be solved upstream:<br></blockquote></blockquote><br>Which part?<br></div></blockquote><div><br></div><div>I have not had a chance to verify it personally, but they seem to no longer use ini_set within cmd.php or other cacti php scripts, according to the notes. This would mean that we would not need to modify the scripts to add --define suhosin.memory_limit to script calls.</div><br><blockquote type="cite"><div><blockquote type="cite"><blockquote type="cite"><a href="http://bugs.cacti.net/view.php?id=1583">http://bugs.cacti.net/view.php?id=1583</a><br></blockquote></blockquote><br>This change (revision 5717) never made it completely to the 0.8.X branch<br>and remained in main. They did make nearly the same change to the 0.8.7<br>branch in revision 5743 (April 2010), without the configuration part.<br></div></blockquote><div><br></div><div>Has it made it into v0.8.8? The case notes certainly indiciate that it did.</div><br><blockquote type="cite"><div>- on which version of cacti did you do your verifications?<br></div></blockquote><div><br></div><div>I have not tested against any versions other than the v0.8.7g provided by Debian.</div><br><blockquote type="cite"><div>- do we still need the --define suhosin.memory_limit lines, even if a<br>proper memory_limit is set by cacti's scripts? As I understand it, yes,<br>or are those suhosin limits taken from the php memory_limit?<br></div></blockquote><div><br></div>We will need to define suhosin.memory_limit in all versions that don't include the fix. From my understanding of the fix, users may also need to add it manually to the scripts in the fixed version if they define a non-standard memory_limit in config.pgp. However, since by default the memory_limit will be fixed to 512M globally, no script will use ini_set to increase its memory, and suhosin will thus no longer complain even when suhosin.memory_limit isn't defined. This is my understanding, but is untested, so it may be wrong. (I have no time to set up and est a non-debian version right now.)</div><div><font face="Calibri, Verdana, Helvetica, Arial"><font color="#1517BB"><span style="font-size: 9pt; "><b><i><br></i></b></span></font></font></div><div><font face="Calibri, Verdana, Helvetica, Arial"><font color="#1517BB"><span style="font-size: 9pt; "><b><i>Thanks,<br></i></b></span></font></font><span style="font-size: 9pt; "><font face="Times New Roman">François Beaulieu<br>Courriel: <a href="mailto:francois.beaulieu@securebyknowledge.com">francois.beaulieu@securebyknowledge.com</a> | Web: <font color="#0000FB"><u><a href="http://www.securebyknowledge.com/">www.securebyknowledge.com</a></u></font> </font></span></div><br></body></html>