[Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5
Charles Boening
charlieb at cot.net
Fri Apr 24 15:40:41 PDT 2009
I'm wondering about a possible memory leak in the latest versions.
For each FS process, the resident size seems to be incrementing by 8k at a slow, but fairly steady rate. Sometimes there are a few quick "bursts" in the increase and sometimes it seems to take longer to see a "bump" in usage. There are no calls being processed. I just started FS and have been watching it.
After upgrading from 1.0.1 to 1.0.4pre4, my FS process died after a few hours. I'm thinking this was due to a memory leak and the service running out of memory.
If it makes a difference, I upgraded from 1.0.1 to 1.0.4pre4 (saw memory leak there too) and then on to 1.0.4pre5 without wiping the instadirectory and starting over.
Please let me know what other information I can provide that will help find the reason for the ever increasing memory usage.
Thanks,
Charlie
+OK log level [7]
freeswitch at internal> version
FreeSWITCH Version 1.0.4pre5 (hacked) <-- not sure what "hacked" is about. :)
Linux conference1 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:19:18 EDT 2009 i686 i686 i386 GNU/Linux
CentOS release 5.3 (Final)
Output from htop:
VIRT RES SHR S CPU% MEM% TIME+ Command
27104 12544 5104 S 0.0 1.2 0:01.00 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.04 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.01 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.09 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.08 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.02 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.22 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.24 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.04 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
27104 12544 5104 S 0.0 1.2 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
VIRT RES SHR S CPU% MEM% TIME+ Command
28188 13620 5104 S 0.0 1.3 0:01.00 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.06 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.04 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.14 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 R 0.0 1.3 0:00.12 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.04 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.31 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.28 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.07 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.01 /usr/local/freeswitch/bin/freeswitch -nc
28188 13620 5104 S 0.0 1.3 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
VIRT RES SHR S CPU% MEM% TIME+ Command
30092 15436 5120 S 0.0 1.5 0:01.00 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:03.30 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:00.11 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:00.21 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:06.80 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:00.19 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:07.05 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:08.72 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:00.14 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:00.01 /usr/local/freeswitch/bin/freeswitch -nc
30092 15436 5120 S 0.0 1.5 0:00.00 /usr/local/freeswitch/bin/freeswitch -nc
More information about the Freeswitch-dev
mailing list