- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Why does ioscan run on its own
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
02-20-2003 07:01 AM
02-20-2003 07:01 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 07:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 07:06 AM
02-20-2003 07:06 AM
Re: Why does ioscan run on its own
Do you have things like sysinfo etc running on the box through cron periodically or any other monitoring software like VPO, Tivoli etc?
Even HAO (High Availability Observatory) would run ioscan depending on the interval set.
Check root's crontab first.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 07:08 AM
02-20-2003 07:08 AM
Re: Why does ioscan run on its own
it's most likely running as part of the diagnostics software on the system, as part of a monitoring package that you have installed, or it's being called from a cron job.
If it's diag/monitoring software, the tuning would depend on the software versions being used.
Check for cron jobs using
crontab -l (will display for your current user)
or check the files in /usr/spool/cron/crontabs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 07:08 AM
02-20-2003 07:08 AM
Re: Why does ioscan run on its own
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 07:10 AM
02-20-2003 07:10 AM
Re: Why does ioscan run on its own
1) cron jobs (crontab -l)
2) EMS and other hardware monitors setup?
3) SAM
4) Any program/utilities on the cron job
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 07:24 AM
02-20-2003 07:24 AM
Re: Why does ioscan run on its own
you should run ioscan with the -k option instead if it ends up being some kind of cron task... it'll be much nicer to your system for more or less the same effect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 08:55 AM
02-20-2003 08:55 AM
Re: Why does ioscan run on its own
The time interval can be configured in /var/stm/config/sys/diagmond.cfg - look for CHK_IOSCAN_TIME
To see if stm is running, look for diagmond:
sys=> ps -ef |grep diagmond
root 12986 10943 0 16:59:34 pts/13 0:00 grep diagmond
root 11041 1 0 16:53:57 ? 0:03 /usr/sbin/stm/uut/bin/sys/diagmond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 10:38 AM
02-20-2003 10:38 AM
Re: Why does ioscan run on its own
Periodic runs of cfg2html and nickel can run ioscan.
Check your crontab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 11:21 AM
02-20-2003 11:21 AM
Re: Why does ioscan run on its own
Lets say there is a disk or other hardware device that's not wired correctly or is going on or off line.
The system might "think" its getting new hardware and scan it.
Do this:
dmesg
Check the file /var/adm/syslog/syslog.log for unsuual events coinciding with your ioscan runs.
You might have a disk getting ready to go bad. It could be anything, even a built in lan card going a little nuts.
Good Luck.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 01:22 PM
02-20-2003 01:22 PM
Re: Why does ioscan run on its own
A question for Colin Topliss: I am curious about one suggestion you made (and gave detail to) regarding diagmond. I checked the /var/stm/config/sys/diagmond.cfg file and everything (and I do mean everything) is commented out. If it's all commented out does that mean that it doesnt run at all OR does it still run based on some default?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 01:47 PM
02-20-2003 01:47 PM
Re: Why does ioscan run on its own
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 01:09 AM
02-21-2003 01:09 AM
Re: Why does ioscan run on its own
Diagmond does not periodically run ioscan. It does periodically check to see if an ioscan has been run, updating the results held in the kernel, and will update its files accordingly.
The diagnostics programs do not initiate a new ioscan, they only access the in-kernel data (the equivalent of 'ioscan -k').
None of the hardware monitors should be running 'ioscan', though there is a problem with two of them (armmon and fc60mon) doing exactly this at start-up time in the recent releases of OnlineDiag (A.34.00 and A.35.00, HWE0209 and HWE0212 respectively). This is covered by CR JAGae50172, which will be fixed in patches to be released in the near future.
If it is the diagnostics that are causing the ioscans to run (or even if it isn't), you should be able to tell from the ps listing what the parent process that started the ioscan process is. When you say ioscan is running on its own, what do you mean exactly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 06:56 AM
02-21-2003 06:56 AM
Re: Why does ioscan run on its own
Periodically, I have a crontab that runs that simply does a "top" command and stores the top 10 processes in the list to a file. This is done for the time being so we can try to spot any unusual process that was running when we find out performance took a hit. It's worked well, we've been able to make a number of adjustments to the timing of things and resolved a lot of our problems. However, on more than one occasion a CPU has been hit hard and I've found that ioscan was the top process on that particular CPU. Based on the times it's happened, it is extremely unlikely (like 1 in 1 million) that anyone issued ioscan as a command. I've reviewed the other crontabs and there is nothing there that calls for it either. Nothing special running then, and it doesn't happen at the same time every time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 08:44 AM
02-21-2003 08:44 AM
Re: Why does ioscan run on its own
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 06:13 AM
02-25-2003 06:13 AM
Re: Why does ioscan run on its own
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 07:07 AM
02-25-2003 07:07 AM
Re: Why does ioscan run on its own
ha_disk_array does run 'ioscan', but it should only be with the '-k' option, which shouldn't be causing a problem (though it might use a lot of CPU for a short time). Does the listing you got show if '-k' was given?
How long does the ioscan run for? I suspect that there isn't a real problem, and that you are catching the ioscan when it is being run, and it just happens to be CPU intensive for a short while, however you may have data that shows otherwise.
ha_disk_array polls the devices it monitors every 15 minutes, and runs ioscan -k to convert the LUN address to the device path, so it can test raw i/o (it runs ioscan -k for each LUN, which is perhaps less than optimal :-( ). You can change the polling frequency of ha_disk_array by modifying the /var/stm/config/tools/monitor/ha_disk_array.cfg file. Don't set it to too long, as that would mean it could be longer before a problem was detected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2003 08:10 AM
02-25-2003 08:10 AM