Server Unresponsive every 1:30AM

All installation and configuration problems and questions

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

Server Unresponsive every 1:30AM

Postby Kristyan » Fri Oct 14, 2016 3:07 pm

Hello everyone and as a new member sorry for the errors on this thread.

What should i do here after issuing the command crontab e:
My problem is my server gets unresponsive every 1:30 AM, last week i remember twice it happens in different time but i remember its around 9AM. Pls seed help!!!

UPON ISSUING COMMAND
crontab -e
UW PICO 5.07 File: /tmp/crontab.t7nIF7 Modified

### remove old recordings more than 7 days old, and delete originals after 1 day
#24 0 * * * /usr/bin/find /var/spool/asterisk/monitorDONE -maxdepth 2 -type f -mtime +7 -print | xargs rm -f
24 1 * * * /usr/bin/find /var/spool/asterisk/monitorDONE/ORIG -maxdepth 2 -type f -mtime +1 -print | xargs rm -f

### kill Hangup script for Asterisk updaters
* * * * * /usr/share/astguiclient/AST_manager_kill_hung_congested.pl

### updater for voicemail
* * * * * /usr/share/astguiclient/AST_vm_update.pl

### updater for conference validator
* * * * * /usr/share/astguiclient/AST_conf_update.pl

### reset several temporary-info tables in the database
2 1 * * * /usr/share/astguiclient/AST_reset_mysql_vars.pl

### Reboot nightly to manage asterisk issues and memory leaks - uncomment if issues arise
#30 6 * * * /sbin/reboot

### remove text to speech file more than 4 days old
#20 0 * * * /usr/bin/find /var/lib/asterisk/sounds/tts/ -maxdepth 2 -type f -mtime +4 -print | xargs rm -f

## uncomment below if you want to log agent phone_ip
#*/5 * * * * /usr/share/astguiclient/AST_phone_update.pl --agent-lookup

Version:
VERSION: 2.12-552a
BUILD: 160429-0835
© 2016 ViciDial Group

Vicibox Mode
Vicibox Express
Kristyan
 
Posts: 20
Joined: Mon Apr 18, 2016 3:07 pm

Re: Server Unresponsive every 1:30AM

Postby williamconley » Tue Oct 25, 2016 12:33 am

1) Please don't post the contents of Stock Vicidial Files. It's a bit of a waste.

2) Learn the language of the "crontab" system. There are lots of examples online, here's one: http://www.thegeekstuff.com/2009/06/15- ... -examples/

3) There are scripts that need to run overnight to clean the system for the next day. When do you NOT use the system? Modify the scripts that have a "1" in the second column (which is for "hour", so 1AM) to have an hour that you do not use the system.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 89 guests

cron