<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div><div>On 2014-03-03, at 11:11 , Alan DeKok <<a href="mailto:aland@deployingradius.com">aland@deployingradius.com</a>> wrote:</div><blockquote type="cite"><br><br><blockquote type="cite">I realize I can always set it to some value based on the number of<br>clients and just see if there are warnings in the logs about<br>max_requests being too low but I would like to monitor the number of<br>requests to tune FR as much as possible. <br></blockquote><br>  Just set it to a large number.  It's 2014, and your systems should be<br>massively over-provisioned with memory.  If you set<br><br><span class="Apple-tab-span" style="white-space:pre"> </span>max_request = 1000000<br></blockquote><div><br></div><br>Thank you. <div>Point taken about today's systems.<div><br></div><div>I was wondering if something like the following might work.</div><div><br></div><div><font face="Monaco">(gdb) call fr_packet_list_num_elements(pl) </font></div><div><br></div><div>I could stick it into a file and call gdb in batch mode. </div><div>But I am a gdb novice and I am wary of any side-effects, especially regarding performance. </div><div><br></div><div>The point would be to monitor the size of the queue as it grows or shrink across time, mostly to see how it correlates with other metrics  (e.g. database latency).</div><div>I would stick the return value in a database (something like an rrd maybe) and see how it evloves.</div><div><br></div><div>While it might not be relevant to actual capacity planning, I though it could be useful to graph that queue size. </div><div><br></div><div>What do you think?</div><div><br></div><div>Regards,</div><div><div apple-content-edited="true"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">--</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Louis <br></div><div><br></div></div></div></div></div><br></div></div></body></html>