troubleshooting user_beancounter [message #38437] |
Sat, 19 December 2009 18:40  |
paix
Messages: 8 Registered: January 2009 Location: ua
|
Junior Member |
|
|
Иногда срабатывают определенные лимиты, например:
tcpsndbuf 374480 14096512 14095674 20124986 27
Причем после рестарта VE из HN, все равно failcnt отличен от нуля.
Хотя при рестарте VE счетчик должен обнуляться.
Есть какие-нибудь средства, чтобы определить каким процессом было вызвано превышение лимита?
все процессы в VE работают нормально, в логах ругани не наблюдается..
|
|
|
Re: troubleshooting user_beancounter [message #38439 is a reply to message #38437] |
Sat, 19 December 2009 22:02   |
|
http://wiki.openvz.org/UBC_failcnt_reset
Алсо, http://wiki.openvz.org/tcpsndbuf
Quote: | Setting high values for tcpsndbuf parameter may, but doesn't necessarily, increase performance of network communications. Note that, unlike most other parameters, hitting tcpsndbuf limits and failed socket buffer allocations do not have strong negative effect on the applications, but just reduce performance of network communications.
|
Краткий перевод -- фейлы в tcpsndbuf ни к чему страшному не приводят, всё работает, только сеть может быть медленнее. Если увеличить лимиты, сеть, возможно, будет работать побыстрее.
Kir Kolyshkin
|
|
|
Re: troubleshooting user_beancounter [message #38440 is a reply to message #38439] |
Sat, 19 December 2009 23:25   |
paix
Messages: 8 Registered: January 2009 Location: ua
|
Junior Member |
|
|
Спасибо,
просто у меня скрипты, которые мониторят каунтеры,
но, судя по рекомендации,
Quote: | Therefore, the proper usage of failcnt is not to check whether it is zero or not, but to check whether it is increased since the previous readout. In other words, check the difference, not the absolute value. It is easy to write a simple script to do just that.
|
таки придется переписать скрипты 
Тем не менее, вопрос остается в силе, можно ли увидеть, какой процесс привел к срабатыванию failcnt а также почему
рестарт VE не обнулил failcnt .. (хотя, вполне возможно, что лимит сработал при старте ve)
|
|
|
|
|