[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] Possible memory leaks in RaQ3
- Subject: [cobalt-developers] Possible memory leaks in RaQ3
- From: Roger McCalman <roger@xxxxxxxxxxxxxxx>
- Date: Mon Mar 19 03:12:02 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
I run a program that does some monitoring on a few Linux platforms
mainly Redhat 6.1/6.2 and also on a Cobalt RaQ3.
The code only uses malloc/free in one place and I have carefully
checked that the memory is freed after each use.
Now the memory size (as shown by top) only increases on the RaQ3
server.
The binaries have been generated on a FreeBSD-4.2 system with
the compatibility compilers, linkers and libraries and I have
statically linked the executable to remove libc variations. The
code shows no sign of memory leaks on other RH linux systems
or FreeBSD (running as native code).
I am wondering if there are any features/bugs associated with
memory leaks on the RaQ3 servers. The application is doing
file i/o (open/read/write) IPC via shared memory and semaphores,
it uses sockets, gethostbyname and mmap.
Any hints, suggestions etc would be most welcome.
output of uname -a of the RaQ3
Linux localhost 2.2.16C14 #1 Fri Sep 29 17:22:06 PDT 2000 i586 unknown
Cheers, Roger