- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: cmascsid process taking up all of CPU?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 08:11 AM
10-26-2004 08:11 AM
cmascsid process taking up all of CPU?
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 08:16 AM
10-26-2004 08:16 AM
Re: cmascsid process taking up all of CPU?
Looks like there is some issue with 7.X
refer to this thread
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=718797
Hope this has some answers for you
Rgds
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 08:30 AM
10-26-2004 08:30 AM
Re: cmascsid process taking up all of CPU?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 09:44 AM
10-26-2004 09:44 AM
Re: cmascsid process taking up all of CPU?
Do you have:
any amber lights on the SCSI disks?
any mirrors or raidsets that are reconstructing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 09:51 AM
10-26-2004 09:51 AM
Re: cmascsid process taking up all of CPU?
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=726758
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 10:24 AM
10-26-2004 10:24 AM
Re: cmascsid process taking up all of CPU?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2004 11:41 AM
10-29-2004 11:41 AM
Re: cmascsid process taking up all of CPU?
exclude cpqrid cmascsid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 05:57 AM
11-08-2004 05:57 AM
Re: cmascsid process taking up all of CPU?
Was wondering if you every got a better fix than taking cmascsid out of the hpasm start up?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2004 10:36 AM
11-08-2004 10:36 AM
Re: cmascsid process taking up all of CPU?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2004 08:55 AM
11-10-2004 08:55 AM
Re: cmascsid process taking up all of CPU?
I find HP's Management Software to be severely lacking and quite a pain to run.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2004 01:59 AM
11-18-2004 01:59 AM
Re: cmascsid process taking up all of CPU?
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=734349
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2004 09:07 AM
12-05-2004 09:07 AM
Re: cmascsid process taking up all of CPU?
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.
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...
Ok? still with me then?
Run oprofile for a while and you'll find the cpu time is being consumed by invalidate_bdev. Which is interesting :-).
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!)
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.
WORKAROUND:
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:
sh -c 'kill -STOP $$' < /dev/cciss/c0d0 > /dev/null 2>&1 &
Hope that's all clear! (As mud... :-) )
(HP: As well as blind debugging I do Linux & OSS consultancy. I happen to know the answer to this one as it came up at a major investment bank...)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2004 03:49 AM
12-23-2004 03:49 AM
Re: cmascsid process taking up all of CPU?
I saw this problem and slowed the loop until I could return to it..(cheet yes!) just ran into this thread.
I understand, but not where to insert this dummy close.
SuSE8/UL1.0-SP3
-Stephen