troy wrote:Not so much a bug report, but a request... is it too late to add a snippet to /usr/bin/monitor to check memory usage for vtss_appl in the same way you're checking for shellinabox? Love to see this in the next release.
I can do this myself, but patching everything after every update is a pain.
- Code: Select all
if [ `ps ax |grep vtss_appl |cut -b14-20|sort -nr|head -n 1` -gt 50000 ]; then
logger -t monitor "restarting vtss_appl"
/etc/init.d/vtss_appl restart
fi
Not sure this is 100% sufficient though. This morning, even after restarting, one of the old threads persisted and had to be killed manually.
Thanks for your consideration!
Just a quick note, there have been internal memory monitoring feature's added to try and handle issue's when vtss_appl grows. However, being that it is a core process that interface's with the switchcore. Restarting it like this will cause dropped frame's in certain situation's (for example, if you have any LAG's present on your system, because once it restarts vtss_appl will restart the LAG).
With that in mind, the internal memory monitoring that has been started in rc1 and refined up to this release attempts use a more fine tuned monitoring method interfacing with internal objects of vtss_appl and other process's in the system to try and handle memory related issue's. However, for known event's that cause leak's (like watchdog's, snmp, etc) those have just been fixed directly. From our own testing and the result's we've heard from the community so far it appears this has been successful.
There have been a few more improvements since then and we agree that more than enough time has passed. We wanted to make sure that we didn't see any core issue's related to the modifications that were done. But now, based on feedback, we are officially releasing 1.5.15.
Just as part of the routine, this forum thread will be locked.
Further discussion for feedback on 1.5.15 can be found here:
viewtopic.php?f=17&t=7996And of course you can download the firmware here:
viewtopic.php?f=17&t=240Thanks to everyone for their input.