Crazy Log Enteries

bhughesiii
Posts: 67
Member Since:
2007-01-04

I have a system that is generating strange warning messages in /var/log/asterisk/full. It is causing the log files to get up near 25GB in size and only recently started within the last 3 -4 days. I have since stopped logging any warning messages, but for some reason while it was happening, it was causing the system to crash. What follows is a small section of my full file:

[Dec 27 04:02:40] VERBOSE[28614] logger.c: Asterisk Event Logger restarted
[Dec 27 04:02:40] VERBOSE[28614] logger.c: Asterisk Queue Logger restarted
[Dec 27 04:02:40] WARNING[13750] file.c: Failed to write frame
[Dec 27 04:02:40] VERBOSE[13750] logger.c:     -- <Local/zapchan3@from-pstn-6094,2> Playing 'custom/addrefill' (language 'en')
[Dec 27 04:02:40] VERBOSE[13750] logger.c:     -- AGI Script Executing Application: (Playback) Options: (custom/notfound)
[Dec 27 04:02:40] WARNING[13750] file.c: Failed to write frame
[Dec 27 04:02:40] VERBOSE[13750] logger.c:     -- <Local/zapchan3@from-pstn-6094,2> Playing 'custom/notfound' (language 'en')
[Dec 27 04:02:40] WARNING[13750] app_playback.c: ast_streamfile failed on Local/zapchan3@from-pstn-6094,2 for custom/notfound
[Dec 27 04:02:40] WARNING[13750] file.c: Failed to write frame
[Dec 27 04:02:40] VERBOSE[13750] logger.c:     -- <Local/zapchan3@from-pstn-6094,2> Playing 'custom/addrefill' (language 'en')
[Dec 27 04:02:40] VERBOSE[13750] logger.c:     -- AGI Script Executing Application: (Playback) Options: (custom/notfound)
[Dec 27 04:02:40] WARNING[13750] file.c: Failed to write frame
[Dec 27 04:02:40] VERBOSE[13750] logger.c:     -- <Local/zapchan3@from-pstn-6094,2> Playing 'custom/notfound' (language 'en')
[Dec 27 04:02:40] WARNING[13750] app_playback.c: ast_streamfile failed on Local/zapchan3@from-pstn-6094,2 for custom/notfound
[Dec 27 04:02:40] WARNING[13750] file.c: Failed to write frame
[Dec 27 04:02:40] VERBOSE[13750] logger.c:     -- <Local/zapchan3@from-pstn-6094,2> Playing 'custom/addrefill' (language 'en')
[Dec 27 04:02:40] VERBOSE[13750] logger.c:     -- AGI Script Executing Application: (Playback) Options: (custom/notfound)
[Dec 27 04:02:40] WARNING[13750] file.c: Failed to write frame


bhughesiii
Posts: 67
Member Since:
2007-01-04
Is there anyone with ANY

Is there anyone with ANY insight, I have now discovered a second system that is having this issue.. Snippet from log file is:

Dec 21 01:30:57 DEBUG[475] channel.c: Scheduling timer at 0 sample intervals
Dec 21 01:30:57 WARNING[475] file.c: Failed to write frame
Dec 21 01:30:57 DEBUG[475] channel.c: Scheduling timer at 0 sample intervals
Dec 21 01:30:57 VERBOSE[475] logger.c:     -- Playing 'custom/notfound' (language 'en')
Dec 21 01:30:57 DEBUG[475] channel.c: Scheduling timer at 0 sample intervals
Dec 21 01:30:57 WARNING[475] file.c: Failed to write frame
Dec 21 01:30:57 DEBUG[475] channel.c: Scheduling timer at 0 sample intervals
Dec 21 01:30:57 VERBOSE[475] logger.c:     -- Playing 'custom/refillopening' (language 'en')
Dec 21 01:30:57 VERBOSE[475] logger.c:     -- AGI Script Executing Application: (Playback) Options: (custom/notfound)

I cannot figure out why these sound files are being played over and over again like this



ethans
Posts: 519
Member Since:
2007-01-16
Try turning on AGI debugging

Try turning on AGI debugging at the CLI and see what AGI script is doing that.



bhughesiii
Posts: 67
Member Since:
2007-01-04
I do have a custom perl

I do have a custom perl script that makes use of those two files.. and several other sound files. And it was working fine up until Dec 19th. Which makes it even stranger, cause the system has been up and working for over a year.



ethans
Posts: 519
Member Since:
2007-01-16
Looks like you'll have to

Looks like you'll have to debug that AGI script. Maybe something was updated on the PBX?



bhughesiii
Posts: 67
Member Since:
2007-01-04
Only thing recently updated

Only thing recently updated was FreePBX, but such is the case for about 12 other systems and they are not having the same problem these two are.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.