{"id":9113,"date":"2005-06-19T14:14:22","date_gmt":"2005-06-19T11:14:22","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/2005\/06\/19\/timer-fix\/"},"modified":"2011-09-23T10:09:05","modified_gmt":"2011-09-23T08:09:05","slug":"timer-fix","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2005\/06\/19\/timer-fix\/","title":{"rendered":"Timer fix"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>My <a href=\"\/wordpress\/2005\/06\/08\/new-office-workstation\/\">new office workstation<\/a> was behaving very strangely. Once in a while it would slow down to a crawl and hang doing something. I checked the processlist, but nothing was going wrong. I disabled all the services. I checked my scheduled tasks. Nothing. I left it with <code>top<\/code> running, but it showed that 100% of CPU was idle and more than 500 MBytes of RAM was free. Nothing was eating up resources. Neither was there any significant network traffic. The machine wasn&#8217;t swapping or anything. Non-the-less the load average would go up as high as 4.0 or even 7.0!<\/p>\n<p><!--more--><\/p>\n<p>I investigated a bit more and noticed that applications themselves were responding fast. It&#8217;s only when they needed to work with the disk that slowdown happenned. That suggested that problem was <acronym title=\"Input\/Output\">I\/O<\/acronym> related. I installed <code>sysstat<\/code> and <code>procps<\/code> packages and went through a cycle of troubleshooting with <code>iostat<\/code> and <code>vmstat<\/code> utilities. Nothing came up.<\/p>\n<p>Never ever I had so little data to start off. The problem seemed to be hardware related as I had with both Fedora Linux Core 3 and Fedora Linux Core 4 on this machine.<\/p>\n<p>I went for ideas to <a href=\"http:\/\/www.hazard.maks.net\/\">hazard<\/a>. He suggested to see if X had anything to do with it. Good point! I tried to kill the X server when the next slowdown happened, but it failed &#8211; the machine was too busy already. I than booted in runlevel 3 and worked for a bit without X. The slowdown happened again.<\/p>\n<p>RAM tests didn&#8217;t report any problems. Disk checks went through OK. Unloading and removing of everything and anything out there didn&#8217;t help much. Updates for Fedora Linux Core 4 were installed, but didn&#8217;t help.<\/p>\n<p>I was pretty much out of ideas and though that something was wrong with the motherboard or the CPU and that the hardware needs to be replaced.<\/p>\n<p>I decided to bother Vladimir once again. He just looked at my computer from like 3 meters away and suggested a new direction. He remembered that recently he had to troubleshoot a similar problem and that it was indeed connected with hardware. He suggested to use <code>nolapic<\/code> parameter for the kernel.<\/p>\n<p>I tried it, but it didn&#8217;t help, although the delay until the next slowdown was much bigger. Vladimir than suggested to use <code>nolapic noapic acpi=off<\/code> arguments for the kernel. I tried it and <strong>it worked!<\/strong> For almost two days now I didn&#8217;t have any problems.<\/p>\n<p>I guess this is when Vladimir&#8217;s status officially changs from Linux guru to Linux God! Finding the solution to the problem by just looking at the computer case from 3 meters away. No need to type anything&#8230; Thanks Vlad. I am impressed!<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>My new office workstation was behaving very strangely. Once in a while it would slow down to a crawl and hang doing something. I checked the processlist, but nothing was going wrong. I disabled all the services. I checked my scheduled tasks. Nothing. I left it with top running, but it showed that 100% of &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2005\/06\/19\/timer-fix\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Timer fix<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,6,62],"tags":[1531],"keyring_services":[],"class_list":["post-9113","post","type-post","status-publish","format-standard","hentry","category-general","category-linux","category-technology","tag-operating-systems"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":11416,"url":"https:\/\/mamchenkov.net\/wordpress\/2008\/11\/03\/on-software-testing\/","url_meta":{"origin":9113,"position":0},"title":"On software testing","author":"Leonid Mamchenkov","date":"November 3, 2008","format":false,"excerpt":"The software is checked very carefully in a bottom-up fashion. First, each new line of code is checked, then sections of code or modules with special functions are verified. The scope is increased step by step until the new changes are incorporated into a complete system and checked. This complete\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9257,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/07\/22\/solid-food\/","url_meta":{"origin":9113,"position":1},"title":"Solid food","author":"Leonid Mamchenkov","date":"July 22, 2005","format":false,"excerpt":"Yesterday, when I wrote about Maxim's first food I of course meant his first solid food. It's just that I didn't know that solid food is called solid food in English. The direct translation from Russian is \"solid\" indeed, but when I was writing the post, I wasn't sure that\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9460,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/09\/16\/neurologist-check-up\/","url_meta":{"origin":9113,"position":2},"title":"Neurologist check-up","author":"Leonid Mamchenkov","date":"September 16, 2005","format":false,"excerpt":"The time came to have Maxim checked with the neurologist. The issue is with his facial nerve partially paralized on the right side of his face. It does not affect him in any other way than making his smile a bit more charming, but it is an anomaly that should\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9840,"url":"https:\/\/mamchenkov.net\/wordpress\/2006\/01\/17\/more-voting-at-imdb\/","url_meta":{"origin":9113,"position":3},"title":"More voting at IMDB","author":"Leonid Mamchenkov","date":"January 17, 2006","format":false,"excerpt":"I was wondering around IMDb and noticed that my voting history was rather small. I checked it for a few movies and realized that a lot of stuff that I've seen isn't there. Not that they lost something. It's just I never voted in the first place. Some movies I\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7854,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/08\/30\/ultrasound-examination\/","url_meta":{"origin":9113,"position":4},"title":"Ultrasound examination","author":"Leonid Mamchenkov","date":"August 30, 2004","format":false,"excerpt":"Today, early in the morning, Olga and I went for the ultrasound examination. Olga's internals were checked and everything seems to be OK - liver, kidneys, bowels, and stuff. The baby is doing very well too. In fact it is much bigger than it was supposed to be. And that\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9810,"url":"https:\/\/mamchenkov.net\/wordpress\/2006\/01\/05\/neurologist-say-on-the-mri-scan\/","url_meta":{"origin":9113,"position":5},"title":"Neurologist say on the MRI scan","author":"Leonid Mamchenkov","date":"January 5, 2006","format":false,"excerpt":"We took Maxim to the neurologist (Dr.Rumyana). She checked the results of the MRI scan and confirmed that everything looks OK and there are no pressure points on Maxim's facial nerve or anywhere near. Good news. Chances are, she said, that we won't need any operations. All we have to\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/9113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=9113"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/9113\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=9113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=9113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=9113"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=9113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}