[Serusers] Location table memory usage

Ezequiel Colombo ecolombo at arcotel.net
Fri Jul 30 19:51:21 CEST 2004


Hi all, i am testing huge loads on location table in version 0.8.14 and see
that:
After increment PGK_MALLOC i can support 20.000 entries in the memory
location table.
This 20.000 entries are using around 12Mb of RAM memory on my linux RedHat
8.0.
When this 20.000 contacts expires the table is cleaned but SER remain taking
12Mb of RAM.

It is a normal operation or SER must perform some function to release the
memory used by the location table when the contacts expire ??

#----------------------------------------------#
version:  0.8.14 (i386/linux)
flags: STATS:Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, DNS_IP_HACK, SHM_MEM,
SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
@(#) $Id: main.c,v 1.168.4.3 2004/06/28 15:41:21 andrei Exp $
main.c compiled on 12:45:14 Jul 30 2004 with gcc 3.2

#----------------------------------------------#
140 processes: 138 sleeping, 2 running, 0 zombie, 0 stopped
CPU states:  0.2% user,  0.7% system,  0.0% nice, 98.9% idle
Mem:   513972K av,  162580K used,  351392K free,       0K shrd,   45532K
buff
Swap: 2096472K av,       0K used, 2096472K free                   76892K
cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
  486 mysql     15   0 16856  16M  2604 S     0.0  3.2   0:16 mysqld
25492 root      24   0 12904  12M 12764 S     0.0  2.5   0:02 ser

#----------------------------------------------#


Thanks
Ezequiel Colombo




More information about the sr-users mailing list