asterisk2billing.org
http://forum.asterisk2billing.org/

Database slow down
http://forum.asterisk2billing.org/viewtopic.php?f=16&t=8652
Page 1 of 1

Author:  jervin [ Wed Mar 09, 2011 6:01 pm ]
Post subject:  Database slow down

Im using a2billing from 2010 nov1 constantly got 12-30 paralel calls.
From last month when I ask CDr report its take around 10 min to give the result and this braking the calls.
Before 2 days everything is start to slow down.
I take a look on asterisk cli and I see the a2billing.php process is so slow and sometime its stop simply starts calls but cant get to end and I see on freepbx status the active calls just raise and its equal with active channels.
When I restart the server than for some time its ok but after a time its start again!

Im using server with 4gb memory.

But I nead to save records for more years.

Is there a solution for this?

there is installed version Asterisk2Billing - Version 1.3.0
What can I do?

Author:  jroper [ Thu Mar 10, 2011 9:03 am ]
Post subject:  Re: Database slow down

Hi

In version 1.4 and above, there were some optimisations to the CDR records and other areas, I would recommend against using anything but the latest version in production.

Upgrade, and see how you get on.

How many CDR and customers do you have.

Joe

Author:  jervin [ Thu Mar 10, 2011 9:37 am ]
Post subject:  Re: Database slow down

Its around 20 users and around 20 CC.

I will set up on new server 1.4 and test it.
Can I import 1.3 to 1.4 directly?

Ervin

Author:  jroper [ Thu Mar 10, 2011 9:39 am ]
Post subject:  Re: Database slow down

Better to use 1.9.3

There is an upgrade path from all versions of A2Billing.

Joe

Author:  jervin [ Thu Mar 10, 2011 10:02 am ]
Post subject:  Re: Database slow down

Do you know some doc to update 1.3 to 1.9?

And many thanks for helping me!

Author:  jroper [ Thu Mar 10, 2011 10:35 am ]
Post subject:  Re: Database slow down

Hi

there is a guide here :- viewtopic.php?f=33&t=8650

The main difference with an upgrade is that you will have to apply each MySQL upgrade script in turn from the version you are on.

Joe

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/