{"id":32682,"date":"2019-10-31T21:48:22","date_gmt":"2019-10-31T18:48:22","guid":{"rendered":"https:\/\/prohoster.info\/blog\/ishhem-problemu-ne-v-tom-meste\/"},"modified":"2019-10-31T21:48:22","modified_gmt":"2019-10-31T18:48:22","slug":"ishhem-problemu-ne-v-tom-meste","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/ishhem-problemu-ne-v-tom-meste","title":{"rendered":"We're looking for the problem in the wrong place","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>This is a short story from real practice, where a small problem, well-disguised by redundancy, turns into a headache.<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h2>A brief disposition:<\/h2>\n<p>\nA small branch office, equipped with its own PBX (Asterisk + FreePBX) running on desktop hardware, and a local terminal server with 1C, a file storage, and a virtual domain RO controller. The internet is distributed via Mikrotik. It's a small branch, and this is enough for them.<br \/>\nIt all started with monitoring (due to lack of time and laziness, not everything gets monitored) that reported overheating of one <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/en\/server\/dts-los-angeles\/\"   title=\"server\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"3495\">server<\/a> (with PBX) at the branch. While the locals were solving the issue, the old man hung up and damaged the MySQL database a bit.<\/p>\n<h3>Much was ominous, but not this...<\/h3>\n<p>\nNo worries, the database was fixed, everything should work. But the locals complain that calls are getting dropped. Alright \u2014 issues can happen in FreePBX, I take a backup, restore it, and everything is fine.<br \/>\nBut the trouble remains; locals still complain that calls aren't going through properly. They say calls seem to go through normally, but when they call out or call each other, there is a delay of several seconds. I start looking through the large and puzzling logs of Asterisk and FreePBX, but cannot identify the problem. I remember there was an issue with STUN and ICE that caused a similar delay. I disable everything entirely, and the result is zero.<\/p>\n<h3>Despair \u2014 a path to making bad decisions:<\/h3>\n<p>\nI fall into despair, hours of fiddling with the PBX yield no good results; it's already deep into the night and the problem is unresolved.<br \/>\nI leave the problem for the morning, hoping for a fresh perspective. The next morning, another unfortunate decision is made: since the system failed (even though the hang-up couldn't have been that destructive), I try to fix the system by reinstalling all packages. The result is just slightly better; the delay has decreased (not significantly, but it\u2019s already a success).<br \/>\nI make yet another bad decision: if partial repairs of the OS (and database restoration from backup) had a little success, but the root of the problem is still unclear, and I have already spent a lot of time searching for the cause, I decide to act radically: we wipe the OS and install everything anew (thankfully, the process automation makes it feasible in a reasonable time). I roll back the FreePBX configuration from a backup. Another failure. The result is zero!<\/p>\n<h3>Despair \u2014 reason clouds, and decisions get even worse.<\/h3>\n<p>\nI'm sinking into despair. Really bad thoughts start to come up, and I think: maybe the config in the backup is corrupted (I had this happen after a series of updates where things stopped working, and I could never find the cause). There's nothing left to do: I have to reinstall everything from scratch by hand. What a shame! The result is strictly zero, and I've wasted a lot of time!<\/p>\n<h3>Acceptance is the path to awareness<\/h3>\n<p>\nIn desperate attempts to understand what\u2019s happening, I start closely examining the logs. I notice a pattern. The call to Extension happens exactly at 5 seconds, while for a group of calls with 3 Extensions, it\u2019s 15 seconds! I begin to Google about call delays, specifically indicating my exact delay. I stumble upon an answer that I have already found; people say the problem lies in DNS, but I know for sure there\u2019s no issue, all addresses resolve correctly!<\/p>\n<h3>The obvious is not the probable<\/h3>\n<p>\nThere's nothing to do; I grab nslookup and bingo (I should have done this right away)! The primary DNS is down (a virtual machine with the controller), and I didn't even notice! If there had been just one DNS, there would have been an error right away \ud83d\ude09<\/p>\n<h3>Summary<\/h3>\n<p>\nAn elementary problem that monitoring (which should be set up for all nodes) could have detected, masked by DNS redundancy, led to a loss of almost two working days trying to solve a silly situation. Laziness creates a headache; setting up monitoring takes a minute\u2014looking for a problem where there isn\u2019t one takes two days.<\/p>\n<p class=\"for_users_only_msg\">Only registered users can participate in the survey. <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/auth\/login\/\">Please log in<\/a><\/noindex>, please.<\/p>\n<h2 class=\"default-block__polling-title\">Has anything similar ever happened to you?<\/h2>\n<ul class=\"content-list content-list_polling\">\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    Yes, very rarely<\/p>\n<\/li>\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    Yes, rarely<\/p>\n<\/li>\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    Yes, often<\/p>\n<\/li>\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    Yes, very often<\/p>\n<\/li>\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    No, with anyone but me!<\/p>\n<\/li>\n<li class=\"content-list__item content-list__item_polling\">\n<p>                    No, I\u2019m infallible!<\/p>\n<\/li>\n<\/ul>\n<p>    2 users voted. 1 user abstained.<br \/>\n<br \/>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/450044\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u042d\u0442\u043e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u0438\u0437 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438, \u043a\u043e\u0433\u0434\u0430 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430, \u0445\u043e\u0440\u043e\u0448\u043e \u0437\u0430\u043c\u0430\u0441\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u044c\u044e, \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u0433\u043e\u043b\u043e\u0432\u043d\u0443\u044e \u0431\u043e\u043b\u044c. \u041d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0434\u0438\u0441\u043f\u043e\u0437\u0438\u0446\u0438\u044f: \u041c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439 \u0444\u0438\u043b\u0438\u0430\u043b\u044c\u0447\u0438\u043a, \u0432 \u043d\u0435\u043c \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u044f \u0410\u0422\u0421 (asterisk + FreePBX) \u043d\u0430 \u0431\u0430\u0437\u0435 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u043e\u0433\u043e \u0436\u0435\u043b\u0435\u0437\u0430 \u0438 \u0442\u0430\u043a\u043e\u0439-\u0436\u0435 \u043c\u0435\u0441\u0442\u043d\u044b\u0439 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0430\u0447\u043e\u043a \u0441 1\u0421, \u0444\u0430\u0439\u043b\u043e-\u043f\u043e\u043c\u043e\u0439\u043a\u043e\u0439 \u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c RO \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u043c \u0434\u043e\u043c\u0435\u043d\u0430. \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0440\u0430\u0437\u0434\u0430\u0435\u0442 Mikrotik. \u0424\u0438\u043b\u0438\u0430\u043b\u044c\u0447\u0438\u043a \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439, \u0438\u043c \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e. \u0412\u0441\u0435 \u043d\u0430\u0447\u0430\u043b\u043e\u0441\u044c [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-32682","post","type-post","status-publish","format-standard","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u042d\u0442\u043e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u0438\u0437 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438, \u043a\u043e\u0433\u0434\u0430 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430, \u0445\u043e\u0440\u043e\u0448\u043e \u0437\u0430\u043c\u0430\u0441\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u044c\u044e, \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u0433\u043e\u043b\u043e\u0432\u043d\u0443\u044e \u0431\u043e\u043b\u044c. .\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/ishhem-problemu-ne-v-tom-meste\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0418\u0449\u0435\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u043d\u0435 \u0432 \u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u042d\u0442\u043e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u0438\u0437 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438, \u043a\u043e\u0433\u0434\u0430 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430, \u0445\u043e\u0440\u043e\u0448\u043e \u0437\u0430\u043c\u0430\u0441\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u044c\u044e, \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u0433\u043e\u043b\u043e\u0432\u043d\u0443\u044e \u0431\u043e\u043b\u044c. .\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/ishhem-problemu-ne-v-tom-meste\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T18:48:22+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T18:48:22+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47We are looking for the problem in the wrong place | ProHoster","description":"This is a short story from real life, where a minor issue, well-masked by redundancy, turns into a headache.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/ishhem-problemu-ne-v-tom-meste","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0418\u0449\u0435\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u043d\u0435 \u0432 \u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435 | ProHoster","og:description":"\u042d\u0442\u043e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u0438\u0437 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438, \u043a\u043e\u0433\u0434\u0430 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430, \u0445\u043e\u0440\u043e\u0448\u043e \u0437\u0430\u043c\u0430\u0441\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u044c\u044e, \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u0433\u043e\u043b\u043e\u0432\u043d\u0443\u044e \u0431\u043e\u043b\u044c. .","og:url":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/ishhem-problemu-ne-v-tom-meste","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T18:48:22+00:00","article:modified_time":"2019-10-31T18:48:22+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"32682","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-02-22 15:35:43","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 02:54:26","updated":"2026-02-22 15:35:43","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/32682","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=32682"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/32682\/revisions"}],"predecessor-version":[{"id":162021,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/32682\/revisions\/162021"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=32682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=32682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=32682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}