
Thanks Fozzy, I had a meeting with them today to try and find a solution. It seems because they use apache to process the cdr files in to the DB. Apache can not handle 500+ requests it just dies. so we are getting closer to the problem.
On Monday, January 18, 2016 at 4:43:28 PM UTC+10, Fozzy wrote:I think and this is just my opinion and no means a solution but maybe a nudge in the right direction, there is a fundamental issue with script-to-db processing issue here. MySQL DB is fast and if Freeswitch interacted directly with the DB and not via a xml script then this would not be an issue I feel. The process of processing information is too slow and resource hungry.A call is initiated, XML / CURL needs to interact with DB for account numbers, permission, then do LCR (although takes milliseconds is still a process that could be made shorter), call is ended and the process started again with XML / CURL to DB with CDR info. This times 200 and no wonder the server with more than enough resources wants to die.The guys at ASTPP and mad geniuses and I'm sure they can relook at the way Freeswitch talks to MySQL.Sorry if this does not help but felt I should mention a few things.
On Monday, 18 January 2016 06:09:48 UTC+2, deanskis wrote:Is anyone using ASTPP 2.3? and have over 200 concurrent calls?Our system load is struggling bad.We have 4x Freeswitch servers. 1x ASTPP server. 1x MYSQL server AWS 2x Apache load sharing servers.And our system can't handle anymore then 150 calls!!!!!!/usr/lib/cgi-bin/astpp/astpp-cdr-xml.cgi seems to be the issue. it is putting huge load on the server. I have had ASTPP look at it and they blamed the MYSQL they did some modification but it did not change anything. so that was a waste of money.I have had 2 more ASTPP / Freeswitch experts look at it. We ended up adding more servers to handle that specific resource to see if that would help. But still the same.I am at my wits end.Surely ASTPP is not restricted to 200 calls while free switch can handle 1000's.All our servers sit at around 1 to 4% load but the server that handles the perl CGI script will go up to 95% with 150 + calls. Currently it has 12 cores and 32GB memory.the perl CGI script /usr/lib/cgi-bin/astpp/astpp-cdr-xml.cgi is the main cause and would love if anyone can shed some light on it.Dean
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/bcdc8fd7-d8c1-43cb-aa98-8e46163174f1%40googlegroups.com.--
=====================================================================
Documentation : https://astppdoc.atlassian.net/
Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at https://groups.google.com/group/astpp.
What is the spec of your apache servers?
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/25e36d7b-a273-41d9-823f-3e0f7b7bd502%40googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/7f23c78e-deec-41c6-9b1a-a3441ecd705b%40googlegroups.com.
Are these physical servers or hosted on digital ocean etc?
You have more than enough power to cope well beyond what your having issues with if you are getting full resources.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/CAFABgc001a9LHd1fibiWe6ExFK_0vPaJhcEigaXBpTKUiaBHKw%40mail.gmail.com.
If you used AWS RDS you would need to also host apache and the rest of your setup on EC2 to get best speeds. In In a nutshell all servers should be in the same location. Or you will have issues.
What is the load of the server with 12 cores? Is it going over 12? (Not % but load)
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/0e61134a-88a8-4437-96a8-434c6152a9e0%40googlegroups.com.
Yes I know you can have in various locations but apache can be funny with longer latencies. Astpp must be able to step in here, what is the most there system is doing in Iive production?
If your example is the normal then we are currently currently screwed and I need to look for an alternative.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/ac1b652b-85dc-429d-ad2e-3a49e866cd43%40googlegroups.com.
Hum, I've also been today about another flaw that calls are rated after they finish and not live. Thus leaving you open to fraud. Might have to go back to a2billing at this rate. :(
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/eda75d36-4eec-4c43-b54e-0666c586f71d%40googlegroups.com.
A2billing is ok but doesn't offer everything such as limiting calls per second. I bought the extra offering of this but later found out it only limits per server not account! Useless! The benefit of a2billing is its been around a long time so major issues have long been sorted.
From the start astpp seemed better I have already paid for work from them but with the issues your having I think I need to stop and rethink before I envest more. Unless someone can reassure me..
--
=====================================================================
Documentation : https://astppdoc.atlassian.net/
Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at https://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/bebc0338-3896-422d-b7de-373574143755%40googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/b494b6cf-deb7-4b21-8f80-915e0b597bb9%40googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/aa09af9a-a2fb-4cb2-955b-a5fb8690ed50%40googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/35295265-2832-4e6f-a960-715d1607f52b%40googlegroups.com.
Performance will vary depending on application. You will need to test for your particular situation.