Project

General

Profile

Bug #666

bearerbox memory leak

Added by mr bugreporter almost 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
General
Target version:
Start date:
11/08/2012
Due date:
% Done:

0%

Estimated time:
Affected version:
5001

Description

After running kannel for about 11 days with nonstop MT sending I can clearly see bearerbox consumes a lot of memory:

23322 kannel 20 0 3659m 3.1g 1472 S 0 13.2 319:58.22 bearerbox

3.1 Gb!

queue-type is spool

clearly there is some memory leak, how can I find it out?

thanks

History

#1 Updated by mr bugreporter almost 8 years ago

wow, it's a bug number 666, evil number :)

#2 Updated by Alexander Malysh over 7 years ago

  • Status changed from New to Feedback

Hi,

maybe you are using internal DLR storage?

#3 Updated by mr bugreporter over 7 years ago

Hi, Alex.

No we're using MySQL DLR storage.

I'm still seeing this happening, will try to update to the latest revision and report back.

#4 Updated by mr bugreporter over 7 years ago

Here is top output once again (bearerbox consumed ~822mb):

2243 kannel 20 0 1392m 822m 3136 S 0 3.4 42:04.42 bearerbox

smem output (bytes):

# smem -P bearerbox
  PID User     Command                         Swap      USS      PSS      RSS 
 2243 kannel   /usr/sbin/bearerbox -v 0 --        0   839356   839479   842072 
Kannel bearerbox version `svn-r5001MS'.
Build `Oct 12 2012 03:25:11', compiler `4.4.5'.
System Linux, release 2.6.32-5-openvz-amd64, version #1 SMP Mon Feb 25 01:16:25 UTC 2013, machine x86_64.
Hostname host, IP x.x.x.x
Libxml version 2.7.8.
Using OpenSSL 0.9.8o 01 Jun 2010.
Compiled with MySQL 5.1.65, using MySQL 5.1.67.
Using native malloc.
 Status: running, uptime 1d 5h 51m 8s

SMS: received 0 (0 queued), sent 221424 (0 queued), store size 0
SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.21,0.63,2.06) msg/sec
DLR: received 455951, sent 0
DLR: inbound (0.46,0.97,4.24) msg/sec, outbound (0.00,0.00,0.00) msg/sec
DLR: 7596 queued, using mysql storage

#5 Updated by Alexander Malysh over 7 years ago

Kannel bearerbox version `svn-r5001MS'.

MS version ?? what is this? do you have any changes on Kannel? which changes? maybe your changes cause memleak?

#6 Updated by mr bugreporter over 7 years ago

Yes, we have few changes, but don't think they affect this leak, cause everything is destroyed and re-created.

I'll test on the pure kannel and report back.

#7 Updated by mr bugreporter about 7 years ago

https://redmine.kannel.org/projects/kannel/repository/revisions/5038

i think this fixed this issue, ill report back once i have some time

#8 Updated by Stipe Tolj over 6 years ago

  • Status changed from Feedback to Closed

reported indicates that the issues has been resolved, closing.

Also available in: Atom PDF