We are using a TS-7500 for a network-intensive application that sends and
receives multiple messages (TCP) per second. The application does no run-time
memory allocation; all allocation is done at power-up. The application is
supposed to run continuously for months, but our tests show it stops running
after about 4 days and has a memory leakage of about 2 MB/day! The TS-7500 has
Linux 2.6.24.4.
When the application starts, 'free' reports 1.4 MB free + 15 MB cache/buffer.
Just before the application is killed by Linux (4.5 days later), the free
memory is 1.3 MB + 7.2 MB cache/buffer.
It appears that the Linux network stack has some serious memory leaks.
We are using the fast-boot option, running the Busybox Linux that comes in the
Flash memory. We tried the slow-boot option using the Linux 2.6.24 kernel, but
got the same results, so it seems endemic to the Linux network stack. To
ensure the application is not leaking memory, we will run Valgrind.
In the mean time, has anyone in this group encountered this memory leakage in
network-intensive applications? If so, were you able to fix it?
Kind regards,
Mitch
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|