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, <[email protected]> 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 <[email protected]> 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, [email protected]> 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 [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
