tmpfs full
Posted: Mon Mar 09, 2015 11:06 am
The tmpfs is getting full and we are unable to keep recording some calls.
I have a couple of days with the issue, searching in the forum and google, so far nothing,
Also I think that the problem is that the deleted files are not being removed from the system based on these posts: http://askubuntu.com/questions/196509/f ... -adding-up and
http://serverfault.com/questions/445445 ... 449#445449
because when i run this command: lsof | grep deleted ()
/var/spool/asterisk/monitor/9732467365_301_wvalentin_20150309-110957-in.wav (deleted)
asterisk 2575 32686 root 2302w REG 0,31 0 531509 /var/spool/asterisk/monitor/filenamefortoday_20150309-110957-out.wav (deleted)
I see a lot of deleted files.
This is a new vicibox server installed 10 days ago:
VERSION: 2.10-475a
BUILD: 150218-0924
© 2015 ViciDial Group
Express Instalation.
Connected to Asterisk 1.8.32.1-vici currently running
These are the specifications of my CPU It has 4 in total.
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E5506 @ 2.13GHz
This is a print of the command
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 271G 16G 254G 6% /
devtmpfs 3.9G 40K 3.9G 1% /dev
tmpfs 4.0G 0 4.0G 0% /dev/shm
tmpfs 4.0G 9.4M 3.9G 1% /run
tmpfs 4.0G 0 4.0G 0% /sys/fs/cgroup
tmpfs 4.0G 9.4M 3.9G 1% /var/run
tmpfs 10G 7.2G 2.9G 72% /var/spool/asterisk/monitor
tmpfs 4.0G 9.4M 3.9G 1% /var/lock
crontab -e (recording part)
### recording mixing/compressing/ftping scripts
#0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl --MIX
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 /usr/share/astguiclient/AST_CRON_audio_1_move_VDonly.pl
1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --MP3
#1 21,22,23,0,1,2,3,4,5,6 * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --MP3
#2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --MP3
#0 1 * /usr/share/astguiclient/AST_CRON_audio_4_ftp2.pl --ftp-server=server.ip --ftp-login=user --ftp-pass=pass --ftp-directory=/ --ftp-persistent --ftp-validate --transfer-limit=100000 --list-limit=100000
cat /etc/fstab
/dev/disk/by-id/scsi-3600508b1001cc985f17ff56c61df4920-part1 swap swap defaults 0 0
/dev/disk/by-id/scsi-3600508b1001cc985f17ff56c61df4920-part2 / ext4 noatime,acl,user_xattr 1 1
tmpfs /var/spool/asterisk/monitor tmpfs rw 0 0
So far I found that the recordings keeps growing even if the call is hangup already.
Similar to this:
http://www.eflo.net/VICIDIALforum/viewtopic.php?p=8616
and this
http://www.eflo.net/VICIDIALforum/viewtopic.php?p=14037
http://www.eflo.net/VICIDIALforum/viewtopic.php?t=5932
Best Regards,
Omar
I have a couple of days with the issue, searching in the forum and google, so far nothing,
Also I think that the problem is that the deleted files are not being removed from the system based on these posts: http://askubuntu.com/questions/196509/f ... -adding-up and
http://serverfault.com/questions/445445 ... 449#445449
because when i run this command: lsof | grep deleted ()
/var/spool/asterisk/monitor/9732467365_301_wvalentin_20150309-110957-in.wav (deleted)
asterisk 2575 32686 root 2302w REG 0,31 0 531509 /var/spool/asterisk/monitor/filenamefortoday_20150309-110957-out.wav (deleted)
I see a lot of deleted files.
This is a new vicibox server installed 10 days ago:
VERSION: 2.10-475a
BUILD: 150218-0924
© 2015 ViciDial Group
Express Instalation.
Connected to Asterisk 1.8.32.1-vici currently running
These are the specifications of my CPU It has 4 in total.
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E5506 @ 2.13GHz
This is a print of the command
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 271G 16G 254G 6% /
devtmpfs 3.9G 40K 3.9G 1% /dev
tmpfs 4.0G 0 4.0G 0% /dev/shm
tmpfs 4.0G 9.4M 3.9G 1% /run
tmpfs 4.0G 0 4.0G 0% /sys/fs/cgroup
tmpfs 4.0G 9.4M 3.9G 1% /var/run
tmpfs 10G 7.2G 2.9G 72% /var/spool/asterisk/monitor
tmpfs 4.0G 9.4M 3.9G 1% /var/lock
crontab -e (recording part)
### recording mixing/compressing/ftping scripts
#0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl --MIX
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 /usr/share/astguiclient/AST_CRON_audio_1_move_VDonly.pl
1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --MP3
#1 21,22,23,0,1,2,3,4,5,6 * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --MP3
#2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --MP3
#0 1 * /usr/share/astguiclient/AST_CRON_audio_4_ftp2.pl --ftp-server=server.ip --ftp-login=user --ftp-pass=pass --ftp-directory=/ --ftp-persistent --ftp-validate --transfer-limit=100000 --list-limit=100000
cat /etc/fstab
/dev/disk/by-id/scsi-3600508b1001cc985f17ff56c61df4920-part1 swap swap defaults 0 0
/dev/disk/by-id/scsi-3600508b1001cc985f17ff56c61df4920-part2 / ext4 noatime,acl,user_xattr 1 1
tmpfs /var/spool/asterisk/monitor tmpfs rw 0 0
So far I found that the recordings keeps growing even if the call is hangup already.
Similar to this:
http://www.eflo.net/VICIDIALforum/viewtopic.php?p=8616
and this
http://www.eflo.net/VICIDIALforum/viewtopic.php?p=14037
http://www.eflo.net/VICIDIALforum/viewtopic.php?t=5932
Best Regards,
Omar