[OpenSIPS-Users] httpd module not working

duane.larson at gmail.com duane.larson at gmail.com
Mon Aug 13 19:05:15 CEST 2012


Thanks for the help. Setting pkg to (-M 8) worked.

On , Ovidiu Sas <osas at voipembedded.com> wrote:
> The httpd module needs to reserve a buffer for building http

> responses. If there are a lot of modules loaded, the pkg memory might

> become fragmented and there will be not enough space to allocate a big

> buffer.

> Ways to workaround this issue:

> - increase the pkg memory (use -M switch in the opensips command)

> - play with the size of the buffer (buf_size parameter)



> Regards,

> Ovidiu Sas





> --

> VoIP Embedded, Inc.

> http://www.voipembedded.com



> On Sun, Aug 12, 2012 at 10:21 PM, duane.larson at gmail.com> wrote:

> > I ran the sample OpenSIPS config that comes with all installs and I was  
> able

> > to start OpenSIPS with the httpd and mi_http modules. Not sure why its  
> not

> > starting with my config. I will send you the debug to you directly  
> after I

> > send this email.

> >

> > On , Ovidiu Sas osas at voipembedded.com> wrote:

> >> Can you enable debug probes and print out the output.

> >>

> >>

> >> Also, you can try to run a very simple config and load only httpd and

> >>

> >>

> >> mi_http modules.

> >>

> >>

> >>

> >>

> >>

> >> Regards,

> >>

> >>

> >> Ovidiu Sas

> >>

> >>

> >>

> >>

> >>

> >> On Sun, Aug 12, 2012 at 9:45 PM, duane.larson at gmail.com> wrote:

> >>

> >>

> >> > I wanted to try out the mi-http module but I am not able to get  
> OpenSIPS

> >> > to

> >>

> >>

> >> > start up when I have enabled the httpd module. When I start OpenSIPS  
> I

> >> > am

> >>

> >>

> >> > seeing the following error

> >>

> >>

> >> >

> >>

> >>

> >> > Aug 12 20:40:03 SIPProxy02 /usr/local/sbin/opensips[1537]:

> >>

> >>

> >> > NOTICE:presence:child_init: init_child [-2] pid [1537]

> >>

> >>

> >> > Aug 12 20:40:03 SIPProxy02 /usr/local/sbin/opensips[1537]:

> >>

> >>

> >> > WARNING:core:fm_malloc: Not enough free memory, will atempt

> >> > defragmenation

> >>

> >>

> >> > Aug 12 20:40:03 SIPProxy02 /usr/local/sbin/opensips[1537]:

> >>

> >>

> >> > ERROR:httpd:httpd_proc: oom

> >>

> >>

> >> >

> >>

> >>

> >> >

> >>

> >>

> >> > Before compiling the modules I installed both libmicrohttpd-dev and

> >>

> >>

> >> > libmicrohttpd5 on Debian 6. Any idea why its giving me this error?



> _______________________________________________

> Users mailing list

> Users at lists.opensips.org

> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120813/0f9b530f/attachment-0001.htm>


More information about the Users mailing list