- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Strange use of resources
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
07-11-2005 04:03 AM
07-11-2005 04:03 AM
Strange use of resources
-
I have released to production my app and it works properly. But when workload of server grow up, it shows a very strange behavior.
The (linux) "top" command, shows that more thatn 60% of the resources (specially CPU) are used by "system" and a very little percentage is used by "user". The server become extremly slow when it happen.
Any idea about the problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 05:07 AM
07-11-2005 05:07 AM
Re: Strange use of resources
Make sure you don't have files other than oracle's on the OGFS shared filesystem (if you use it).
High system time usually means that the system is busy doing I/O related tasks, like paging. The vmstat may help you to determine the paging activity.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 07:56 AM
07-11-2005 07:56 AM
Re: Strange use of resources
Linux 2.4.21-4.EL (ias97.lc.org) 07/11/2005
avg-cpu: %user %nice %sys %idle
1.58 0.00 1.38 97.04
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
dev8-0 2.29 3.68 41.53 921182 10405714
avg-cpu: %user %nice %sys %idle
0.00 0.00 0.00 100.00
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
dev8-0 27.14 0.00 502.51 0 1000
avg-cpu: %user %nice %sys %idle
10.50 0.00 44.00 45.50
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
dev8-0 0.00 0.00 0.00 0 0
avg-cpu: %user %nice %sys %idle
0.00 0.00 0.00 100.00
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
dev8-0 25.50 0.00 376.00 0 752
avg-cpu: %user %nice %sys %idle
0.51 0.00 0.00 99.49
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
dev8-0 0.00 0.00 0.00 0 0
--------
[oracle@ias97 oracle]$ vmstat 2 5
procs memory swap io system cpu
r b swpd free buff cache si so bi bo in cs us sy id wa
1 0 0 449048 117536 502384 0 0 2 21 120 88 2 1 97 0
1 0 0 450112 117536 502388 0 0 0 0 250 655 46 54 0 0
2 0 0 451196 117536 502424 0 0 0 142 222 693 45 55 0 0
0 0 0 453604 117536 502428 0 0 0 0 350 917 30 67 2 0
13 0 0 454696 117536 502428 0 0 0 184 197 622 2 1 97 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 10:16 AM
07-11-2005 10:16 AM
Re: Strange use of resources
CPU's
Memory
disk subsystem (SCSI/IDE, RAID? How many disks and how fast are they? What controller?)
Also, what else is running on the system at the same time as OAS?
How many users accessing it when this starts happening? 100? 200?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 10:37 AM
07-11-2005 10:37 AM
Re: Strange use of resources
2) Memory: 2 GB
3) disk subsystem: IDE (known rpm)
4) What controller: IDE Controler
5) what else is running on the system at the same time as OAS?: Nothing else. Just Op. Syst. and OAS.
6) How many users accessing it when this starts happening? 100? 200?: Problem presents from 35 users and up (not constantly, just for moments).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 11:24 AM
07-11-2005 11:24 AM
Re: Strange use of resources
If anybody does anything with a reasonable amount of IO (running a report query which thashes the disk a bit), it's going to seriously hinder everybody else.
The throughput out an IDE channel is, well, miniscule. As IDE requires the CPU to do a fair amount of the processing, this means that whenever there is any decent amount of disk activity, the machine's performance will drop like a stone!
30+ users doing SQL queries against an IDE disk before you get serious degredation, you're getting amazing performance already.
Now, a bit to why it's thrashing so badly. In the stats you showed us, there was no swap activity, which means that you've got enough memory, and haven't over-tuned the system. This is good. So all that's left is for you to look through your logs and see if large queries coincide with the performance drops.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 11:42 AM
07-11-2005 11:42 AM
Re: Strange use of resources
Same application in older version or Application server was working several years in another (windows) server with less resources (smaller CPU, less memory, etc.). So that, the capacity of the server should be enough for this application, I guess.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 01:29 PM
07-11-2005 01:29 PM
Re: Strange use of resources
For instance, if the SQL server dumped a whole packet load of data on the OAS, and the Application had to do something to it (sort it, change it, whatever), then it could be a cause.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 10:56 PM
07-11-2005 10:56 PM
Re: Strange use of resources
The vmstat command does not show bi and bo, so you are not paging. So the problem should not be memory related.
Another thing is that you don't have I/O wait on the vmstat output (wa), so I/O should not be the problem (disk/network).
You may need to obtain oracle statistics for I/O to confirm this.
You should verify the queries, indexes, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 01:29 AM
07-12-2005 01:29 AM
Re: Strange use of resources
Queries, indexes, etc. could use resources but about the database servers. This is not a database server.
The only one thing that resides here is the application, and all the database operations are performed in anoter server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 02:19 AM
07-12-2005 02:19 AM
Re: Strange use of resources
then be just another symptom of the real problem which, lies in the
application logic 99.99% of the time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 02:38 AM
07-12-2005 02:38 AM
Re: Strange use of resources
I want to know any kind of method, free tool or something to search and analyze the processes that are using "system" resources, and with this info I could have a better idea about the source (maybe in Oracle software) of the problem.