The error comes from a condition where the remote side of the socket has disconnected before it can get the socket details to add to the log.

I added a patch to svn to increase the max conns to 100000 from 16 that's about all I can do
you may want to consider using ESL for some of the remote control needs as it may scale better since we wrote all of that code and
we only did our best to hack up this xmlrpc mod.


On Wed, Jul 29, 2009 at 2:42 AM, Matthew Fong <mattdfong@gmail.com> wrote:
is there a way to have the freeswitch_http.log, log what command is being executed across the webapi? For most requests the log looks like

127.0.0.1:17093 - freeswitch@127.0.0.1 - [29/Jul/2009:00:58:29 +0000] "POST" 200 422

but it would be useful to know more precisely what is being executed across the webapi.

Also, I'm seeing this error popup in my freeswitch_http.log

?? getpeername() failed.  errno=107 (Transport endpoint is not connected) - freeswitch@127.0.0.1 - [29/Jul/2009:00:32:42 +0000] "POST" 200 17
?? getpeername() failed.  errno=107 (Transport endpoint is not connected) - freeswitch@127.0.0.1 - [29/Jul/2009:00:32:42 +0000] "POST" 200 17
?? getpeername() failed.  errno=107 (Transport endpoint is not connected) - freeswitch@127.0.0.1 - [29/Jul/2009:00:32:42 +0000] "POST" 200 17

and I think it's related to some problems I'm having with my program. A few other users http://www.mail-archive.com/freeswitch-users@lists.freeswitch.org/msg09225.html and http://jira.freeswitch.org/browse/MDXMLINT-28 noted similar items appearing in their logs, but I could not find a definitive solution. Does anyone have any solutions to this error? When this error appears in my freeswitch_http.log, all webapi commands seem to block, and than rapidly get executed all at once, whenever the block is released. I'm using 14163. The errors appear to happen only once a certain load level is reached, so I'm having trouble reproducing it consistently.

Could this be caused by an xmlrpc request closing the socket connection before FreeSWITCH has a chance to respond? Can anyone recommend any better ways for me to diagnose this issue? Thanks. I'm using the XMLRPC with Ruby on Rails (REE) and Passenger.

--matt

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400