[Serusers] Location table memory usage

Ezequiel Colombo ecolombo at arcotel.net
Fri Jul 30 21:25:50 CEST 2004


In this case SER have a time limited life running ?
If i have the same 5 users registering every day at the morning and each
registration take 600 bytes of free memory to allocate the location mapping
i must suppose that my box have No memory left after 349 days ? (PKG_MALLOC
default is 1Mb). ???

Imagine this with a more interesting qty of users.

Thanks
Ezequiel

----- Original Message -----
From: "Jiri Kuthan" <jiri at iptel.org>
To: "Ezequiel Colombo" <ecolombo at arcotel.net>; <serusers at lists.iptel.org>
Sent: Friday, July 30, 2004 4:14 PM
Subject: Re: [Serusers] Location table memory usage


> there is no "shrink-back" option in SER. What SER takes is never given
back
> to OS.
>
> -jiri
>
> At 07:51 PM 7/30/2004, Ezequiel Colombo wrote:
> >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
> >
> >_______________________________________________
> >Serusers mailing list
> >serusers at lists.iptel.org
> >http://lists.iptel.org/mailman/listinfo/serusers
>
> --
> Jiri Kuthan            http://iptel.org/~jiri/
>
>




More information about the sr-users mailing list