[asterisk-users] loading the prompt files in memory on Asterisk startup

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Aug 20 17:31:31 MST 2006


On Fri, Aug 18, 2006 at 07:08:13PM -0700, Nitin Gupta wrote:
> Hi,
> Is there any option in asterisk to load all the prompt files into
> memory on startup, so that it doesn;t have to hit the disk to read
> prompts for any call.
> Or any plugin / suggestion to avoid hitting the disk for prompt files?

If they're small enough and/or you have enough memory, you can try to keep 
them in the IO buffers: a cron job that will cat all the relevant files
to /dev/null ocasionally.

No idea if this actually works...

-- 
Tzafrir Cohen         sip:tzafrir at local.xorcom.com
icq#16849755          iax:tzafrir at local.xorcom.com
+972-50-7952406          jabber:tzafrir at jabber.org
tzafrir.cohen at xorcom.com     http://www.xorcom.com



More information about the asterisk-users mailing list