That would not be standard linux, but then I guess MT is not really "standard".

That said, I would be more inclined to suspect a leak in a process that is running all the time.

I have no idea how MT launches scripts. I would suspect there is some sort of cron daemon or something.

Do you know for certain that it is the scripts that are the source of the leak?

bp


On 4/24/2011 11:39 AM, Stuart Pierce wrote:
Well one would think. Maybe it's Global variables somehow that are somehow 
re-initialized or created new with the same name and the original one's memory 
is not released. I'm using 4.11 on a 433AH and am not ready to try out 4.17 or 
5.0 on this tower.

---------- Original Message ----------------------------------
From: Bill Prince<[email protected]>
Reply-To: Mikrotik discussions<[email protected]>
Date:  Sun, 24 Apr 2011 08:13:30 -0700

If the script is re-execed whenever it's run, any leaks should go away
with the script shell when it terminates.

bp


On 4/23/2011 10:42 PM, Stuart Pierce wrote:
I'm wondering if not releasing local variables at script end, that it doesn't 
release the memory used for some reason.

---------- Original Message ----------------------------------
From: Jacob Heider<[email protected]>
Reply-To: Mikrotik discussions<[email protected]>
Date:  Sat, 23 Apr 2011 22:39:40 -0400

Seconded. I've run a few routers out of memory, slowly, over weeks or
months. What am I failing to properly account for?

On 2011-04-23 10:37 PM, Stuart Pierce wrote:
What are some of the biggest reasons for scripts to leak memory ?




________________________________________________________________
Sent via the WebMail system at avolve.net




_______________________________________________
Mikrotik mailing list
[email protected]
http://www.butchevans.com/mailman/listinfo/mikrotik

Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS

_______________________________________________
Mikrotik mailing list
[email protected]
http://www.butchevans.com/mailman/listinfo/mikrotik

Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS





________________________________________________________________
Sent via the WebMail system at avolve.net




_______________________________________________
Mikrotik mailing list
[email protected]
http://www.butchevans.com/mailman/listinfo/mikrotik

Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS

_______________________________________________
Mikrotik mailing list
[email protected]
http://www.butchevans.com/mailman/listinfo/mikrotik

Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS






________________________________________________________________
Sent via the WebMail system at avolve.net




_______________________________________________
Mikrotik mailing list
[email protected]
http://www.butchevans.com/mailman/listinfo/mikrotik

Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS

_______________________________________________
Mikrotik mailing list
[email protected]
http://www.butchevans.com/mailman/listinfo/mikrotik

Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS

Reply via email to