<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: cmascsid uses 100% cpu after restart hpasm in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-uses-100-cpu-after-restart-hpasm/m-p/3407849#M14554</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;We have several servers with RedHat 2.1 AS and AS 3.0 running with HPASM, this may be something with the ASM package, there might be a new revision which you can try and upgrade and if it still does not fix then you need to ask HP.&lt;BR /&gt;&lt;BR /&gt;We have not see any issues but I know that the package repalce the SNMP rpm which comes with the RedHat OS.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;HGN</description>
    <pubDate>Tue, 26 Oct 2004 07:41:18 GMT</pubDate>
    <dc:creator>HGN</dc:creator>
    <dc:date>2004-10-26T07:41:18Z</dc:date>
    <item>
      <title>cmascsid uses 100% cpu after restart hpasm</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-uses-100-cpu-after-restart-hpasm/m-p/3407848#M14553</link>
      <description>We have RedHat 2.1 AS Update5 installed on our server (DL380/G3). We've updated the psp from 7.10 to 7.11 and that went fine. The problem is when the server is booted and we restart the hpasm with 'service hpasm stop;service hpasm start'. After that the daemon cmascsid takes 100% cpu. Does anybody have a solution for this problem?</description>
      <pubDate>Tue, 26 Oct 2004 05:10:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cmascsid-uses-100-cpu-after-restart-hpasm/m-p/3407848#M14553</guid>
      <dc:creator>Coenen_1</dc:creator>
      <dc:date>2004-10-26T05:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: cmascsid uses 100% cpu after restart hpasm</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-uses-100-cpu-after-restart-hpasm/m-p/3407849#M14554</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;We have several servers with RedHat 2.1 AS and AS 3.0 running with HPASM, this may be something with the ASM package, there might be a new revision which you can try and upgrade and if it still does not fix then you need to ask HP.&lt;BR /&gt;&lt;BR /&gt;We have not see any issues but I know that the package repalce the SNMP rpm which comes with the RedHat OS.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;HGN</description>
      <pubDate>Tue, 26 Oct 2004 07:41:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cmascsid-uses-100-cpu-after-restart-hpasm/m-p/3407849#M14554</guid>
      <dc:creator>HGN</dc:creator>
      <dc:date>2004-10-26T07:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: cmascsid uses 100% cpu after restart hpasm</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-uses-100-cpu-after-restart-hpasm/m-p/3407850#M14555</link>
      <description>To my knowlegde is this the latest version. Our onsite HP support says that we have to upgrade to the latest firmware version before they put in a call so maybe we have to do this first.</description>
      <pubDate>Tue, 26 Oct 2004 07:56:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cmascsid-uses-100-cpu-after-restart-hpasm/m-p/3407850#M14555</guid>
      <dc:creator>Coenen_1</dc:creator>
      <dc:date>2004-10-26T07:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: cmascsid uses 100% cpu after restart hpasm</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-uses-100-cpu-after-restart-hpasm/m-p/3407851#M14556</link>
      <description>similar thread...&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=727277" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=727277&lt;/A&gt;</description>
      <pubDate>Tue, 26 Oct 2004 16:52:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cmascsid-uses-100-cpu-after-restart-hpasm/m-p/3407851#M14556</guid>
      <dc:creator>Ross Minkov</dc:creator>
      <dc:date>2004-10-26T16:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: cmascsid uses 100% cpu after restart hpasm</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-uses-100-cpu-after-restart-hpasm/m-p/3407852#M14557</link>
      <description>Hmm...seems like we have the same problem.  Interesting we posted within a few hours.  I opened a case with HP but based on my previous experience with their support team, I doubt much will come of it.  If I get an answer, I'll keep you posted.</description>
      <pubDate>Tue, 26 Oct 2004 17:24:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cmascsid-uses-100-cpu-after-restart-hpasm/m-p/3407852#M14557</guid>
      <dc:creator>Parker Johnson</dc:creator>
      <dc:date>2004-10-26T17:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: cmascsid uses 100% cpu after restart hpasm</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-uses-100-cpu-after-restart-hpasm/m-p/3407853#M14558</link>
      <description>I think this is the 5th thread about the same problem so I'll paste the same reply:&lt;BR /&gt;&lt;BR /&gt;-----------------------------------------------&lt;BR /&gt;The explanation is somewhat involved...&lt;BR /&gt;&lt;BR /&gt;If you trace cma*d you'll find that it doesn't do anything but open the device, ioctl, close. Admittedly rather more times than should be necessary but that's just incidental bad design.&lt;BR /&gt;&lt;BR /&gt;You'll find the delay - and system time consumption - seems to happen on the close. From here you need a fairly good working knowledge of the Linux kernel...&lt;BR /&gt;&lt;BR /&gt;Ok? still with me then?&lt;BR /&gt;&lt;BR /&gt;Run oprofile for a while and you'll find the cpu time is being consumed by invalidate_bdev. Which is interesting :-).&lt;BR /&gt;&lt;BR /&gt;Invalidate_bdev is called from kill_bdev. Kill_bdev is called from the block device release code. Release is what happens on last close. Now the monitoring daemon is opening the unpartitioned disk device which it is pretty certain nothing else has open. (Off hand I'm not sure if even having an fs on the device counts as it being open. There are subtle differences and I *think* I'm right in saying that block device access and fs access is considered different at this level. Don't quote me or blame me!)&lt;BR /&gt;&lt;BR /&gt;So, each close triggers invalidate_bdev. Why is this so bad? Well, the idea is that when the last close happens on a device you need to flush any cached data because, with much PC HW, you can't be sure when the media gets changed. Invalidate_bdev isn't *meant* to be called often. It works by scanning through the entire list of cached data for block devices to find and drop data related to the device being closed. So it sucks system time and the amount is proportional to the amount of cached (from any device) data you have.&lt;BR /&gt;&lt;BR /&gt;WORKAROUND:&lt;BR /&gt;All you need to do is to make sure that each time the cma*d daemon closes the device it isn't the *last* close - i.e. some other process has the device open. The other process doesn't even need to *do* anything. Try something along the lines of:&lt;BR /&gt;&lt;BR /&gt;sh -c 'kill -STOP $$' &amp;lt; /dev/cciss/c0d0 &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&lt;BR /&gt;&lt;BR /&gt;Hope that's all clear! (As mud... :-) )&lt;BR /&gt;&lt;BR /&gt;(HP: As well as blind debugging I do Linux &amp;amp; OSS consultancy. I happen to know the answer to this one as it came up at a major investment bank...)</description>
      <pubDate>Sun, 05 Dec 2004 17:25:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cmascsid-uses-100-cpu-after-restart-hpasm/m-p/3407853#M14558</guid>
      <dc:creator>Mike Jagdis</dc:creator>
      <dc:date>2004-12-05T17:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: cmascsid uses 100% cpu after restart hpasm</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-uses-100-cpu-after-restart-hpasm/m-p/3407854#M14559</link>
      <description>&lt;BR /&gt;I used Mike's suggested workaround on our DL380G3 and it seems to work fine. cmaidad was periodically (every 15 seconds I guess) using 10-15% CPU time and now my load average when idle is all zeros as it should be.&lt;BR /&gt;&lt;BR /&gt;I have two controllers in my server, the 5i and a 6400, so I had to run two scripts, one for /dev/cciss/c0d0 and /dev/cciss/c1d0.&lt;BR /&gt;&lt;BR /&gt;Thanks Mike&lt;BR /&gt;&lt;BR /&gt;Colin</description>
      <pubDate>Tue, 25 Jan 2005 09:36:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cmascsid-uses-100-cpu-after-restart-hpasm/m-p/3407854#M14559</guid>
      <dc:creator>Colin Stuckless</dc:creator>
      <dc:date>2005-01-25T09:36:31Z</dc:date>
    </item>
  </channel>
</rss>

