From carbonaro at free.fr Mon Sep 3 10:19:12 2007 From: carbonaro at free.fr (H.K.) Date: Mon, 3 Sep 2007 16:19:12 +0200 Subject: [Telegraph-users] AMI Events Doc Message-ID: <2B373BD9-55A1-4473-A9D0-29BC5199F93B@free.fr> Would anyone be willing to provide a short example on how to Route AMI events to controller actions using routes.rb? Thanks in advance, Francois Pinton From philippe.breuils at gmail.com Mon Sep 10 12:24:35 2007 From: philippe.breuils at gmail.com (Philippe Breuils) Date: Mon, 10 Sep 2007 18:24:35 +0200 Subject: [Telegraph-users] AMI Events Doc Message-ID: Hi, I have read Jonathan Palley's keynote on Telegraph: http:// files.meetup.com/134063/jpalley_voip_presentation.pdf with great interest but I have to admit I am a little lost with the following bullet point: "Route AMI events to controller actions using , routes.rb". Could anyone please provide any help on AMI Events in telegraph? Thanks in advance, Philippe Breuils From jpalley at gmail.com Tue Sep 11 00:18:06 2007 From: jpalley at gmail.com (Jonathan Palley) Date: Mon, 10 Sep 2007 21:18:06 -0700 Subject: [Telegraph-users] AMI Events Doc In-Reply-To: References: Message-ID: Hi Philippe - That preso is out of date (given over a year ago). Check out my presentation from RailsConf: http://www.slideshare.net/jpalley/ respondto-voice-the-convergence-of-voice-and-web-interfaces-with- rails-and-asterisk/ Also, the example app in the telegraph svn is most up to date. Note, there are a few configuration changes since those documents were published (you can find details for that on the documentation wiki). Best Jonathan On Sep 10, 2007, at 9:24 AM, Philippe Breuils wrote: > Hi, > > I have read Jonathan Palley's keynote on Telegraph: http:// > files.meetup.com/134063/jpalley_voip_presentation.pdf with great > interest but I have to admit I am a little lost with the following > bullet point: "Route AMI events to controller actions using , > routes.rb". Could anyone please provide any help on AMI Events in > telegraph? > > Thanks in advance, > > Philippe Breuils > _______________________________________________ > Telegraph-users mailing list > Telegraph-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/telegraph-users From philippe.breuils at gmail.com Tue Sep 11 03:24:05 2007 From: philippe.breuils at gmail.com (Philippe Breuils) Date: Tue, 11 Sep 2007 09:24:05 +0200 Subject: [Telegraph-users] AMI Events Doc In-Reply-To: References: Message-ID: Hi Jonathan, Thanks for your quick answer: it's pretty clear now. For some reason I thought there was a tweak involving routes.rb. I will work on that right away. Best regards, Philippe PS: Thanks a lot for Telegraph by the way Le 11 sept. 07 ? 06:18, Jonathan Palley a ?crit : > Hi Philippe - > That preso is out of date (given over a year ago). Check out my > presentation from RailsConf: http://www.slideshare.net/jpalley/ > respondto-voice-the-convergence-of-voice-and-web-interfaces-with- > rails-and-asterisk/ > > Also, the example app in the telegraph svn is most up to date. > Note, there are a few configuration changes since those documents > were published (you can find details for that on the documentation > wiki). > > Best > Jonathan > > On Sep 10, 2007, at 9:24 AM, Philippe Breuils wrote: > >> Hi, >> >> I have read Jonathan Palley's keynote on Telegraph: http:// >> files.meetup.com/134063/jpalley_voip_presentation.pdf with great >> interest but I have to admit I am a little lost with the following >> bullet point: "Route AMI events to controller actions using , >> routes.rb". Could anyone please provide any help on AMI Events in >> telegraph? >> >> Thanks in advance, >> >> Philippe Breuils >> _______________________________________________ >> Telegraph-users mailing list >> Telegraph-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/telegraph-users > From dom at pazap.com Tue Sep 11 07:08:22 2007 From: dom at pazap.com (Dominic Son) Date: Tue, 11 Sep 2007 04:08:22 -0700 Subject: [Telegraph-users] AMI Events Doc In-Reply-To: References: Message-ID: hi. will asterisk care if a server is running nginx? (or is this possible only through apache?) Dominic On 9/11/07, Philippe Breuils wrote: > Hi Jonathan, > > Thanks for your quick answer: it's pretty clear now. For some reason > I thought there was a tweak involving routes.rb. > I will work on that right away. > Best regards, > > Philippe > > PS: Thanks a lot for Telegraph by the way > > Le 11 sept. 07 ? 06:18, Jonathan Palley a ?crit : > > > Hi Philippe - > > That preso is out of date (given over a year ago). Check out my > > presentation from RailsConf: http://www.slideshare.net/jpalley/ > > respondto-voice-the-convergence-of-voice-and-web-interfaces-with- > > rails-and-asterisk/ > > > > Also, the example app in the telegraph svn is most up to date. > > Note, there are a few configuration changes since those documents > > were published (you can find details for that on the documentation > > wiki). > > > > Best > > Jonathan > > > > On Sep 10, 2007, at 9:24 AM, Philippe Breuils wrote: > > > >> Hi, > >> > >> I have read Jonathan Palley's keynote on Telegraph: http:// > >> files.meetup.com/134063/jpalley_voip_presentation.pdf with great > >> interest but I have to admit I am a little lost with the following > >> bullet point: "Route AMI events to controller actions using , > >> routes.rb". Could anyone please provide any help on AMI Events in > >> telegraph? > >> > >> Thanks in advance, > >> > >> Philippe Breuils > >> _______________________________________________ > >> Telegraph-users mailing list > >> Telegraph-users at rubyforge.org > >> http://rubyforge.org/mailman/listinfo/telegraph-users > > > > _______________________________________________ > Telegraph-users mailing list > Telegraph-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/telegraph-users > -- Anything else, let me know. - Dominic Son The ability to simplify means to eliminate the unnecessary so that the necessary may speak. -Hofstadter's Law From jpalley at gmail.com Tue Sep 11 12:58:22 2007 From: jpalley at gmail.com (Jonathan Palley) Date: Tue, 11 Sep 2007 09:58:22 -0700 Subject: [Telegraph-users] AMI Events Doc In-Reply-To: References: Message-ID: <2D0F9D2E-12E8-4123-9F7C-77C68FF8AC67@gmail.com> Asterisk doesn't talk to the web server so it won't care at all. Having said that, if you want to load balance the AGI calls you could probably actually do that through nginx. But I don't think that's what you are asking :). JP On Sep 11, 2007, at 4:08 AM, Dominic Son wrote: > hi. will asterisk care if a server is running nginx? > > (or is this possible only through apache?) > > Dominic > > > On 9/11/07, Philippe Breuils wrote: >> Hi Jonathan, >> >> Thanks for your quick answer: it's pretty clear now. For some reason >> I thought there was a tweak involving routes.rb. >> I will work on that right away. >> Best regards, >> >> Philippe >> >> PS: Thanks a lot for Telegraph by the way >> >> Le 11 sept. 07 ? 06:18, Jonathan Palley a ?crit : >> >>> Hi Philippe - >>> That preso is out of date (given over a year ago). Check out my >>> presentation from RailsConf: http://www.slideshare.net/jpalley/ >>> respondto-voice-the-convergence-of-voice-and-web-interfaces-with- >>> rails-and-asterisk/ >>> >>> Also, the example app in the telegraph svn is most up to date. >>> Note, there are a few configuration changes since those documents >>> were published (you can find details for that on the documentation >>> wiki). >>> >>> Best >>> Jonathan >>> >>> On Sep 10, 2007, at 9:24 AM, Philippe Breuils wrote: >>> >>>> Hi, >>>> >>>> I have read Jonathan Palley's keynote on Telegraph: http:// >>>> files.meetup.com/134063/jpalley_voip_presentation.pdf with great >>>> interest but I have to admit I am a little lost with the following >>>> bullet point: "Route AMI events to controller actions using , >>>> routes.rb". Could anyone please provide any help on AMI Events in >>>> telegraph? >>>> >>>> Thanks in advance, >>>> >>>> Philippe Breuils >>>> _______________________________________________ >>>> Telegraph-users mailing list >>>> Telegraph-users at rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/telegraph-users >>> >> >> _______________________________________________ >> Telegraph-users mailing list >> Telegraph-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/telegraph-users >> > > > -- > Anything else, let me know. > > - Dominic Son > > The ability to simplify means to eliminate the unnecessary so that the > necessary may speak. > -Hofstadter's Law > _______________________________________________ > Telegraph-users mailing list > Telegraph-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/telegraph-users From edgargonzalez at gmail.com Wed Sep 19 16:04:40 2007 From: edgargonzalez at gmail.com (Edgar Gonzalez) Date: Wed, 19 Sep 2007 16:04:40 -0400 Subject: [Telegraph-users] ami_server taking 100% CPU on my server Message-ID: Hello, I'm deploying an application rails + telegraph the script/ami_server is taking the 100% of the CPU in the server any idea about the reason? -- Edgar Gonz?lez Gonz?lez E-mail: edgargonzalez at gmail.com http://edgar.gonzalez.net.ve http://www.hasmanydevelopers.com http://www.rubycorner.com http://www.to2blogs.com http://www.lacaraoscura.com -- From pbaker at adeptra.com Wed Sep 19 17:04:42 2007 From: pbaker at adeptra.com (Patrick Baker) Date: Wed, 19 Sep 2007 17:04:42 -0400 Subject: [Telegraph-users] ami_server taking 100% CPU on my server Message-ID: <6B3727B1924AC94F915E95DC9063EFFA08FCF431@norwalk-ex1.ad.adeptra.com> That's pretty vague, do you have any details regarding your implementation? ----- Original Message ----- From: telegraph-users-bounces at rubyforge.org To: telegraph-users at rubyforge.org Sent: Wed Sep 19 16:04:40 2007 Subject: [Telegraph-users] ami_server taking 100% CPU on my server Hello, I'm deploying an application rails + telegraph the script/ami_server is taking the 100% of the CPU in the server any idea about the reason? -- Edgar Gonz?lez Gonz?lez E-mail: edgargonzalez at gmail.com http://edgar.gonzalez.net.ve http://www.hasmanydevelopers.com http://www.rubycorner.com http://www.to2blogs.com http://www.lacaraoscura.com -- _______________________________________________ Telegraph-users mailing list Telegraph-users at rubyforge.org http://rubyforge.org/mailman/listinfo/telegraph-users From edgargonzalez at gmail.com Thu Sep 20 07:10:40 2007 From: edgargonzalez at gmail.com (Edgar Gonzalez) Date: Thu, 20 Sep 2007 07:10:40 -0400 Subject: [Telegraph-users] ami_server taking 100% CPU on my server In-Reply-To: <6B3727B1924AC94F915E95DC9063EFFA08FCF431@norwalk-ex1.ad.adeptra.com> References: <6B3727B1924AC94F915E95DC9063EFFA08FCF431@norwalk-ex1.ad.adeptra.com> Message-ID: Patrick, Yes, you're right. I didn't download the latest ami_server.rb file (which fix the threading bug) I did it and now the ami_server behaves better, just have short increment on cpu use (until 50%) but for very short time, before the update the ami_server stay always using 90%-100% of cpu. The issue is a page which have an ajax periodically update which poll the asterisk via ami_server to know the current extensions defined and their status. regards On 9/19/07, Patrick Baker wrote: > That's pretty vague, do you have any details regarding your implementation? > > > > ----- Original Message ----- > From: telegraph-users-bounces at rubyforge.org > To: telegraph-users at rubyforge.org > Sent: Wed Sep 19 16:04:40 2007 > Subject: [Telegraph-users] ami_server taking 100% CPU on my server > > Hello, > > I'm deploying an application rails + telegraph > > the script/ami_server is taking the 100% of the CPU in the server > > any idea about the reason? > > -- > Edgar Gonz?lez Gonz?lez > E-mail: edgargonzalez at gmail.com > http://edgar.gonzalez.net.ve > http://www.hasmanydevelopers.com > http://www.rubycorner.com > http://www.to2blogs.com > http://www.lacaraoscura.com > -- > _______________________________________________ > Telegraph-users mailing list > Telegraph-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/telegraph-users > -- Edgar Gonz?lez Gonz?lez E-mail: edgargonzalez at gmail.com http://edgar.gonzalez.net.ve http://www.hasmanydevelopers.com http://www.rubycorner.com http://www.to2blogs.com http://www.lacaraoscura.com -- From pbaker at adeptra.com Thu Sep 20 13:55:13 2007 From: pbaker at adeptra.com (Patrick Baker) Date: Thu, 20 Sep 2007 13:55:13 -0400 Subject: [Telegraph-users] ami_server taking 100% CPU on my server Message-ID: <6B3727B1924AC94F915E95DC9063EFFA09D33656@norwalk-ex1.ad.adeptra.com> Great, I'm glad everything worked out. Regards, Patrick -----Original Message----- From: Edgar Gonzalez [mailto:edgargonzalez at gmail.com] Sent: Thursday, September 20, 2007 7:11 AM To: telegraph-users at rubyforge.org Subject: Re: [Telegraph-users] ami_server taking 100% CPU on my server Patrick, Yes, you're right. I didn't download the latest ami_server.rb file (which fix the threading bug) I did it and now the ami_server behaves better, just have short increment on cpu use (until 50%) but for very short time, before the update the ami_server stay always using 90%-100% of cpu. The issue is a page which have an ajax periodically update which poll the asterisk via ami_server to know the current extensions defined and their status. regards On 9/19/07, Patrick Baker wrote: > That's pretty vague, do you have any details regarding your implementation? > > > > ----- Original Message ----- > From: telegraph-users-bounces at rubyforge.org > To: telegraph-users at rubyforge.org > Sent: Wed Sep 19 16:04:40 2007 > Subject: [Telegraph-users] ami_server taking 100% CPU on my server > > Hello, > > I'm deploying an application rails + telegraph > > the script/ami_server is taking the 100% of the CPU in the server > > any idea about the reason? > > -- > Edgar Gonz?lez Gonz?lez > E-mail: edgargonzalez at gmail.com > http://edgar.gonzalez.net.ve > http://www.hasmanydevelopers.com > http://www.rubycorner.com > http://www.to2blogs.com > http://www.lacaraoscura.com > -- > _______________________________________________ > Telegraph-users mailing list > Telegraph-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/telegraph-users > -- Edgar Gonz?lez Gonz?lez E-mail: edgargonzalez at gmail.com http://edgar.gonzalez.net.ve http://www.hasmanydevelopers.com http://www.rubycorner.com http://www.to2blogs.com http://www.lacaraoscura.com -- From jpalley at gmail.com Thu Sep 20 22:24:44 2007 From: jpalley at gmail.com (Jonathan Palley) Date: Thu, 20 Sep 2007 19:24:44 -0700 Subject: [Telegraph-users] ami_server taking 100% CPU on my server In-Reply-To: <6B3727B1924AC94F915E95DC9063EFFA09D33656@norwalk-ex1.ad.adeptra.com> References: <6B3727B1924AC94F915E95DC9063EFFA09D33656@norwalk-ex1.ad.adeptra.com> Message-ID: <5950F7CD-3699-4E34-95AD-867538ED9607@gmail.com> All - While updating to the latest code will make a huge difference, I do believe there is still a small problem that causes ami_server to take up more resources then it should at certain times or under certain conditions. We are trying to identify what that is exactly on our system but if anyone has any luck nailing this down or any ideas where the culprit might be - please do email it out. Also: If anyone is using Telegraph in production/semi-production/pre- production applications it would be great to hear about what you are doing with it. FInally, I'd like to move this mailing list to google groups (and perhaps even the project to google code) due to the significantly improved archiving/search functionalities there. Again, any volunteers to help do this would be great. Thanks - Jonathan On Sep 20, 2007, at 10:55 AM, Patrick Baker wrote: > Great, I'm glad everything worked out. > > Regards, > > Patrick > > -----Original Message----- > From: Edgar Gonzalez [mailto:edgargonzalez at gmail.com] > Sent: Thursday, September 20, 2007 7:11 AM > To: telegraph-users at rubyforge.org > Subject: Re: [Telegraph-users] ami_server taking 100% CPU on my server > > Patrick, > > Yes, you're right. > > I didn't download the latest ami_server.rb file (which fix the > threading bug) > > I did it and now the ami_server behaves better, just have short > increment on cpu use (until 50%) but for very short time, before the > update the ami_server stay always using 90%-100% of cpu. > > The issue is a page which have an ajax periodically update which poll > the asterisk via ami_server to know the current extensions defined and > their status. > > regards > > > On 9/19/07, Patrick Baker wrote: >> That's pretty vague, do you have any details regarding your >> implementation? >> >> >> >> ----- Original Message ----- >> From: telegraph-users-bounces at rubyforge.org > bounces at rubyforge.org> >> To: telegraph-users at rubyforge.org >> Sent: Wed Sep 19 16:04:40 2007 >> Subject: [Telegraph-users] ami_server taking 100% CPU on my server >> >> Hello, >> >> I'm deploying an application rails + telegraph >> >> the script/ami_server is taking the 100% of the CPU in the server >> >> any idea about the reason? >> >> -- >> Edgar Gonz?lez Gonz?lez >> E-mail: edgargonzalez at gmail.com >> http://edgar.gonzalez.net.ve >> http://www.hasmanydevelopers.com >> http://www.rubycorner.com >> http://www.to2blogs.com >> http://www.lacaraoscura.com >> -- >> _______________________________________________ >> Telegraph-users mailing list >> Telegraph-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/telegraph-users >> > > > -- > Edgar Gonz?lez Gonz?lez > E-mail: edgargonzalez at gmail.com > http://edgar.gonzalez.net.ve > http://www.hasmanydevelopers.com > http://www.rubycorner.com > http://www.to2blogs.com > http://www.lacaraoscura.com > -- > _______________________________________________ > Telegraph-users mailing list > Telegraph-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/telegraph-users From timuckun at gmail.com Sun Sep 23 21:57:23 2007 From: timuckun at gmail.com (Tim Uckun) Date: Mon, 24 Sep 2007 13:57:23 +1200 Subject: [Telegraph-users] ami_server taking 100% CPU on my server In-Reply-To: <5950F7CD-3699-4E34-95AD-867538ED9607@gmail.com> References: <6B3727B1924AC94F915E95DC9063EFFA09D33656@norwalk-ex1.ad.adeptra.com> <5950F7CD-3699-4E34-95AD-867538ED9607@gmail.com> Message-ID: <855e4dcf0709231857xd9f32fen5d09a624eab13fac@mail.gmail.com> > FInally, I'd like to move this mailing list to google groups (and > perhaps even the project to google code) due to the significantly > improved archiving/search functionalities there. Again, any > volunteers to help do this would be great. Done deal. http://code.google.com/p/telegraph/ Both the code project and the users group are set up. From carlosve.ucv at gmail.com Mon Sep 24 11:34:28 2007 From: carlosve.ucv at gmail.com (Carlos Garcia Mujica) Date: Mon, 24 Sep 2007 11:34:28 -0400 Subject: [Telegraph-users] Ami Server CPU Problem Message-ID: <860c15960709240834y1fda2c0aua7a7a3c2e1a0d461@mail.gmail.com> Hi, I helped on the developing of an application using Telegraph as plugin in a Rails project, that connects to a Asterisk server. I?m sending and getting packages throw AMI of petitions and consults, but my AMI Server takes 100% of my CPU. This happened to anyone before? Best Regards, Carlos -- ------------------------------------------------------------------------------------- Universidad Central de Venezuela Facultad de Ciencias Escuela de Computaci?n Carlos Garcia ------------------------------------------------------------------------------------- "Everything should be made as simple as possible, but not simpler." Albert Einstein -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/telegraph-users/attachments/20070924/5ba2d975/attachment.html From jpalley at gmail.com Mon Sep 24 11:41:19 2007 From: jpalley at gmail.com (Jonathan Palley) Date: Mon, 24 Sep 2007 08:41:19 -0700 Subject: [Telegraph-users] Ami Server CPU Problem In-Reply-To: <860c15960709240834y1fda2c0aua7a7a3c2e1a0d461@mail.gmail.com> References: <860c15960709240834y1fda2c0aua7a7a3c2e1a0d461@mail.gmail.com> Message-ID: <0097C8EA-06E8-4363-A81D-ACF51C67554B@gmail.com> Hi Carlos - Are you running the latest ami_server.rb code? There was a significant bug fixes a few weeks ago that should help this. If so, it would be great to get your help debugging this. If your traffic isn't too great (or you can replicate the problem on a development machine) stick a "puts" statement in the read_line and write_line methods in ami_server.rb. This will output what is getting sent back and forth. It may help us identify where the ami_server is getting stuck. I'll work in a patch that does this automatically if you are running in a development environment soon. JP On Sep 24, 2007, at 8:34 AM, Carlos Garcia Mujica wrote: > Hi, > > I helped on the developing of an application using Telegraph as > plugin in a Rails project, that connects to a Asterisk server. > I?m sending and getting packages throw AMI of petitions and > consults, but my AMI Server takes 100% of my CPU. > > This happened to anyone before? > > Best Regards, > Carlos > > -- > ---------------------------------------------------------------------- > --------------- > Universidad Central de Venezuela > Facultad de Ciencias > Escuela de Computaci?n > Carlos Garcia > ---------------------------------------------------------------------- > --------------- > "Everything should be made as simple as possible, but not simpler." > Albert Einstein > _______________________________________________ > Telegraph-users mailing list > Telegraph-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/telegraph-users From edgargonzalez at gmail.com Mon Sep 24 11:54:19 2007 From: edgargonzalez at gmail.com (Edgar Gonzalez) Date: Mon, 24 Sep 2007 11:54:19 -0400 Subject: [Telegraph-users] Ami Server CPU Problem In-Reply-To: <0097C8EA-06E8-4363-A81D-ACF51C67554B@gmail.com> References: <860c15960709240834y1fda2c0aua7a7a3c2e1a0d461@mail.gmail.com> <0097C8EA-06E8-4363-A81D-ACF51C67554B@gmail.com> Message-ID: Jonathan, I'm adding the "puts" to the code, but seems like ami_server has a memory leak. Some condition happens (I don't know which one) and the memory used by the process increase, and the cpu usage too For now, I'm restarting the ami_server process when the memory use exceeds 60 MB I'll run the application with the "puts" and share the log Thanks On 9/24/07, Jonathan Palley wrote: > Hi Carlos - > Are you running the latest ami_server.rb code? There was a > significant bug fixes a few weeks ago that should help this. > > If so, it would be great to get your help debugging this. If your > traffic isn't too great (or you can replicate the problem on a > development machine) stick a "puts" statement in the read_line and > write_line methods in ami_server.rb. This will output what is > getting sent back and forth. It may help us identify where the > ami_server is getting stuck. > > I'll work in a patch that does this automatically if you are running > in a development environment soon. > JP > On Sep 24, 2007, at 8:34 AM, Carlos Garcia Mujica wrote: > > > Hi, > > > > I helped on the developing of an application using Telegraph as > > plugin in a Rails project, that connects to a Asterisk server. > > I?m sending and getting packages throw AMI of petitions and > > consults, but my AMI Server takes 100% of my CPU. > > > > This happened to anyone before? > > > > Best Regards, > > Carlos > > > > -- > > ---------------------------------------------------------------------- > > --------------- > > Universidad Central de Venezuela > > Facultad de Ciencias > > Escuela de Computaci?n > > Carlos Garcia > > ---------------------------------------------------------------------- > > --------------- > > "Everything should be made as simple as possible, but not simpler." > > Albert Einstein > > _______________________________________________ > > Telegraph-users mailing list > > Telegraph-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/telegraph-users > > _______________________________________________ > Telegraph-users mailing list > Telegraph-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/telegraph-users > -- Edgar Gonz?lez Gonz?lez E-mail: edgargonzalez at gmail.com http://edgar.gonzalez.net.ve http://www.hasmanydevelopers.com http://www.rubycorner.com http://www.to2blogs.com http://www.lacaraoscura.com -- From jpalley at gmail.com Mon Sep 24 22:10:21 2007 From: jpalley at gmail.com (Jonathan Palley) Date: Mon, 24 Sep 2007 19:10:21 -0700 Subject: [Telegraph-users] BUG FIX: Upgrade Recommended Message-ID: <46E933D0-9AE3-4CE4-BBA5-F00B4047F064@gmail.com> All - We have fixed an embarrassingly obvious memory leak in ami_server.rb. If you are using AMI I highly recommend you upgrade your ami_server.rb (its a one line fix). If you hit ami_server with a lot of requests you'll see a big difference in terms of CPU usage and memory usage. Its been tested on two real systems (mine and Edgar's) and we are seeing a significant difference. Thanks - Jonathan From timuckun at gmail.com Tue Sep 25 00:24:54 2007 From: timuckun at gmail.com (Tim Uckun) Date: Tue, 25 Sep 2007 16:24:54 +1200 Subject: [Telegraph-users] Helpers in voice files. Message-ID: <855e4dcf0709242124t4580df13l5e93aa35733cce25@mail.gmail.com> Are the helpers working in respond_to voice files yet? From carlosve.ucv at gmail.com Tue Sep 25 06:37:18 2007 From: carlosve.ucv at gmail.com (Carlos Garcia Mujica) Date: Tue, 25 Sep 2007 06:37:18 -0400 Subject: [Telegraph-users] AMI Server CPU Problem Message-ID: <860c15960709250337s11cf51dfr339faa956cd0e4b5@mail.gmail.com> I'm sorry, I'm not in the project now. But the people who are, didn't resolve the problem by just upgrading the server version. They hay to do some debugging in the ami_server code to see where the code got stuck. I think the CPU consumption is better but not quite efficient yet. Thanks for the help, Carlos -- ------------------------------------------------------------------------------------- Universidad Central de Venezuela Facultad de Ciencias Escuela de Computaci?n Carlos Garcia ------------------------------------------------------------------------------------- "Everything should be made as simple as possible, but not simpler." Albert Einstein -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/telegraph-users/attachments/20070925/9fec8cbd/attachment.html From edgargonzalez at gmail.com Tue Sep 25 09:41:08 2007 From: edgargonzalez at gmail.com (Edgar Gonzalez) Date: Tue, 25 Sep 2007 09:41:08 -0400 Subject: [Telegraph-users] BUG FIX: Upgrade Recommended In-Reply-To: <46E933D0-9AE3-4CE4-BBA5-F00B4047F064@gmail.com> References: <46E933D0-9AE3-4CE4-BBA5-F00B4047F064@gmail.com> Message-ID: That's right, I'm testing it right now on a production system, and the improvement in terms of CPU usage is really significant. great job Jonathan On 9/24/07, Jonathan Palley wrote: > All - > We have fixed an embarrassingly obvious memory leak in > ami_server.rb. If you are using AMI I highly recommend you upgrade > your ami_server.rb (its a one line fix). If you hit ami_server with > a lot of requests you'll see a big difference in terms of CPU usage > and memory usage. Its been tested on two real systems (mine and > Edgar's) and we are seeing a significant difference. > > Thanks - > Jonathan > _______________________________________________ > Telegraph-users mailing list > Telegraph-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/telegraph-users > -- Edgar Gonz?lez Gonz?lez E-mail: edgargonzalez at gmail.com http://edgar.gonzalez.net.ve http://www.hasmanydevelopers.com http://www.rubycorner.com http://www.to2blogs.com http://www.lacaraoscura.com -- From jpalley at gmail.com Tue Sep 25 11:26:17 2007 From: jpalley at gmail.com (Jonathan Palley) Date: Tue, 25 Sep 2007 08:26:17 -0700 Subject: [Telegraph-users] AMI Server CPU Problem In-Reply-To: <860c15960709250337s11cf51dfr339faa956cd0e4b5@mail.gmail.com> References: <860c15960709250337s11cf51dfr339faa956cd0e4b5@mail.gmail.com> Message-ID: <7C0CC737-810A-4F89-A90E-90030A8D0CB6@gmail.com> Carlos - Ok. It seems they are hitting the ami_server in a way we haven't experienced yet. If the folks doing this debugging can please report back with what they find (patches/etc.) that is very important. Thanks all - Jonathan On Sep 25, 2007, at 3:37 AM, Carlos Garcia Mujica wrote: > I'm sorry, I'm not in the project now. > But the people who are, didn't resolve the problem by just > upgrading the server version. > They hay to do some debugging in the ami_server code to see where > the code got stuck. > > I think the CPU consumption is better but not quite efficient yet. > > Thanks for the help, > Carlos > > -- > ---------------------------------------------------------------------- > --------------- > Universidad Central de Venezuela > Facultad de Ciencias > Escuela de Computaci?n > Carlos Garcia > ---------------------------------------------------------------------- > --------------- > "Everything should be made as simple as possible, but not simpler." > Albert Einstein > _______________________________________________ > Telegraph-users mailing list > Telegraph-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/telegraph-users From edgargonzalez at gmail.com Tue Sep 25 17:08:01 2007 From: edgargonzalez at gmail.com (Edgar Gonzalez) Date: Tue, 25 Sep 2007 17:08:01 -0400 Subject: [Telegraph-users] BUG FIX: Upgrade Recommended In-Reply-To: <46E933D0-9AE3-4CE4-BBA5-F00B4047F064@gmail.com> References: <46E933D0-9AE3-4CE4-BBA5-F00B4047F064@gmail.com> Message-ID: Hi, In fact the cpu usage of ami_server has really improved. But the memory usage is still growing, the ami_server start using 32Mb, but after 7 hours the memory usage grows to 350Mb, however the application response fast. On 9/24/07, Jonathan Palley wrote: > All - > We have fixed an embarrassingly obvious memory leak in > ami_server.rb. If you are using AMI I highly recommend you upgrade > your ami_server.rb (its a one line fix). If you hit ami_server with > a lot of requests you'll see a big difference in terms of CPU usage > and memory usage. Its been tested on two real systems (mine and > Edgar's) and we are seeing a significant difference. > > Thanks - > Jonathan > _______________________________________________ > Telegraph-users mailing list > Telegraph-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/telegraph-users > -- Edgar Gonz?lez Gonz?lez E-mail: edgargonzalez at gmail.com http://edgar.gonzalez.net.ve http://www.hasmanydevelopers.com http://www.rubycorner.com http://www.to2blogs.com http://www.lacaraoscura.com -- From pbaker at adeptra.com Wed Sep 26 14:51:42 2007 From: pbaker at adeptra.com (Patrick Baker) Date: Wed, 26 Sep 2007 14:51:42 -0400 Subject: [Telegraph-users] Project migration Message-ID: <6B3727B1924AC94F915E95DC9063EFFA0A048A3F@norwalk-ex1.ad.adeptra.com> Instead of google code, what about https://launchpad.net ?