<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>I'm running a Linux red Hat 9.0 with all updates, I have 512 MB ram, ser
0.8.12 .<BR>I writes a module and compiles it fine.When ser receive invite
request, this module will be executed.</DIV>
<DIV>Then I gets the following error message.</DIV>
<DIV> </DIV>
<DIV>May 6 15:11:58 nw127 /usr/local/sbin/ser[3154]: Error: new_module:
memory allocation error<BR>May 6 15:11:58 nw127 /usr/local/sbin/ser[3154]:
Error: new_module: execute failed<BR>May 6 15:11:58 nw127
/usr/local/sbin/ser[3154]: ERROR: do_action: memory allocation
failure<BR>May 6 15:11:58 nw127 /usr/local/sbin/ser[3154]: rwrite(): Error
in do_action<BR>May 6 15:11:58 nw127 /usr/local/sbin/ser[3154]: lookup():
Unable to rewrite Request-URI<BR>May 6 15:11:58 nw127
/usr/local/sbin/ser[3154]: ERROR: build_res_buf_from_sip_req: out of
memory ; needs 539<BR>May 6 15:13:21 nw127
/usr/local/sbin/ser[3118]: WARNING: unhandled signal 12<BR>May 6 15:15:47
nw127 /usr/local/sbin/ser[3163]: build_rr(): No memory left<BR>May 6
15:15:47 nw127 /usr/local/sbin/ser[3163]: insert_RR(): Error while inserting
outbound Record-Route<BR>May 6 15:15:47 nw127 /usr/local/sbin/ser[3163]:
record_route(): Error while inserting Record-Route line<BR>May 6 15:15:47
nw127 /usr/local/sbin/ser[3163]: ERROR: do_action: memory allocation
failure<BR>May 6 15:15:47 nw127 /usr/local/sbin/ser[3163]: rwrite(): Error
in do_action<BR>May 6 15:15:47 nw127 /usr/local/sbin/ser[3163]: lookup():
Unable to rewrite Request-URI<BR>May 6 15:15:47 nw127
/usr/local/sbin/ser[3163]: ERROR: build_res_buf_from_sip_req: out of
memory ; needs 589<BR>May 6 15:15:47 nw127
/usr/local/sbin/ser[3166]: build_rr(): No memory left<BR>May 6 15:15:47
nw127 /usr/local/sbin/ser[3166]: insert_RR(): Error while inserting outbound
Record-Route<BR>May 6 15:15:47 nw127 /usr/local/sbin/ser[3166]:
record_route(): Error while inserting Record-Route line<BR>May 6 15:15:47
nw127 /usr/local/sbin/ser[3166]: ERROR: mk_proxy: memory allocation
failure<BR></DIV>
<DIV>I change the value of PKG_MEM_POOL_SIZE by 10240*1024 in config.h and
recompile.</DIV>
<DIV>But I still has the same memory error message.How can get memory statistics
when I send kill -SIGUSR1?</DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Mook.</FONT></DIV></BODY></HTML>