«Bind9 unable to convert errno to isc result: 28: No space left on device» и «JavaScript на новый лад»: разница между страницами

Материал из support.qbpro.ru
(Различия между страницами)
imported>Vix
(Новая страница: «==Первое решение проблемы:== if you have enough free Mb on disk and stil get this error message, it may mean that there is no enough free f…»)
 
imported>Supportadmin
 
Строка 1: Строка 1:
==Первое решение проблемы:==
За последние пару лет, а сейчас январь 2018, в JS появилось столько всего нового и это в стольких местах описано. Пора собрать в кучу весь поток сознания.
==Объявления переменных let и const ==
[https://learn.javascript.ru/let-const Теория]
[https://jsperf.com/let-vs-var-performance/93 Тесты]


if you have enough free Mb on disk and stil get this error message,
Вывод: никакого существенного изменения производительности не несут. Вопрос в обратной совместимости кода.
it may mean that there is no enough free file descriptors,
you may check it by this command:
 
[root@fooks ~]# df -ih
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/hda1 3.7M 329K 3.4M 9% /
/dev/shm 127K 1 127K 1% /dev/shm
/dev/hda2 18M 52K 18M 1% /home
/dev/hda5 7.0M 15K 7.0M 1% /share
 
in 98% - just delete unused files or move them to another partition
 
* [http://www.webhostingtalk.com/showthread.php?t=606486 взято тут...]
 
==Второе решение проблемы:==
please check the following parameters at your system of the values are set like follows:
# cat /proc/sys/kernel/sem
1250    256000  100    8192
 
# cat /proc/sys/kernel/msgmni
1024
 
according to the kernel documentation:
/proc/sys/kernel/sem - The maximum number and size of semaphore sets that can be allocated.
/proc/sys/kernel/msgmni - Sets maximum number of message queues
Anyway, your values are far to small. On sles9 the suse-sapinit rpm package should adjust these values by default. I assume that you did not install this package. Please do so, or adjust the values to the ones of my last reply.
 
"i have 30Gb on each server.
 
its 64bit
 
we have changes the parameters like Hannes said, and we are now able to keep both instances on all servers alive.
to make the changes permanent ill have to put this on /etc/sysctl.conf, and the entries would be something like :
kernel.sem="1250 256000 100 8192"
kernel.msgmni=1024
"
 
yes, your sysctl.conf values are correct. After reboot these values are then set by default.

Версия от 13:18, 5 января 2018

За последние пару лет, а сейчас январь 2018, в JS появилось столько всего нового и это в стольких местах описано. Пора собрать в кучу весь поток сознания.

Объявления переменных let и const

Теория Тесты

Вывод: никакого существенного изменения производительности не несут. Вопрос в обратной совместимости кода.