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.
--
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
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
Well I had had a couple of scripts running all the time, up until a couple of
weeks ago. Then I added the one to keep track of usage in the comment of the
queue. I added another script to do something else for that one and tweaked the
original.
That's when I noticed my email backup script
I started testing out that script that you mentioned awhile back about UBB in
the comment field. That's when I started noticing the memory depletion.
http://wiki.mikrotik.com/wiki/AutomatedBilling and the one by Andrew Cox.
-- Original Message --
From:
Doesn't eat the ram on the two routers I have it on, one x86 the other 750.
On Apr 24, 2011 5:17 PM, Stuart Pierce spie...@avolve.net wrote:
I started testing out that script that you mentioned awhile back about UBB
in the comment field. That's when I started noticing the memory depletion.
Maybe the better question is, what uses memory ? OS obviously, firewall rules,
queues, connection information...
-- Original Message --
From: Josh Luthman j...@imaginenetworksllc.com
Reply-To: Mikrotik discussions mikrotik@mail.butchevans.com
Date:
Everything uses a little little bit of memory. Keep in mind some boards
have 16 megs. If you're losing 80 megs in a day, try disabling the scripts,
reboot and see if it repeats.
On Apr 24, 2011 7:17 PM, Stuart Pierce spie...@avolve.net wrote:
-- next part --
An HTML
What are some of the biggest reasons for scripts to leak memory ?
Sent via the WebMail system at avolve.net
___
Mikrotik mailing list
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 ?
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 jhhei...@gmail.com
Reply-To: Mikrotik discussions mikrotik@mail.butchevans.com
Date: Sat, 23
11 matches
Mail list logo