[Serusers] receive_msg: no mem for sip_msg

g.billoudet at arwen-tech.fr g.billoudet at arwen-tech.fr
Thu Nov 18 10:34:45 CET 2004


Hi, thanks for your help Andrei

I set PKG_MEM_POOL_SIZE to 4096*1024 and I still had the same error.
So I set back PKG_MEM_POOL_SIZE to 1024*1024, edit Makefile.defs, remove
-DF_MALLOC and add instead -DDBG_QM_MALLOC.
Unfortunately, the modules can't be loaded (undefined symbol: fm_malloc).

It's so strange that I got the same error with two different computers...
as I installed both ser (0.8.12 and 0.8.14) the same way with same mysql
4.0.18, there might be something wrong there... On the other hand, the
installation of ser is so easy, I'm not really sure the error comes from
there...

Does this error really nether happened to anybody else ?

Thanks
  Gwen

[root at localhost ser-0.8.14]# ser -V
version:  0.8.14 (i386/linux)
flags: STATS:Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, DNS_IP_HACK, SHM_MEM,
SHM_MMAP, PKG_MALLOC, DBG_QM_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 10:15:39 Nov 18 2004 with gcc 3.3
[root at localhost ser-0.8.14]#
[root at localhost ser-0.8.14]#
[root at localhost ser-0.8.14]# ser -dddddd
 0(11966) ERROR: load_module: could not open module
</usr/local/lib/ser/modules/mysql.so>:
/usr/local/lib/ser/modules/mysql.so: undefined symbol: fm_malloc
 0(11966) parse error (23,13-49): failed to load module
 0(11966) ERROR: load_module: could not open module
</usr/local/lib/ser/modules/sl.so>: /usr/local/lib/ser/modules/sl.so:
undefined symbol: fm_malloc
 0(11966) parse error (24,13-46): failed to load module
 0(11966) ERROR: load_module: could not open module
</usr/local/lib/ser/modules/tm.so>: /usr/local/lib/ser/modules/tm.so:
undefined symbol: fm_malloc
 0(11966) parse error (25,13-46): failed to load module
 0(11966) ERROR: load_module: could not open module
</usr/local/lib/ser/modules/rr.so>: /usr/local/lib/ser/modules/rr.so:
undefined symbol: fm_malloc
 0(11966) parse error (26,13-46): failed to load module
 0(11966) ERROR: load_module: could not open module
</usr/local/lib/ser/modules/maxfwd.so>:
/usr/local/lib/ser/modules/maxfwd.so: undefined symbol: fm_malloc
 0(11966) parse error (27,13-50): failed to load module
 0(11966) ERROR: load_module: could not open module
</usr/local/lib/ser/modules/usrloc.so>:
/usr/local/lib/ser/modules/usrloc.so: undefined symbol: fm_malloc
 0(11966) parse error (28,13-50): failed to load module
 0(11966) ERROR: load_module: could not open module
</usr/local/lib/ser/modules/registrar.so>:
/usr/local/lib/ser/modules/registrar.so: undefined symbol: fm_malloc
 0(11966) parse error (29,13-53): failed to load module
 0(11966) set_mod_param_regex: No module matching usrloc found
| 0(11966) parse error (36,32-33): Can't set module parameter
 0(11966) set_mod_param_regex: No module matching usrloc found
| 0(11966) parse error (37,61-62): Can't set module parameter
 0(11966) set_mod_param_regex: No module matching rr found
| 0(11966) parse error (45,35-36): Can't set module parameter
 0(11966) parse error (51,36-37): unknown command, missing loadmodule?

 0(11966) parse error (53,38-39): unknown command, missing loadmodule?

 0(11966) parse error (58,41-42): unknown command, missing loadmodule?

 0(11966) parse error (62,15-16): unknown command, missing loadmodule?

 0(11966) parse error (63,18-19): unknown command, missing loadmodule?

 0(11966) parse error (64,11-12): unknown command, missing loadmodule?

 0(11966) parse error (75,19-20): unknown command, missing loadmodule?

 0(11966) parse error (78,24-25): unknown command, missing loadmodule?

 0(11966) parse error (81,25-26): unknown command, missing loadmodule?

 0(11966) parse error (83,36-37): unknown command, missing loadmodule?

 0(11966) parse error (87,15-16): unknown command, missing loadmodule?

 0(11966) parse error (89,18-19): unknown command, missing loadmodule?

ERROR: bad config file (22 errors)





> On Nov 17, 2004 at 17:34, g.billoudet at arwen-tech.fr
> <g.billoudet at arwen-tech.fr> wrote:
>> Hi,
>>
>> I worked all day on this error. Maybe the following information of my
>> ser
>> could be useful :
>>
>> [root at localhost sbin]# ser -V
>> 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:28:01 Jul 27 2004 with gcc 2.95
>
>
> You could try to increase PKG_MEM_POOL_SIZE to 4096*1024 in config.h,
> recompile and see if it works.
> What's very strange is you don't seem to have anything consuming all
> this memory (empty db).
>
> Anyway, whether the above fix works or not, please try also compiling in
> malloc debug support. Set PKG_MEM_POOL_SIZE back to 1024*1024,
>  edit Makefile.defs, remove -DF_MALLOC, add instead -DDBG_QM_MALLOC and
>   recompile (make proper; make all).
>
> Set a high debuging level (e.g.: ser -dddddd), send a SIGUSR1 to
>  one of the ser processes (it would be better if it won't be the first
>  one), try to reproduce your out of memory condition and send another
>  SIGUSR1 to the pid listed in the error message in the log. Stop ser
>   (killall -TERM ser) and send me the log.
>
> Thanks,
> Andrei
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: /
Size: 7 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20041118/7b452c71/attachment.bin>


More information about the sr-users mailing list