[Serusers] receive_msg: no mem for sip_msg (resolved)

Sean Boran sean at boran.com
Tue Sep 7 07:33:37 CEST 2004


Hi,

After compiling from CVS stable, I get the same behaviour.

I then disabled -DF_MALLOC in Makefile.defs, and built again.
	make all
	make prefix=/usr/local  install

And I get mysql problems:

ep  6 20:27:58 inoitasip1 ser: 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
Sep  6 20:27:58 inoitasip1 ser: parse error (42,13-49): failed to load
module

Then I went to modules/mysql and ran make, and tried make install from the
top level, but it does not include mysql by default. I edited Makefile and
found the bit where it excludes that module, and ran make all again..

It now runs, and works correctly.
==> There is some issue with -DF_MALLOC on Suse 9.1

Sean
 

> -----Original Message-----
> From: Jan Janak [mailto:jan at iptel.org] 
> Sent: Sonntag, 5. September 2004 18:11
> To: Sean Boran
> Cc: serusers at lists.iptel.org
> Subject: Re: [Serusers] receive_msg: no mem for sip_msg
> 
> Could you get 0.8.14 from the CVS, recompile and try again ? The cvs
> version contains many bugfixes.
> 
>    Jan.
> 
> On 03-09 19:53, Sean Boran wrote:
> > Hi,
> > 
> > I've just installed a fresh Suse 9.1 i386 box with the tar.gz binary
> > distribution for Linux.
> > I've followed the instructions, setup mysql, users, and 
> ser.cfg. Look Ok so
> > far.
> > 
> > Now when the first client tries to connect I get load of 
> the above messages
> > (the complete startup messages are listed below).
> > 
> > I checked the archives and see a message in Jul tat 
> referred to a possible
> > memory leak, but I can't follow the suggestions there 
> (compile ser without
> > -DF_MALLOC), since I'm using the binary distribution.
> > 
> > So:
> > - Do any of you have it running on suse 9.1
> > - can you suggest any work arounds?
> > - It this an actual bug, are there pans to fix it?
> > 
> > Thanks in advance,
> > 
> > Sean Boran
> > [Replies in German are fine too :-]
> > 
> > 
> > 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
> > 
> > 
> > ser -d -d -d
> > Listening on
> > 	127.0.0.1 [127.0.0.1]:5060
> > 	193.5.228.71 [193.5.228.71]:5060
> > Aliases: inoitasip1:5060 localhost:5060 inoitasip1.swissptt.ch:*
> > inoitasip.swissptt.ch:* swissptt.ch:*
> >  Sep  3 19:34:34 inoitasip1 ser: read 3968203964 from /dev/random
> > Sep  3 19:34:34 inoitasip1 ser: seeding PRNG with 767477606
> > Sep  3 19:34:34 inoitasip1 ser: test random number 103572014
> > Sep  3 19:34:34 inoitasip1 ser: shm_mem_init: success
> > Sep  3 19:34:34 inoitasip1 ser: DEBUG: register_fifo_cmd: 
> new command
> > (print) registered
> > Sep  3 19:34:34 inoitasip1 ser: DEBUG: register_fifo_cmd: 
> new command
> > (uptime) registered
> > Sep  3 19:34:34 inoitasip1 ser: DEBUG: register_fifo_cmd: 
> new command
> > (version) registered
> > Sep  3 19:34:34 inoitasip1 ser: DEBUG: register_fifo_cmd: 
> new command (pwd)
> > registered
> > Sep  3 19:34:34 inoitasip1 ser: DEBUG: register_fifo_cmd: 
> new command (arg)
> > registered
> > Sep  3 19:34:34 inoitasip1 ser: DEBUG: register_fifo_cmd: 
> new command
> > (which) registered
> > Sep  3 19:34:34 inoitasip1 ser: DEBUG: register_fifo_cmd: 
> new command (ps)
> > registered
> > Sep  3 19:34:34 inoitasip1 ser: DEBUG: register_fifo_cmd: 
> new command (kill)
> > registered
> > 
> > Sep  3 19:34:44 inoitasip1 ser[8086]: ERROR: receive_msg: 
> no mem for sip_msg
> > (many of these)
> > 
> >  
> > 
> > _______________________________________________
> > Serusers mailing list
> > serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> 




More information about the sr-users mailing list