[IRCServices Coding] Problem with httpd-module

Andrew Church achurch at achurch.org
Mon Sep 23 01:30:20 PDT 2002


     This is a bug in the socket handling code; the memory is being freed
correctly, but the counter which keeps track of the total amount of memory
used wasn't being updated when the memory was freed, so the code gave a
false out-of-memory error after many connections.  Fixed, thanks for the
report.

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/

>When accessing xml-export page via PHP (fsockopen) it stops working after
>about 20 successful connections.
>
>ircservices.log shows following..
>
>[Sep 14 19:28:15 2002] sockets: sock_new(): out of buffer space!
>[Sep 14 19:28:15 2002] sockets: accept(4): Unable to create socket
>structure (out of buffer space?)
>
>After increasing NetBufferSize to 8MB it worked twice that time, but same
>errors occured.
>
>Doesn't httpd-module free memory correctly?
>
>
>------------------------------------------------------------------
>To unsubscribe or change your subscription options, visit:
>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding