Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] freeswitch_http.log - format


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
mattdfong at gmail.com
Guest





PostPosted: Wed Jul 29, 2009 2:48 am    Post subject: [Freeswitch-users] freeswitch_http.log - format Reply with quote

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

freeswitch@127.0.0.1 (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 (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 (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 (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
Back to top
anthony.minessale at g...
Guest





PostPosted: Wed Jul 29, 2009 1:50 pm    Post subject: [Freeswitch-users] freeswitch_http.log - format Reply with quote

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 (mattdfong@gmail.com)> wrote:
Quote:
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

freeswitch@127.0.0.1 (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 (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 (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 (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services