I set up a freepbx box to replace an antiquated phone system where I work and everything works well. The one issue I have is every couple of weeks the asterisk ‘full’ log file grows out of control and eats all available space on the disk. The only way to stop this is to kill the asterisk process, delete the full log file and restart freepbx.
I tried putting
noload => app_directory.so
in my /etc/asterisk/modules.conf because I saw that worked for someone in a similar situation on this forum but that did not stop the issue.
The log looks like:
[Jun 10 12:41:09] DEBUG[2032] app_macro.c: Executed application: GotoIf
[Jun 10 12:41:09] DEBUG[2032] func_db.c: DB: AMPUSER/355/vmx/busy/state not found in database.
[Jun 10 12:41:09] VERBOSE[2032] logger.c: – Executing [vmx@macro-vm:5] NoOp(“Zap/2-1”, "Checking if ext 355 is enabled: ") in new stack
[Jun 10 12:41:09] DEBUG[2032] app_macro.c: Executed application: Noop
[Jun 10 12:41:09] DEBUG[2032] func_db.c: DB: AMPUSER/355/vmx/busy/state not found in database.
[Jun 10 12:41:09] VERBOSE[2032] logger.c: – Executing [vmx@macro-vm:6] GotoIf(“Zap/2-1”, “1?s-BUSY|1”) in new stack
[Jun 10 12:41:09] VERBOSE[2032] logger.c: – Goto (macro-vm,s-BUSY,1)
[Jun 10 12:41:09] DEBUG[2032] app_macro.c: Executed application: GotoIf
[Jun 10 12:41:09] VERBOSE[2032] logger.c: – Executing [s-BUSY@macro-vm:1] NoOp(“Zap/2-1”, “BUSY voicemail”) in new stack
[Jun 10 12:41:09] DEBUG[2032] app_macro.c: Executed application: NoOp
[Jun 10 12:41:09] VERBOSE[2032] logger.c: – Executing [s-BUSY@macro-vm:2] Macro(“Zap/2-1”, “get-vmcontext|355”) in new stack
[Jun 10 12:41:09] VERBOSE[2032] logger.c: – Executing [s@macro-get-vmcontext:1] Set(“Zap/2-1”, “VMCONTEXT=default”) in new stack
[Jun 10 12:41:09] DEBUG[2032] app_macro.c: Executed application: Set
[Jun 10 12:41:09] VERBOSE[2032] logger.c: – Executing [s@macro-get-vmcontext:2] GotoIf(“Zap/2-1”, “0?200:300”) in new stack
[Jun 10 12:41:09] VERBOSE[2032] logger.c: – Goto (macro-get-vmcontext,s,300)
[Jun 10 12:41:09] DEBUG[2032] app_macro.c: Executed application: GotoIf
[Jun 10 12:41:09] VERBOSE[2032] logger.c: – Executing [s@macro-get-vmcontext:300] NoOp(“Zap/2-1”, “”) in new stack
[Jun 10 12:41:09] DEBUG[2032] app_macro.c: Executed application: NoOp
[Jun 10 12:41:09] DEBUG[2032] app_macro.c: Executed application: Macro
[Jun 10 12:41:09] VERBOSE[2032] logger.c: – Executing [s-BUSY@macro-vm:3] VoiceMail(“Zap/2-1”, “355@default|sb”) in new stack
[Jun 10 12:41:09] VERBOSE[2032] logger.c: – <Zap/2-1> Playing ‘/var/spool/asterisk/voicemail/default/355/busy’ (language ‘en’)
[Jun 10 12:41:12] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:14] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2026] logger.c: == Spawn extension (macro-vm, o, 15) exited non-zero on ‘Zap/1-1’ in macro ‘vm’
[Jun 10 12:41:19] VERBOSE[2026] logger.c: == Spawn extension (macro-vm, o, 15) exited non-zero on ‘Zap/1-1’ in macro ‘exten-vm’
[Jun 10 12:41:19] VERBOSE[2026] logger.c: == Spawn extension (macro-vm, o, 15) exited non-zero on ‘Zap/1-1’
[Jun 10 12:41:19] VERBOSE[2026] logger.c: – Hungup ‘Zap/1-1’
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] WARNING[2031] file.c: Failed to write frame
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – <Local/s@from-pstn-14b0,2> Playing ‘dir-intro’ (language ‘en’)
[Jun 10 12:41:19] VERBOSE[2031] logger.c: – Playing ‘dir-nomatch’ (escape_digits=) (sample_offset 0)
Any ideas?
Thanks
Nathan