-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Hello,

I still have this problem. From the day of starting up freeswitch two
threads are consuming slowly more and more CPU power. In parallel FS
virtual and physical memory usage grows slowly as well. FS is up for 6
days now and served 3160 sessions. Virtual memory usage has grown from
200MB to 1.1GB (18,1%) and is still growing. CPU is mostly around 25%
with lowest of 17% and a maximum of 50% (all on a 32 bit 4 CPU core
system) and is still growing.

There are two FS-Threads with nearly same CPU usage of currently
around 20% each (I used htop for this):

strace Thread 1 (I guess this is the sofia/sip thread):
epoll_wait(21, {}, 4, 0)                = 0
epoll_wait(21, {}, 4, 0)                = 0
epoll_wait(21, {{EPOLLIN, {u32=2, u64=2}}}, 4, 0) = 1
ioctl(24, FIONREAD, [268])              = 0
recvmsg(24, {msg_name(16)={sa_family=AF_INET, sin_port=htons(1068),
sin_addr=inet_addr("85.16.245.249")}, msg_iov(1)=[{"SIP/2.0 200
Ok\r\nVia: SIP/2.0/UDP"..., 268}], msg_controllen=0, msg_flags=0}, 0)
= 268
gettimeofday({1239012809, 343580}, NULL) = 0
gettimeofday({1239012809, 343645}, NULL) = 0
epoll_wait(21, {}, 4, 0)                = 0
epoll_wait(21, {}, 4, 0)                = 0
...


strace Thread 2:
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
...

I use FreeSWITCH Version 1.0.trunk (12347M)



regards
helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
 
iD8DBQFJ2ddp4tZeNddg3dwRAlkXAJ9fIwpJw6u18JPhFC4hzB+0Z1iAbgCfW7AE
dnrmpXDLVOnWtjwFKMoVw48=
=zzZ9
-----END PGP SIGNATURE-----

Attachment: 0xD760DDDC.asc
Description: application/pgp-keys

Attachment: 0xD760DDDC.asc
Description: application/pgp-keys

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to