Results 1 to 4 of 4
Hybrid View
-
02-08-2002, 03:30 PM #1Web Hosting Master
- Join Date
- Jun 2001
- Location
- Earth
- Posts
- 1,259
analog + dnstran + report magic = memory leak?
Is anyone else running analog + dnstran + report magic seeing their memory/swap go away?
My memory/swap was slowly getting eaten way. I put some monitoring in place and I loose about 10 meg every time analog runs.
Your input would be greatly appreciated.
Frank█ Umbra Hosting
█ cPanel | Softaculous | CloudLinux | R1Soft | Ksplice
█ Web Hosting, Reseller Hosting, VPS, Dedicated Servers, Colocation
█ UmbraHosting.com
-
02-08-2002, 04:22 PM #2Web Hosting Master
- Join Date
- Apr 2001
- Location
- Depok, Indonesia
- Posts
- 988
Does analog, dnstran or reportmagic leave out a process when it's done processing? And what o/s?
-
02-08-2002, 05:02 PM #3Web Hosting Master
- Join Date
- Jun 2001
- Location
- Earth
- Posts
- 1,259
linux. Nope, no processes. I believe it's an actual leak. Most likely analog or dnstran because they are both compiled "c" programs. doing a memalloc w/o freeing it.
I've been trying to recompile them with some leak detection libs.
Frank█ Umbra Hosting
█ cPanel | Softaculous | CloudLinux | R1Soft | Ksplice
█ Web Hosting, Reseller Hosting, VPS, Dedicated Servers, Colocation
█ UmbraHosting.com
-
02-09-2002, 09:54 AM #4Web Hosting Master
- Join Date
- Apr 2001
- Location
- Depok, Indonesia
- Posts
- 988
The memory used by a program should be freed automatically by the kernel when the program exits. In your case, what happens if you run analog+dnstran+reportmagic multiple times until your memory get 'exhausted'?
My guess this is actually a feature of Linux, Linux use memory rather aggresively. The same thing happens here, when I reboot my machine, the memory usage is very low. When I run some standard processes, the memory usage rise, but if I kill those processes, it always won't get back to its initial state.