<?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 process taking up all of CPU? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408427#M14596</link>
    <description>We are experiencing the exact same thing (after being told by Red Hat and HP that the 7.11 psp is the panacea to all of our mgmt agent problems).&lt;BR /&gt;  &lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=734349" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=734349&lt;/A&gt;</description>
    <pubDate>Thu, 18 Nov 2004 09:59:00 GMT</pubDate>
    <dc:creator>Mark Satayathum</dc:creator>
    <dc:date>2004-11-18T09:59:00Z</dc:date>
    <item>
      <title>cmascsid process taking up all of CPU?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408417#M14586</link>
      <description>I am running rh2.1 2.4.9-e.27enterprise kernel on a 4 proc xeon dl580g2.  Whenever I start up hpasm on the machine while running idle (.01 load), my load climbs to over 1 and I see cmascisd go to the head of the line in top and use 99.9% of the cpu.  My machine has an uptime of 102 mins, and cmascsid has taken up 96 mins of the cpu!  What gives?&lt;BR /&gt;&lt;BR /&gt;I installed the hpasm/hprsm (version 7.1.1-87) agents via the psp support pack.  Has anyone else seen this problem?  I attached some top, uname, uptime, and rpm output.  Any assistance would be appreciated.  Please don't make me call the 1-800 hp suport number!  haha.</description>
      <pubDate>Tue, 26 Oct 2004 15:11:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408417#M14586</guid>
      <dc:creator>Parker Johnson</dc:creator>
      <dc:date>2004-10-26T15:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: cmascsid process taking up all of CPU?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408418#M14587</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Looks like there is some issue with 7.X&lt;BR /&gt;refer to this thread&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=718797" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=718797&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this has some answers for you&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;Gopi</description>
      <pubDate>Tue, 26 Oct 2004 15:16:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408418#M14587</guid>
      <dc:creator>HGN</dc:creator>
      <dc:date>2004-10-26T15:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: cmascsid process taking up all of CPU?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408419#M14588</link>
      <description>Thanks for the link to the thread but I am not kernel panicing (at least not yet).  Not running the agents is an option, but I have over 30 disks attached to this system that I need to have failure notification for.  Are there any viable alternatives to the agents when administering servers remotely?</description>
      <pubDate>Tue, 26 Oct 2004 15:30:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408419#M14588</guid>
      <dc:creator>Parker Johnson</dc:creator>
      <dc:date>2004-10-26T15:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: cmascsid process taking up all of CPU?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408420#M14589</link>
      <description>&lt;BR /&gt;Do you have:&lt;BR /&gt;&lt;BR /&gt;any amber lights on the SCSI disks?&lt;BR /&gt;&lt;BR /&gt;any mirrors or raidsets that are reconstructing?</description>
      <pubDate>Tue, 26 Oct 2004 16:44:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408420#M14589</guid>
      <dc:creator>Ross Minkov</dc:creator>
      <dc:date>2004-10-26T16:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: cmascsid process taking up all of CPU?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408421#M14590</link>
      <description>another similar thread...&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=726758" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=726758&lt;/A&gt;</description>
      <pubDate>Tue, 26 Oct 2004 16:51:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408421#M14590</guid>
      <dc:creator>Ross Minkov</dc:creator>
      <dc:date>2004-10-26T16:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: cmascsid process taking up all of CPU?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408422#M14591</link>
      <description>nope, no amber lights and no reconstructing raid sets.</description>
      <pubDate>Tue, 26 Oct 2004 17:24:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408422#M14591</guid>
      <dc:creator>Parker Johnson</dc:creator>
      <dc:date>2004-10-26T17:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: cmascsid process taking up all of CPU?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408423#M14592</link>
      <description>Got a response back from HP on my case and they are currently trying to reproduce it in their environment.  The tech I spoke to thought the cmascsid process and my qlogic HBA were not playing nice.  In the meantime, I was told to make the following adjustment to /opt/compaq/cma.conf and restart hpasm service to solve the problem:&lt;BR /&gt;&lt;BR /&gt;exclude          cpqrid cmascsid</description>
      <pubDate>Fri, 29 Oct 2004 18:41:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408423#M14592</guid>
      <dc:creator>Parker Johnson</dc:creator>
      <dc:date>2004-10-29T18:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: cmascsid process taking up all of CPU?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408424#M14593</link>
      <description>I am running RH 3.0 Update 3 with Qlogic HBA cards and I too am seeing cmascsid pegged out at 100% CPU usage.&lt;BR /&gt;&lt;BR /&gt;Was wondering if you every got a better fix than taking cmascsid out of the hpasm start  up?&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Mon, 08 Nov 2004 13:57:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408424#M14593</guid>
      <dc:creator>TJ_16</dc:creator>
      <dc:date>2004-11-08T13:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: cmascsid process taking up all of CPU?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408425#M14594</link>
      <description>nope, I never received a better explanation.  The bottom line for me is that HP doesn't have any managements ready for primtetime on linux.  I am gonna have to resort to writing hokey scripts that work with command line acu utility to pick up on bad drives.  Too bad i'll never know about other failed components.</description>
      <pubDate>Mon, 08 Nov 2004 18:36:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408425#M14594</guid>
      <dc:creator>Parker Johnson</dc:creator>
      <dc:date>2004-11-08T18:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: cmascsid process taking up all of CPU?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408426#M14595</link>
      <description>I am going to open up a ticket about this and if I learn anything will post here...&lt;BR /&gt;&lt;BR /&gt;I find HP's Management Software to be severely lacking and quite a pain to run.</description>
      <pubDate>Wed, 10 Nov 2004 16:55:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408426#M14595</guid>
      <dc:creator>TJ_16</dc:creator>
      <dc:date>2004-11-10T16:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: cmascsid process taking up all of CPU?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408427#M14596</link>
      <description>We are experiencing the exact same thing (after being told by Red Hat and HP that the 7.11 psp is the panacea to all of our mgmt agent problems).&lt;BR /&gt;  &lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=734349" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=734349&lt;/A&gt;</description>
      <pubDate>Thu, 18 Nov 2004 09:59:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408427#M14596</guid>
      <dc:creator>Mark Satayathum</dc:creator>
      <dc:date>2004-11-18T09:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: cmascsid process taking up all of CPU?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408428#M14597</link>
      <description>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:07:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408428#M14597</guid>
      <dc:creator>Mike Jagdis</dc:creator>
      <dc:date>2004-12-05T17:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: cmascsid process taking up all of CPU?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408429#M14598</link>
      <description>Mike,&lt;BR /&gt;&lt;BR /&gt;I saw this problem and slowed the loop until I could return to it..(cheet yes!) just ran into this thread.&lt;BR /&gt;&lt;BR /&gt;I understand, but not where to insert this dummy close.&lt;BR /&gt;&lt;BR /&gt;SuSE8/UL1.0-SP3&lt;BR /&gt;&lt;BR /&gt;-Stephen</description>
      <pubDate>Thu, 23 Dec 2004 11:49:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cmascsid-process-taking-up-all-of-cpu/m-p/3408429#M14598</guid>
      <dc:creator>Stephen_126</dc:creator>
      <dc:date>2004-12-23T11:49:08Z</dc:date>
    </item>
  </channel>
</rss>

