channel_find_locked

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

channel_find_locked

Postby dlapitan » Thu Feb 01, 2007 11:08 am

Hi,

How do i get rid the error channel.c:787 channel_find_locked: Avoid deadlock.

im using centos 4.4
ztdummy
full recording-SCSI drive
p4 2.8 dualcore
2gig RAM


It was working fine for 2 days and then error start appearing to the CLI asterisk. I already disable the recording but the error still there.


thank you
denis
dlapitan
 
Posts: 68
Joined: Fri Nov 24, 2006 3:59 pm

Postby mflorell » Thu Feb 01, 2007 10:19 pm

What is the "loadavg" when this happens?

How many channels are active?

How many agents?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby dlapitan » Thu Feb 01, 2007 10:41 pm

Hi matt,

Thanks for your quick reply...here it is

1. 12.0 loadavg
2. 12 simultaneous active calls
3. 20 agents

i have 1 server for apache/mysql and separate server for vicidial/asterisk.

When im getting this error from the asterisk CLI all outgoing calls will have static or scratch sound and the called party cannot no longer hear us or understand us. I have notice also that the server was starting to slow.

I was able to used the server for 2days without any problem with recordings.


thanks matt..hoping for your reply.
dlapitan
 
Posts: 68
Joined: Fri Nov 24, 2006 3:59 pm

Postby mflorell » Sat Feb 03, 2007 5:34 pm

a loadavg of 12.0 is way to high. What exactly is running on this server?

You have 20 agents with only 12 calls going on?

How many asterisk channels(Asterisk CLI "show channels concise")
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby dlapitan » Sat Feb 03, 2007 7:20 pm

hi matt,

I tried yesterday and the loadavg was drop to 0.7 with full recordings.I dont know what happen, i didnt modify anything.the 12 active channels was from the CLI command "show channels", yesterday i have 15 active channels. the server was running asterisk/vicidial only nothing more. As what i remember tried to configure and mount the samba to transfer the recording files from the file server but i was doing after office hours.

What is the best way to transfer the recordings files?

Thanks for your reply matt.
dlapitan
 
Posts: 68
Joined: Fri Nov 24, 2006 3:59 pm

Postby mflorell » Sun Feb 04, 2007 9:14 am

Heavy drive activity can cause a spike in loadavg. I usually run the AST_CRON_mix_recordings.pl script after hours and configure that script to FTP the recordings to an FTP server. All you need to do is edit that script's settings to go to your FTP server.

Do you have an FTP server installed on your local network?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby dlapitan » Sun Feb 04, 2007 11:27 pm

Hi matt,

Ok, i will try to setup that this week. Im planning to use my existing web server as my ftp server. so i need to remove the AST_CRON_mix_recordings.pl from the crontab?

thanks matt....
dlapitan
 
Posts: 68
Joined: Fri Nov 24, 2006 3:59 pm

Postby mflorell » Mon Feb 05, 2007 1:31 am

You need one of the mix_recordings scripts to move your recordings after they are made, and mix the recordings that are in separate in and out files.

If you are using the same server as your Asterisk server then you need to setup a virtual directory in Apache.

If your web server is another different machine from your Asterisk server then you will need to setup an FTP server on it to move these recordings automatically.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 79 guests