[Asterisk-bugs] [Asterisk 0010261]: Large list of recording files produces delay on incoming calls on queues
noreply at bugs.digium.com
noreply at bugs.digium.com
Fri Jul 20 17:17:53 CDT 2007
The following issue has been CLOSED
======================================================================
http://bugs.digium.com/view.php?id=10261
======================================================================
Reported By: fugitivo
Assigned To: russell
======================================================================
Project: Asterisk
Issue ID: 10261
Category: Addons/General
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.2.21.1
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
Resolution: reopened
Fixed in Version:
======================================================================
Date Submitted: 07-20-2007 14:45 CDT
Last Modified: 07-20-2007 17:17 CDT
======================================================================
Summary: Large list of recording files produces delay on
incoming calls on queues
Description:
Having a directory with a lot of recording files delays audio on queues
with recordings enabled.
It seems that asterisk tries to access the directory containing all the
recordings before passing audio, causing big delay on the incoming audio.
Running "ls" command on that directory produces the same delay before
seeing the list of files.
Moving the files out of the monitor directory fixes the problem.
======================================================================
----------------------------------------------------------------------
russell - 07-20-07 17:17
----------------------------------------------------------------------
Creating a file is done by a blocking system call. Under any normal
circumstances, this very little time. It is definitely system specific as
to why it takes so long on your system. As you pointed out, you have the
same problem just trying to list the files from a shell.
Issue History
Date Modified Username Field Change
======================================================================
07-20-07 17:17 russell Status feedback => closed
07-20-07 17:17 russell Note Added: 0067672
======================================================================
More information about the asterisk-bugs
mailing list