Thanks for the help. Setting pkg to (-M 8) worked.<br /><br />On , Ovidiu Sas <osas@voipembedded.com> wrote:<br />> The httpd module needs to reserve a buffer for building http<br />> <br />> responses. If there are a lot of modules loaded, the pkg memory might<br />> <br />> become fragmented and there will be not enough space to allocate a big<br />> <br />> buffer.<br />> <br />> Ways to workaround this issue:<br />> <br />> - increase the pkg memory (use -M switch in the opensips command)<br />> <br />> - play with the size of the buffer (buf_size parameter)<br />> <br />> <br />> <br />> Regards,<br />> <br />> Ovidiu Sas<br />> <br />> <br />> <br />> <br />> <br />> --<br />> <br />> VoIP Embedded, Inc.<br />> <br />> http://www.voipembedded.com<br />> <br />> <br />> <br />> On Sun, Aug 12, 2012 at 10:21 PM, duane.larson@gmail.com> wrote:<br />> <br />> > I ran the sample OpenSIPS config that comes with all installs and I was able<br />> <br />> > to start OpenSIPS with the httpd and mi_http modules. Not sure why its not<br />> <br />> > starting with my config. I will send you the debug to you directly after I<br />> <br />> > send this email.<br />> <br />> ><br />> <br />> > On , Ovidiu Sas osas@voipembedded.com> wrote:<br />> <br />> >> Can you enable debug probes and print out the output.<br />> <br />> >><br />> <br />> >><br />> <br />> >> Also, you can try to run a very simple config and load only httpd and<br />> <br />> >><br />> <br />> >><br />> <br />> >> mi_http modules.<br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >> Regards,<br />> <br />> >><br />> <br />> >><br />> <br />> >> Ovidiu Sas<br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >> On Sun, Aug 12, 2012 at 9:45 PM, duane.larson@gmail.com> wrote:<br />> <br />> >><br />> <br />> >><br />> <br />> >> > I wanted to try out the mi-http module but I am not able to get OpenSIPS<br />> <br />> >> > to<br />> <br />> >><br />> <br />> >><br />> <br />> >> > start up when I have enabled the httpd module. When I start OpenSIPS I<br />> <br />> >> > am<br />> <br />> >><br />> <br />> >><br />> <br />> >> > seeing the following error<br />> <br />> >><br />> <br />> >><br />> <br />> >> ><br />> <br />> >><br />> <br />> >><br />> <br />> >> > Aug 12 20:40:03 SIPProxy02 /usr/local/sbin/opensips[1537]:<br />> <br />> >><br />> <br />> >><br />> <br />> >> > NOTICE:presence:child_init: init_child [-2] pid [1537]<br />> <br />> >><br />> <br />> >><br />> <br />> >> > Aug 12 20:40:03 SIPProxy02 /usr/local/sbin/opensips[1537]:<br />> <br />> >><br />> <br />> >><br />> <br />> >> > WARNING:core:fm_malloc: Not enough free memory, will atempt<br />> <br />> >> > defragmenation<br />> <br />> >><br />> <br />> >><br />> <br />> >> > Aug 12 20:40:03 SIPProxy02 /usr/local/sbin/opensips[1537]:<br />> <br />> >><br />> <br />> >><br />> <br />> >> > ERROR:httpd:httpd_proc: oom<br />> <br />> >><br />> <br />> >><br />> <br />> >> ><br />> <br />> >><br />> <br />> >><br />> <br />> >> ><br />> <br />> >><br />> <br />> >><br />> <br />> >> > Before compiling the modules I installed both libmicrohttpd-dev and<br />> <br />> >><br />> <br />> >><br />> <br />> >> > libmicrohttpd5 on Debian 6. Any idea why its giving me this error?<br />> <br />> <br />> <br />> _______________________________________________<br />> <br />> Users mailing list<br />> <br />> Users@lists.opensips.org<br />> <br />> http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br />> <br />>