Nove funkcije #19849
Zatvorenfreeswitch atom-1 problem /opt/freeswitch/db-a
0%
Izmjenjeno od Ernad Husremović prije oko 16 godina
http://wiki.freeswitch.org/wiki/Performance_testing_and_configurations
On a normal configuration, core.db is written to disk almost every second, generating hundreds of block-writes per second. To avoid this problem, turn /opt/freeswitch/db into an in-memory filesystem, for example by adding:
tmpfs /opt/freeswitch/db tmpfs defaults 0 0
to the end of /etc/fstab , then by issuing
mount /opt/freeswitch/db
/etc/init.d/freeswitch restart
(or the equivalent commands for your OS).
root@atom-1:/opt/freeswitch/db# ls -l
total 312 -rw-r--r-- 1 root root 14336 2010-03-05 12:19 call_limit.db -rw-r--r-- 1 root root 94208 2010-03-05 12:31 core.db -rw-r--r-- 1 root root 2048 2010-03-05 12:19 fifo.db -rw-r--r-- 1 root root 54272 2010-03-05 12:31 sofia_reg_external.db -rw-r--r-- 1 root root 54272 2010-03-05 12:19 sofia_reg_internal.db -rw-r--r-- 1 root root 54272 2010-03-05 12:19 sofia_reg_internal-ipv6.db -rw-r--r-- 1 root root 13312 2010-03-05 12:19 voicemail_default.db
Izmjenjeno od Ernad Husremović prije oko 16 godina
root@atom-1:/opt/freeswitch# mount /opt/freeswitch/db
mount: mount point /opt/freeswitch/db does not exist
root@atom-1:/opt/freeswitch# mkdir db
root@atom-1:/opt/freeswitch# mount /opt/freeswitch/db
Izmjenjeno od Ernad Husremović prije oko 16 godina
root@atom-1:/opt/freeswitch/db# ls -l
total 304 -rw-r--r-- 1 root root 14336 2010-03-05 12:33 call_limit.db -rw-r--r-- 1 root root 94208 2010-03-05 12:33 core.db -rw-r--r-- 1 root root 2048 2010-03-05 12:33 fifo.db -rw-r--r-- 1 root root 54272 2010-03-05 12:33 sofia_reg_external.db -rw-r--r-- 1 root root 54272 2010-03-05 12:33 sofia_reg_internal.db -rw-r--r-- 1 root root 54272 2010-03-05 12:33 sofia_reg_internal-ipv6.db -rw-r--r-- 1 root root 13312 2010-03-05 12:33 voicemail_default.db
da li ove baze rastu ? da ne napunim ram ovako
Izmjenjeno od Ernad Husremović prije oko 16 godina
root@atom-1:/opt/freeswitch/db# df -h
Filesystem Size Used Avail Use% Mounted on varrun 502M 40K 502M 1% /var/run varlock 502M 0 502M 0% /var/lock udev 502M 24K 502M 1% /dev devshm 502M 0 502M 0% /dev/shm tmpfs 3.2G 559M 2.5G 19% /tmp tmpfs 502M 304K 502M 1% /opt/freeswitch/db
Izmjenjeno od Ernad Husremović prije oko 16 godina
- Odgovorna osoba postavljeno na Jasmin Beganović
jasko restartuj atom-1, naravno prije toga ga stavi u servisni režim u zenoss-u
Izmjenjeno od Jasmin Beganović prije skoro 16 godina
- Status promijenjeno iz Dodijeljeno u Zatvoreno