1847664 Members
3482 Online
110265 Solutions
New Discussion

Disk Usage

 
Jade Bulante
Frequent Advisor

Disk Usage

I would like to find out if there is any way to limit CPU or Disk Processing on certain users. Whenever somebody runs a report, the entire system slows down.

I have an HPUX server running version 11.00. The disk are mirrored and not stripped. The database is Informix.

Please advise if I can improve performance.

Thanks
4 REPLIES 4
Sanjay_6
Honored Contributor

Re: Disk Usage

Trevor Dyson
Trusted Contributor

Re: Disk Usage

I generally find the best way to handle these sorts of problems is to disallow running of system intensive reports while users need good interactive response times and set up cron jobs to run them at quiet times.

There is a product you can purchase from HP called Process Resource Manager PRM that will allow you to limit CPU and disk for each user or for individual processes.

You could try renicing the process priority for these jobs with the renice command.

You need to be careful that the reports do not lock any records in the database as this could badly impact other users if you lower the priority of the report process.

Rgds

Trevor
I've got a little black book with me poems in
A. Clay Stephenson
Acclaimed Contributor

Re: Disk Usage

Hi:

Without buying PRM about the only thing you can do is change the nice value using the renice command. The bad news is that typically the hogs are the database backend processes. Renicing these can affect everyone's performance. You might trying to do a croned ps -e looking for process names and then renicing them if they have been running over a certain period of time. This would be fairly wasy in perl or in a combination of shell & awk.

Clay
If it ain't broke, I can fix that.
Roger Baptiste
Honored Contributor

Re: Disk Usage


One of the charms of being a unix admin ;-)

As others have suggested the options are limited
- renice the fellow , but don''t expect the results will the way you wanted.
- purchase PRM and set it up.

The best option would be to inform the user who runs the job to set it as a scheduled job on the scheduler (cron or a thirdparty tool) through which you can have atleast some contorl on when it runs.

HTH
raj
Take it easy.