100% CPU Usage Overhead running EM DBConsole 11g on OEL-5.2
After upgrading to OEL-5.2 and relinking all Oracle binaries, my old Oracle 11g installation, installed several months before on OEL-5.1, has been working well, including Enterprise Manager Database Console working nicely as always with respectful performance. Unfortunatelly, it lasted just several days.
Yesterday I decided to uninstall the 11g completely and perform new clean installation (software and database) with the same configuration options and settings as before, including EM dbconsole, all configured using dbca. After completing the installation (EM was started automatically by dbca), oracle continued to suck 80-85% CPU time. In further few minutes CPU utilization raised up to 99% due to only one (always the same PID) client process - "oracleorcl (LOCAL=NO)". For first ten minutes I didn't care too much since I always enable Automatic Management in dbca. But after two hours, I started to worry. The process was still running, consuming sustained 99% of CPU power. No other system activity, no database activity, no disks activity at all!
I was really puzzled since I installed and reinstalled the 11g at least 20 times on OEL-5.0 and 5.1, experimenting with ASM, raw devices, loopback devices and various combinations of installation options, but never experienced such a behaviour. It took me 3 minutes to log in to EM dbconsole as it was almost unusable performing too slow. After three hours CPU temperature was nearly 60 degrees celsius. I decided to shutdown EM and after that everything became quiet. Oracle was running normally. Started EM again, the problem was back again. Tracing enabled, it filled a 350 MB trace file in just 20 minutes. Reinstalling the software and database once again didn't help. Whenever EM is up, the CPU usage overhead of 99% persists.
Here is a cca 23 minutes session summary report taken from EM dbconsole's Performance page. The trace file is too big to list it here, but it shows the same.
Host CPU: 100%
Active Sessions: 100%The details for the Selected 5 Minute Interval (the last 5 min interval) are shown as follow:
TOP SESSIONS: SYSMAN, Program: OMS
Activity: 100%
TOP MODULES: OEM.CacheModeWaitPool, Service: orcl
Activity: 100%
TOP CLIENT: Unnamed
Activity: 99.1%
TOP ACTIONS: Unnamed (OEM.CacheModeWaitPool) (orcl)
Activity: 100%
TOP OBJECTS: SYSMAN.MGMT_JOB_EXEC_SUMMARY (Table)
Activity: 100%
TOP PL/SQL: SYSMAN.MGMT_JOB_ENGINE.INSERT_EXECUTION
PL/SQL Source: SYSMAN.MGMT_JOB_ENGINE
Line Number: 7135
Activity: 100%
TOP SQL: SELECT EXECUTION_ID, STATUS, STATUS_DETAIL FROM MGMT_JOB_EXEC_SUMMARY
WHERE JOB_ID = :B3 AND TARGET_LIST_INDEX = :B2 AND EXPECTED_START_TIME = :B1;
Activity: 100%
STATISTICS SUMMARY
cca 23 minutes session
with no other system activity
Per
Total Execution Per Row
Executions 105,103 1 10,510.30
Elapsed Time (sec) 1,358.95 0.01 135.90
CPU Time (sec) 1,070.42 0.01 107.04
Buffer Gets 85,585,518 814.30 8,558,551.80
Disk Reads 2 <0.01 0.20
Direct Writes 0 0.00 0.00
Rows 10 <0.01 1
Fetches 105,103 1.00 10,510.30
----------------------------------------Wow!!! Note: no disk, no database activity !
Has anyone experienced this or similar behaviour after clean 11g installation on OEL-5.2? If not, anyone has a clue what the hell is going on?
Thanks in advance.
Hi Tommy,
I didn't want to experiment further with already working OEL-5.2, oracle and dbconsole on this machine, specially not after googling the problem and finding out that I am not alone in this world. There are another two threads on OTN forums (Database General) showing the same problem even on 2GB machines:
DBConsole easting a CPU
11g stuck. 50-100% CPU after fresh install
So, I took another, a smaller free machine I've got at home (1GB RAM, 2.2MHz Pentium4, three 80GB disks), on which I used to experiment with new releases of software (this is the machine on which I installed 11g for the first time when it was released on OEL-5.0, and I can recall that everything was OK with EM). This is what I did:
1. I installed OEL-5.0 on the machine, adjusted linux and kernel parameters, and performed full 11g installation. Database and EM dbconsole worked nice with acceptable performance. Without activity in the database, %CPU = zero !!! The whole system was perfectly quiet.
2. Since everything was OK, I shutdown EM and oracle, and performed the full upgrade to OEL-5.2. When the upgrade finished, restarted the system, relinked all oracle binaries, and started oracle and EM dbconsole. Both worked perfectly again, just as before the upgrade. I repeated restarting the database and dbconsole several times, always with the same result - it really rocks. Without database activity, %CPU = zero%.
3. Using dbca, I dropped the database and created the new one with the same configuration options. Wow! I'm again in trouble. A half an hour after the creation of the database, %CPU raised up to 99%. That's it.
The crucial question here is: what is that in OEL-5.2, not existing in the 5.0, that causes dbca/em scripts to be embarrassed at the time of EM agent configuration?
Here are the outputs you required picked 30 minutes after starting the database and EM dbconsole (sustained 99% CPU utilization). Note that this is just a 1GB machine.
Kernel command line: ro root=LABEL=/ elevator=deadline rhgb quiet
[root@localhost ~]# cat /proc/meminfo
MemTotal: 1034576 kB
MemFree: 27356 kB
Buffers: 8388 kB
Cached: 609660 kB
SwapCached: 18628 kB
Active: 675376 kB
Inactive: 287072 kB
HighTotal: 130304 kB
HighFree: 260 kB
LowTotal: 904272 kB
LowFree: 27096 kB
SwapTotal: 3148700 kB
SwapFree: 2940636 kB
Dirty: 72 kB
Writeback: 0 kB
AnonPages: 328700 kB
Mapped: 271316 kB
Slab: 21136 kB
PageTables: 14196 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 3665988 kB
Committed_AS: 1187464 kB
VmallocTotal: 114680 kB
VmallocUsed: 5860 kB
VmallocChunk: 108476 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 4096 kB
[root@localhost ~]# cat /proc/slabinfo
slabinfo - version: 2.1
# name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> : tunables <limit> <batchcount> <sharedfactor> : slabdata <active_slabs> <num_slabs> <sharedavail>
rpc_buffers 8 8 2048 2 1 : tunables 24 12 8 : slabdata 4 4 0
rpc_tasks 8 15 256 15 1 : tunables 120 60 8 : slabdata 1 1 0
rpc_inode_cache 6 7 512 7 1 : tunables 54 27 8 : slabdata 1 1 0
ip_conntrack_expect 0 0 96 40 1 : tunables 120 60 8 : slabdata 0 0 0
ip_conntrack 68 68 228 17 1 : tunables 120 60 8 : slabdata 4 4 0
ip_fib_alias 7 113 32 113 1 : tunables 120 60 8 : slabdata 1 1 0
ip_fib_hash 7 113 32 113 1 : tunables 120 60 8 : slabdata 1 1 0
fib6_nodes 22 113 32 113 1 : tunables 120 60 8 : slabdata 1 1 0
ip6_dst_cache 13 15 256 15 1 : tunables 120 60 8 : slabdata 1 1 0
ndisc_cache 1 15 256 15 1 : tunables 120 60 8 : slabdata 1 1 0
RAWv6 4 5 768 5 1 : tunables 54 27 8 : slabdata 1 1 0
UDPv6 9 12 640 6 1 : tunables 54 27 8 : slabdata 2 2 0
tw_sock_TCPv6 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
request_sock_TCPv6 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
TCPv6 1 3 1280 3 1 : tunables 24 12 8 : slabdata 1 1 0
jbd_1k 0 0 1024 4 1 : tunables 54 27 8 : slabdata 0 0 0
dm_mpath 0 0 28 127 1 : tunables 120 60 8 : slabdata 0 0 0
dm_uevent 0 0 2460 3 2 : tunables 24 12 8 : slabdata 0 0 0
dm_tio 0 0 16 203 1 : tunables 120 60 8 : slabdata 0 0 0
dm_io 0 0 20 169 1 : tunables 120 60 8 : slabdata 0 0 0
jbd_4k 1 1 4096 1 1 : tunables 24 12 8 : slabdata 1 1 0
scsi_cmd_cache 10 10 384 10 1 : tunables 54 27 8 : slabdata 1 1 0
sgpool-128 36 36 2048 2 1 : tunables 24 12 8 : slabdata 18 18 0
sgpool-64 33 36 1024 4 1 : tunables 54 27 8 : slabdata 9 9 0
sgpool-32 34 40 512 8 1 : tunables 54 27 8 : slabdata 5 5 0
sgpool-16 35 45 256 15 1 : tunables 120 60 8 : slabdata 3 3 0
sgpool-8 60 60 128 30 1 : tunables 120 60 8 : slabdata 2 2 0
scsi_io_context 0 0 104 37 1 : tunables 120 60 8 : slabdata 0 0 0
ext3_inode_cache 4376 8216 492 8 1 : tunables 54 27 8 : slabdata 1027 1027 0
ext3_xattr 165 234 48 78 1 : tunables 120 60 8 : slabdata 3 3 0
journal_handle 8 169 20 169 1 : tunables 120 60 8 : slabdata 1 1 0
journal_head 684 1008 52 72 1 : tunables 120 60 8 : slabdata 14 14 0
revoke_table 18 254 12 254 1 : tunables 120 60 8 : slabdata 1 1 0
revoke_record 0 0 16 203 1 : tunables 120 60 8 : slabdata 0 0 0
uhci_urb_priv 0 0 28 127 1 : tunables 120 60 8 : slabdata 0 0 0
UNIX 56 112 512 7 1 : tunables 54 27 8 : slabdata 16 16 0
flow_cache 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
cfq_ioc_pool 0 0 92 42 1 : tunables 120 60 8 : slabdata 0 0 0
cfq_pool 0 0 96 40 1 : tunables 120 60 8 : slabdata 0 0 0
crq_pool 0 0 44 84 1 : tunables 120 60 8 : slabdata 0 0 0
deadline_drq 140 252 44 84 1 : tunables 120 60 8 : slabdata 3 3 0
as_arq 0 0 56 67 1 : tunables 120 60 8 : slabdata 0 0 0
mqueue_inode_cache 1 6 640 6 1 : tunables 54 27 8 : slabdata 1 1 0
isofs_inode_cache 0 0 368 10 1 : tunables 54 27 8 : slabdata 0 0 0
hugetlbfs_inode_cache 1 11 340 11 1 : tunables 54 27 8 : slabdata 1 1 0
ext2_inode_cache 0 0 476 8 1 : tunables 54 27 8 : slabdata 0 0 0
ext2_xattr 0 0 48 78 1 : tunables 120 60 8 : slabdata 0 0 0
dnotify_cache 2 169 20 169 1 : tunables 120 60 8 : slabdata 1 1 0
dquot 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
eventpoll_pwq 1 101 36 101 1 : tunables 120 60 8 : slabdata 1 1 0
eventpoll_epi 1 30 128 30 1 : tunables 120 60 8 : slabdata 1 1 0
inotify_event_cache 1 127 28 127 1 : tunables 120 60 8 : slabdata 1 1 0
inotify_watch_cache 23 92 40 92 1 : tunables 120 60 8 : slabdata 1 1 0
kioctx 135 135 256 15 1 : tunables 120 60 8 : slabdata 9 9 0
kiocb 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
fasync_cache 0 0 16 203 1 : tunables 120 60 8 : slabdata 0 0 0
shmem_inode_cache 553 585 436 9 1 : tunables 54 27 8 : slabdata 65 65 0
posix_timers_cache 0 0 88 44 1 : tunables 120 60 8 : slabdata 0 0 0
uid_cache 5 59 64 59 1 : tunables 120 60 8 : slabdata 1 1 0
ip_mrt_cache 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
tcp_bind_bucket 32 203 16 203 1 : tunables 120 60 8 : slabdata 1 1 0
inet_peer_cache 1 59 64 59 1 : tunables 120 60 8 : slabdata 1 1 0
secpath_cache 0 0 32 113 1 : tunables 120 60 8 : slabdata 0 0 0
xfrm_dst_cache 0 0 384 10 1 : tunables 54 27 8 : slabdata 0 0 0
ip_dst_cache 6 15 256 15 1 : tunables 120 60 8 : slabdata 1 1 0
arp_cache 2 15 256 15 1 : tunables 120 60 8 : slabdata 1 1 0
RAW 2 7 512 7 1 : tunables 54 27 8 : slabdata 1 1 0
UDP 3 7 512 7 1 : tunables 54 27 8 : slabdata 1 1 0
tw_sock_TCP 3 30 128 30 1 : tunables 120 60 8 : slabdata 1 1 0
request_sock_TCP 4 30 128 30 1 : tunables 120 60 8 : slabdata 1 1 0
TCP 43 49 1152 7 2 : tunables 24 12 8 : slabdata 7 7 0
blkdev_ioc 3 127 28 127 1 : tunables 120 60 8 : slabdata 1 1 0
blkdev_queue 23 24 956 4 1 : tunables 54 27 8 : slabdata 6 6 0
blkdev_requests 137 161 172 23 1 : tunables 120 60 8 : slabdata 7 7 0
biovec-256 7 8 3072 2 2 : tunables 24 12 8 : slabdata 4 4 0
biovec-128 7 10 1536 5 2 : tunables 24 12 8 : slabdata 2 2 0
biovec-64 7 10 768 5 1 : tunables 54 27 8 : slabdata 2 2 0
biovec-16 7 15 256 15 1 : tunables 120 60 8 : slabdata 1 1 0
biovec-4 8 59 64 59 1 : tunables 120 60 8 : slabdata 1 1 0
biovec-1 406 406 16 203 1 : tunables 120 60 8 : slabdata 2 2 300
bio 564 660 128 30 1 : tunables 120 60 8 : slabdata 21 22 204
utrace_engine_cache 0 0 32 113 1 : tunables 120 60 8 : slabdata 0 0 0
utrace_cache 0 0 32 113 1 : tunables 120 60 8 : slabdata 0 0 0
sock_inode_cache 149 230 384 10 1 : tunables 54 27 8 : slabdata 23 23 0
skbuff_fclone_cache 20 20 384 10 1 : tunables 54 27 8 : slabdata 2 2 0
skbuff_head_cache 86 210 256 15 1 : tunables 120 60 8 : slabdata 14 14 0
file_lock_cache 22 40 96 40 1 : tunables 120 60 8 : slabdata 1 1 0
Acpi-Operand 1147 1196 40 92 1 : tunables 120 60 8 : slabdata 13 13 0
Acpi-ParseExt 0 0 44 84 1 : tunables 120 60 8 : slabdata 0 0 0
Acpi-Parse 0 0 28 127 1 : tunables 120 60 8 : slabdata 0 0 0
Acpi-State 0 0 44 84 1 : tunables 120 60 8 : slabdata 0 0 0
Acpi-Namespace 615 676 20 169 1 : tunables 120 60 8 : slabdata 4 4 0
delayacct_cache 233 312 48 78 1 : tunables 120 60 8 : slabdata 4 4 0
taskstats_cache 12 53 72 53 1 : tunables 120 60 8 : slabdata 1 1 0
proc_inode_cache 622 693 356 11 1 : tunables 54 27 8 : slabdata 63 63 0
sigqueue 8 27 144 27 1 : tunables 120 60 8 : slabdata 1 1 0
radix_tree_node 6220 8134 276 14 1 : tunables 54 27 8 : slabdata 581 581 0
bdev_cache 37 42 512 7 1 : tunables 54 27 8 : slabdata 6 6 0
sysfs_dir_cache 4980 4992 48 78 1 : tunables 120 60 8 : slabdata 64 64 0
mnt_cache 36 60 128 30 1 : tunables 120 60 8 : slabdata 2 2 0
inode_cache 1113 1254 340 11 1 : tunables 54 27 8 : slabdata 114 114 81
dentry_cache 11442 18560 136 29 1 : tunables 120 60 8 : slabdata 640 640 180
filp 7607 10000 192 20 1 : tunables 120 60 8 : slabdata 500 500 120
names_cache 19 19 4096 1 1 : tunables 24 12 8 : slabdata 19 19 0
avc_node 14 72 52 72 1 : tunables 120 60 8 : slabdata 1 1 0
selinux_inode_security 814 1170 48 78 1 : tunables 120 60 8 : slabdata 15 15 0
key_jar 14 30 128 30 1 : tunables 120 60 8 : slabdata 1 1 0
idr_layer_cache 170 203 136 29 1 : tunables 120 60 8 : slabdata 7 7 0
buffer_head 38892 39024 52 72 1 : tunables 120 60 8 : slabdata 542 542 0
mm_struct 108 135 448 9 1 : tunables 54 27 8 : slabdata 15 15 0
vm_area_struct 11169 14904 84 46 1 : tunables 120 60 8 : slabdata 324 324 144
fs_cache 82 177 64 59 1 : tunables 120 60 8 : slabdata 3 3 0
files_cache 108 140 384 10 1 : tunables 54 27 8 : slabdata 14 14 0
signal_cache 142 171 448 9 1 : tunables 54 27 8 : slabdata 19 19 0
sighand_cache 127 135 1344 3 1 : tunables 24 12 8 : slabdata 45 45 0
task_struct 184 246 1360 3 1 : tunables 24 12 8 : slabdata 82 82 0
anon_vma 3313 5842 12 254 1 : tunables 120 60 8 : slabdata 23 23 0
pgd 84 84 4096 1 1 : tunables 24 12 8 : slabdata 84 84 0
pid 237 303 36 101 1 : tunables 120 60 8 : slabdata 3 3 0
size-131072(DMA) 0 0 131072 1 32 : tunables 8 4 0 : slabdata 0 0 0
size-131072 0 0 131072 1 32 : tunables 8 4 0 : slabdata 0 0 0
size-65536(DMA) 0 0 65536 1 16 : tunables 8 4 0 : slabdata 0 0 0
size-65536 2 2 65536 1 16 : tunables 8 4 0 : slabdata 2 2 0
size-32768(DMA) 0 0 32768 1 8 : tunables 8 4 0 : slabdata 0 0 0
size-32768 9 9 32768 1 8 : tunables 8 4 0 : slabdata 9 9 0
size-16384(DMA) 0 0 16384 1 4 : tunables 8 4 0 : slabdata 0 0 0
size-16384 6 6 16384 1 4 : tunables 8 4 0 : slabdata 6 6 0
size-8192(DMA) 0 0 8192 1 2 : tunables 8 4 0 : slabdata 0 0 0
size-8192 5 5 8192 1 2 : tunables 8 4 0 : slabdata 5 5 0
size-4096(DMA) 0 0 4096 1 1 : tunables 24 12 8 : slabdata 0 0 0
size-4096 205 205 4096 1 1 : tunables 24 12 8 : slabdata 205 205 0
size-2048(DMA) 0 0 2048 2 1 : tunables 24 12 8 : slabdata 0 0 0
size-2048 260 270 2048 2 1 : tunables 24 12 8 : slabdata 135 135 0
size-1024(DMA) 0 0 1024 4 1 : tunables 54 27 8 : slabdata 0 0 0
size-1024 204 204 1024 4 1 : tunables 54 27 8 : slabdata 51 51 0
size-512(DMA) 0 0 512 8 1 : tunables 54 27 8 : slabdata 0 0 0
size-512 367 464 512 8 1 : tunables 54 27 8 : slabdata 58 58 0
size-256(DMA) 0 0 256 15 1 : tunables 120 60 8 : slabdata 0 0 0
size-256 487 495 256 15 1 : tunables 120 60 8 : slabdata 33 33 0
size-128(DMA) 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
size-128 2242 2490 128 30 1 : tunables 120 60 8 : slabdata 83 83 0
size-64(DMA) 0 0 64 59 1 : tunables 120 60 8 : slabdata 0 0 0
size-32(DMA) 0 0 32 113 1 : tunables 120 60 8 : slabdata 0 0 0
size-64 1409 2950 64 59 1 : tunables 120 60 8 : slabdata 50 50 0
size-32 3596 3842 32 113 1 : tunables 120 60 8 : slabdata 34 34 0
kmem_cache 145 150 256 15 1 : tunables 120 60 8 : slabdata 10 10 0
[root@localhost ~]# slabtop -d 5
Active / Total Objects (% used) : 97257 / 113249 (85.9%)
Active / Total Slabs (% used) : 4488 / 4488 (100.0%)
Active / Total Caches (% used) : 101 / 146 (69.2%)
Active / Total Size (% used) : 15076.34K / 17587.55K (85.7%)
Minimum / Average / Maximum Object : 0.01K / 0.16K / 128.00K
OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME
25776 25764 99% 0.05K 358 72 1432K buffer_head
16146 15351 95% 0.08K 351 46 1404K vm_area_struct
15138 7779 51% 0.13K 522 29 2088K dentry_cache
9720 9106 93% 0.19K 486 20 1944K filp
7714 7032 91% 0.27K 551 14 2204K radix_tree_node
5070 5018 98% 0.05K 65 78 260K sysfs_dir_cache
4826 4766 98% 0.01K 19 254 76K anon_vma
4824 3406 70% 0.48K 603 8 2412K ext3_inode_cache
3842 3691 96% 0.03K 34 113 136K size-32
2190 2174 99% 0.12K 73 30 292K size-128
1711 1364 79% 0.06K 29 59 116K size-64
1210 1053 87% 0.33K 110 11 440K inode_cache
1196 1147 95% 0.04K 13 92 52K Acpi-Operand
1170 814 69% 0.05K 15 78 60K selinux_inode_security
936 414 44% 0.05K 13 72 52K journal_head
747 738 98% 0.43K 83 9 332K shmem_inode_cache
693 617 89% 0.35K 63 11 252K proc_inode_cache
676 615 90% 0.02K 4 169 16K Acpi-Namespace
609 136 22% 0.02K 3 203 12K biovec-1
495 493 99% 0.25K 33 15 132K size-256
480 384 80% 0.12K 16 30 64K bio
440 399 90% 0.50K 55 8 220K size-512
312 206 66% 0.05K 4 78 16K delayacct_cache
303 209 68% 0.04K 3 101 12K pid
290 290 100% 0.38K 29 10 116K sock_inode_cache
[root@localhost ~]# cat /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
# Controls IP packet forwarding
net.ipv4.ip_forward=0
# Controls source route verification
net.ipv4.conf.default.rp_filter=1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route=0
# Oracle
net.ipv4.ip_local_port_range=1024 65000
net.core.rmem_default=4194304
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=262144
net.ipv4.tcp_rmem=4096 65536 4194304
net.ipv4.tcp_wmem=4096 65536 4194304
# Keepalive Oracle
net.ipv4.tcp_keepalive_time=3000
net.ipv4.tcp_keepalive_intvl=30
net.ipv4.tcp_keepalive_probes=15
net.ipv4.tcp_retries2=3
net.ipv4.tcp_syn_retries=2
net.ipv4.tcp_sack=0
net.ipv4.tcp_timestamps=0
net.ipv4.tcp_window_scaling=0
# Oracle
fs.file-max = 6553600
fs.aio-max-nr=3145728
kernel.shmmni=4096
kernel.sem=250 32000 100 142
kernel.shmmax=2147483648
kernel.shmall=3279547
kernel.msgmnb=65536
kernel.msgmni=2878
kernel.msgmax=8192
kernel.exec-shield=0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq=1
kernel.panic=60
kernel.core_uses_pid=1
[root@localhost ~]# free | grep Swap
Swap: 3148700 319916 2828784
[root@localhost ~]# cat /etc/fstab | grep "/dev/shm"
tmpfs /dev/shm tmpfs size=1024M 0 0
[root@localhost ~]# df | grep "/dev/shm"
tmpfs 1048576 452128 596448 44% /dev/shm
NON-DEFAULT DB PARAMETERS:
db_block_size 8192
memory_target 633339904 /* automatic memory management */
open_cursors 300
processes 256
disk_async_io TRUE
filesystemio_options SETALL
Similar Messages
-
100% CPU usage with XP Cooler from PCAlert4
Any idea why I would be running 100% cpu usage when running XP Cooler from PCAlert4? I noticed PC was sluggish when running it so CTRL+ALT+DEL and under performance is 100% CPU with 245MB Ram Usage. No other TSR's running - several application but under 10% CPU usage without PCAlert and XP Cooler.
I was also wondering if anyone had any ideas on the video? I have the K7N2G with 768MB DDR PC 2100 (3x256) XP2200+ 266FSB running 1804MHz - Maxtor 30GB 7200RPM - 350W PSU (raidmax - yea yea I know, dont say a word though LOL) on board video and here is the problem - graphics are great, but they get choppy - running NFS HotPursuit 2 at 32bit 800x600 (doesnt seem to matter even when running 16bit 640x480still does it.) what setting am I missing? Thanks in advance.Deathstalker (Richard),
I did what you suggest in memory management and also changed out the mem on the board - it did make a difference, not as much as I had hoped, but it did.
Raven,
I have used Fraps in the past, forgot about it, but went ahead and downloaded it to get a better look.
To the Both of you,
Thanks so much for your replies, sometimes it just takes someone outside looking in to see the things overlooked. But I went ahead and also ran all of the latest updates for the board (semi new system and I only installed with the CD that came with the Mobo) and everything is running better than expected. Thanks again for your thoughts - keep 'em flowin, it's amazing whom we could help. Take care.
Don -
Run program in 100% cpu usage
hi all,
does any body know how to set the java program to utilize 100% cpu usage? thanks!class Empty implements Runnable {
Empty() {}
public void run() {
while(true) {}
public static void main(String[] arg) {
new Thread(new Empty()).start();
new Thread(new Empty()).start();
new Thread(new Empty()).start();
new Thread(new Empty()).start();
}Not sure why you would want to do this though? -
when itunes upgraded my laptop went to 100% cpu usage. only solution was uninstall. have tried itunes again as my daughter wants the new ipad. still same problem tho so not keen to spend £400 on new pad without pc support. anyone help? (ps been using ipod touches 1 and 2, been great source of pleasure for my two girls, but cant sync them, so using the little shuffles for music, syncing to an old version of itunes on an old netbook - had the sense to switch off upgrades when the new version went wrong)
Close your iTunes,
Go to command Prompt -
(Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
(Win XP SP2 & above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
In the "Command Prompt" screen, type in
netsh winsock reset
Hit "ENTER" key
Restart your computer.
If you do get a prompt after restart windows to remap LSP, just click NO.
Now launch your iTunes and see if it is working now.
If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
http://support.apple.com/kb/TS4123?viewlocale=en_US -
100% CPU Usage caused by HMI
Hi everybody:
I'm working with LabVIEW DSC 8.2.1 in a system that monitors many variables of a plant, such a typical SCADA system. For this reason, the use of the graphic tools is highly used on the development of this system. Everything works fine, but I have only one problem.... the usage of the CPU.
When I am working on the development system I (not the executable) I start the application and after the variables are initialized and every process has started and are running , the CPU usage is raised around 90 - 100%. After a few days investigating the reason of this, I realized thay when I change the view on the screen to another view, for example the block diagram of the application, while the application is still running, the CPU usage goes around 15 - 25%. I've tried these many times changing the view from Front panel to Block Diagram and viceversa and the result is always the same: Front Panel= around 100%; Block diagram or another view (other applications MMIs, or Block Diagrams, etc.)= around 20%.
Another thing that I realized is that the other view (different to front panel) has to fill the entire screen to work the way I'm telling before.
When I build and run the executable, the usage of the CPU is the same... (around 100%), but I can't see any other application, because the application built is the shell of the OS, so no other views are available.
I don't know if there's some other consideration to take into account about the HMI when creating an application, and I'll appreciate very much your help.
Thanks in advance!
Ignacio von UngerFrom http://100cpuusage.blogspot.com/
100 Percent CPU Usage when you run programs after you install Windows XP Service Pack 2
CPU Usage 100% Symptoms
When you run some programs, the CPU Usage meter in Task Manager may indicate CPU Usage 100%. When CPU utilization reaches 100 percent, programs will run very slowly or stop responding (hang) and your computer is freezing or crashing.
Noteress CTRL+ALT+DEL to view CPU utilization, click Task Manager, and then click the Performance tab.
These symptoms occur after you install Microsoft Windows XP Service Pack 2 (SP2).
CPU Usage 100% Cause
These problem occurs because of the user interface code that is included in Windows XP SP2. The high CPU utilization is caused by the additional overhead that occurs when the IsWindow function is called by the user interface code.
RESOLUTION
Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.
To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:
http://go.microsoft.com/?linkid=6294451
Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
Prerequisites
To apply this hotfix, you must have Windows XP SP2 installed.
Restart requirement
You must restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace any other hotfixes.
File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel. Date Time Version Size File name
30-Mar-2005 19:53 5.1.2600.2643 577,024 User32.dll
30-Mar-2005 01:30 5.1.2600.2643 1,836,544 Win32k.sys
if you still do not know how to Fix CPU Usage 100%?
I suggest you try targeted software - registry cleaner to fix cpu usage 100%
Because there are many cases causing high cpu utilization.
1. If you do a lot of web surfing and are concerned about spyware, adware infecting your machine, they will cause system crashes and CPU utilization reaches 100 percent. Some good registry cleaner has the function of spyware & adware removal.
2. You install many beta version of the software, Drivers are not certified, which resulted in many errors, you get high cpu usage.
3.100% CPU Usage while you use Internet Explorer
4. many unneed Startup Program.
5.Others PC Errors. - DLL errors, runtime errors, Windows-Installer Errors, Windows Startup Errors,paths Broken DLLs, OCX, and ActiveX Components all will cause 100% cpu usage. Your PC will run very slowly.
Registry cleaner can do a complete scan of your entire file system and registry in under 2 minutes! Fix High Cpu Usage. Improve PC Speed By Up to 70%!
http://www.100-cpu-usage.com/ suggest you to download registry cleaner to fix 100% cpu usage too.
PCErrorsfixer.com - Top 3 Windows Registry Cleaners, Improve PC Performance,5 Star Rated. Fix 100% CPU Usage, Runtime Error, DLL Error,Windows Startup Errors,Internet Explorer Errors, Speed Up your slow PC. -
For some reason my iCal application uses 100% of CPU. What can I do to avoid it?
I had a similar problem with iTunes.
Here's the link to what fixed my problem immediately. Please note: my problem was resolved following just the three steps pasted below. The original link has additional steps that may be necessary, although I did not employ them, and my problem of 100% CPU USAGE is gone!!! Thank God!
URL source: http://www.hotcomm.com/faq/FAQ_ResetWinsock.asp
Good Luck
Copyright (c) 2009 1stWorks Corporation. All rights reserved.
This article gives instructions for resetting Winsock on Windows XP and Windows Vista:
Reset Winsock (Vista)
To reset Winsock in Vista:
1.Click the Windows Start button.
2. Type Cmd in the Start Search text box and press Ctrl-Shift-Enter (keyboard shortcut to run Command Prompt as Administrator). Click Continue to allow elevation request.
3. Type netsh winsock reset in the Command Prompt shell, and then press the Enter key.
URL source: http://www.hotcomm.com/faq/FAQ_ResetWinsock.asp -
Shockwave Flash 11.6.602.168 100% CPU usage
Hi,
Our computer has 100% CPU usage every time we get in websites that utilize Flash, or watch youtube.
Browser: FF 19.0
Flash 11.6.602.168
Computer: HP Pentium 4, 2.8 GHz, 3G memory, up-to-date BIOS and other drivers.
Graphic card: EVGA GeFprce 6200
Windows 7 32 bits
This window is freshly installed, has AVG on. We do not have many software's installed, except MS Office. All fans and CPU are clean. The computer runs fairly fast: we tried opening multiple FF tabs simultaneously, plus Excel, Word, Solitaire etc. without any problems. However, whenever we get into websites with Flash, the CPU uasage goes to 100% and stays there. Memory usage has always been stable, around 30%. We have tried the following steps, but it hasn't gotten better:
- Turned off all applications, opened only one tab with that website.
- Updated all drivers and applications: FF, Flash, Graphic card etc.
- Turned ON and OFF hardware acceleration for both Flash and FF, also tried to turn one On, the other OFF, and vise versa.
- Disabled all add-on's, extensions and Plug-in's, except Flash.
- Uninstalled and reinstall FF and Flash; restarted several times.
- Temporarily turned OFF protected mode.
- Uninstalled FF, Flash, then installed IE 9, then Flash for IE: didn't work.
- Uninstalled IE 9, Flash, then installed IE10 then reinstalled Flash for IE: also didn't work.
- We do not keep browsing history.
Examples of websites that we have had problems with: pbskids.org, barbie.com, and other school websites for kids to do homework or watch youtube.
While in many websites such as CNN.com, yahoo.com, when we opened it, the CPU usage did spike, but came back to 1-5% within 5 seconds.
This computer is for our kids. Do we really need to buy an i5 or i7 computer so the kids can play and do homework? Or is there any other way that we can do?
Thank youMoving to the Using Flash Player forum, as this isn't specific to the Beta.
In the Youtube video, if you right-click and choose Show Video Info, it will show you whether you're using Hardware Acceleration for both Video Rendering and Video Decoding.
If you're seeing Software Rendering and/or Software Decoding and you're watching a high-def video, it's going to use a ton of CPU.
Do you see similar behavior in other browsers? (Chrome, IE) The Flash Player distributions are actually quite different for each browser. It would be an interesting data point. -
How to control timing without 100% CPU usage
I wanted fine control over timing (in windows XP), but ran into two problems.
Problem 1: If you use the Swing timer, or Thread.sleep, the resolution is limited to 10 or 11 milliseconds. There is a Thread.sleep(millis, nanos) function, but I tested it and it still has 11ms resolution in WinXP.
Problem 2: If you use jbanes's GAGE timer, CPU utilization will always be 100%.
Solution: Use a hybrid technique. I would love to have nanosecond resolution AND low CPU utilization at any speed (and if you have any suggestions, please post them) but for now:
class /*name*/ extends Thread{
public void run(){
setDelay(delaySettings[speed]); //Set "delay" to the desired delay in nanoseconds
long nanos;
while(true){
if(running){ //"running" is a boolean that can pause or unpause the game
nanos=System.nanoTime()+delay;
tick(); //Do the game logic and graphics for one frame
if(delay>11000000){ //If the system timer can handle it
try{sleep(delay/1000000);} //delay/1000000 gives millis
catch(Exception e){System.out.println("Caught sleep exception: "+e);}
}else{ //use a nanotimer (cpu-expensive)
while(System.nanoTime()<nanos){}
}else{ //it is paused, so wait a bit
try{sleep(50);}
catch(Exception e){System.out.println("Caught sleep exception: "+e);}
//The rest of your code
}If your desired delay is greater than the system timer resolution (here, I have it set at 11,000,000 nanoseconds, or 11ms) then you can use the Thread.sleep(milliseconds) call, which will have approximately 0% CPU utilization until the thread wakes up. Theoretically, you could use this time for another thread, but at the very minimum, your computer should use less power / generate less heat. If your desired resolution is smaller than 11,000,000 nanoseconds, it goes into a loop that checks nanoTime()... which gives you 100% CPU usage, but is very accurate. This works pretty well if you want to control the framerate dynamically (I use the "-"/"=" buttons to adjust speed) and it handles "pause" events, though I'm sure there are better ways to do that.
Note: The timing granularity above 11ms for this technique is probably 11ms, though the code could be modified to provide nanosecond granularity at any speed.
Note 2: I found this to run 3% faster than when I used the GAGE timer.
-CherryPause the game when u alt-tab away ^_^
Thats what most native fullscreen games do (the
non-networked kind atleast)Good idea, but the crux of the issue is really the underlying scheduler which allows
the thread to race.
How to "Eliminate" 100% CPU usage.
Tony's Law of the exec constant. <<<<"Any thread or process running on a non-preemptive operating system MUST NOT use blocking
IO, and MUST preempt itself at leat 20MS per iteration."
The reason it is called a constant is because it is the minimum time needed to ensure
the underlying operating system gets enough CPU cycles to function correctly.
Every milliseconds below this increases exponentially the chance of locking up or
crashing despite the speed of your system.
Most people who program do not realize the the implications of running under defective schedulers
such as the one provided with MS windows where, for example, you can block on a socket, and
hang your whole system.
>>> Do NOT use Thread.sleep() <<< but instead use Object.wait();
Do not use blockng IO. If you have to use java.io, use available() to make such you ONLY
read the exact amount of bytes you need without blocking and make sure to prempt
yourself at least 20MS per iteration.
ie:
InputStream inputStream;
while(working)
Object waitObject = new Object();
int readCount = 0;
int availableBytes = 0;
int totalBytes = 10;
while(readCount < totalBytes)
if((availableBytes = inputStream.available())!=0)
read() (the # of Bytes available)
else
synchronized(waitObject)
waitObject.wait(200); // 5X per second poll
waitObject.notifyAll();
Using wait() removes the current thread from being scheduled; Thread.sleep()
leaves the Thread on the schedule list. wait() releases all monitors allow other
threads to have them; THread.sleep() does not.
The 100% CPU issue is especially bad under NT BTW.
If you do this not only will your CPU usage go to negligible, but you
will never again lock your system because of it.
Good Luck!
(T) -
System freeze, 100% CPU usage
Occasionally the CPU usage while running Windows goes up to 100% and the fan starts spinning like crazy. The system is then hardly responsive and becomes unusable.
I then have to boot into OSX before booting back into Windows to recover.
With Boot Camp 1.4 I had this problem maybe once a week, but since installing the Boot Camp 2.0 windows drivers this happens several times a day.
Is there maybe a work around for this problem? Is Apple working on a solution?
Cheers,
ErikThe part of system that is using all the CPU time is the battery driver, all the drivers come under system, it obviously has a major bug in it, I have deduced this over a period of about a year of this problem, I only get it once every couple of months now, it seems as though the Leopard drivers are worse than before, I will resist the temptation to upgrade to Leopard, it seems like many people are having trouble with leopard, particularly concerning battery life, A coleague of mine has installed leopard on a DAW machine and had a lot of problems on first install. after install he wasn't impressed by the new OS, tiger and boot camp 1.4 is working well for me, I think I will leave it there until someone has something positive to say about Leopard.
maybe you can roll back the drivers to bootcamp 1.4, only thing I miss is the trackpad tap, which apparently still doesn't work in leopard drivers, well done apple, seems like £80 of wasted money if you upgraded. -
Apologies in advance for a long post but I'm stretched beyond my technical abilities to solve this thing. I was running a virus scan a week ago (no issues, it had just been a long time since I ran one) and while I was away the machine restarted itself when it shouldn't have. It was waiting at the redhat login (dual boot XP and redhat) when it should have been waiting to tell me the scan was done in XP. It never booted properly again. The HD reported fatal unrecoverable errors. I bit the bullet and replaced the drive with a Maxtor 80G 7200rpm drive and loaded XP Pro with no issues. Loaded Norton, updated it twice and proceeded for Windows updates. No issues, device manager has no conflicts. HOWEVER, the machine is running no apps (they aren't even installed!) and taskmanager reports 100% cpu usage and no processes running except system idle which jumps from 97 to 99% repeatedly. Somehow I managed to revive the original drive (wrote zeroes to it and ran scandisk several times and it reports no errors now) and tried it with the same problem. I've gone so far as to install 98se (yuck) on the original WD drive and it is using about 28% cpu, again with virtually nothing installed. I ran stinger off a floppy as well as Norton several times so the drives and MBR would appear to be clean. The RAM is appearing properly on both OS's and always no applications running and no processes showing as using anything. I'm stumped.
Any advice is welcome.GlennVidia, first thanks for helping this dumbass out. I ran the memtest overnight with no issues. I just reinstalled XP on the new Maxtor drive. I am using the 2.03 drivers. I just installed PCAlert and it shows the following voltages: Vcore: 1.74, 3.3 is at 3.34, 5 is at 5.03 and 12 is at 12.18 with a cpu temp of 118F. I have installed no other apps including anti-virus. The cpu usage is bouncing between 44% and 65% cycling every second...you can set a clock to it. (Hopefully that triggers someone's memory?) No processes showing as using resources in task manager besides system idle and an occasional hit for task manager itself. Device manager has no issues. I changed the ide cable and reseated all cables to and from the mobo.
You mention usb...I'm not using any usb devices but will gladly kill it in DM if that is what you are suggesting for a test run. -
Why screensaver always causes my macbook 100% cpu usage
screensaver always causes my macbook 100% cpu usage, my mac is ok when i use it, but when i leave it once the screensaver starts to run, the cpu fan start to rock and roll my desk which seems the cpu usage achieve 100%, it will be ok once it come back from screensaver, can someone help me on that? Thank you very much!!!!
Resetting an Apple portable's System Management Controller (SMC)
http://docs.info.apple.com/article.html?artnum=2238 -
100% CPU usage... does anyone else get this?
Here is my code. I would have simplidied it for you... but I honestly have no idea where it went wrong.
One second it is running fine, the next it starts taking up 100% of my CPU cycles. I can't figure out what I did to it to make it do this... nothing I added creates an infinite loop or infinite threads. It's just... weird.
The code is probably too big for anyone to look at and tell me what's wrong, but can someone else download it and tell me if you also get 100% CPU usage? It needs to be run on Windows... it uses a couple JNI calls that are Windows-specific. Those calls were the first place I looked when trying to find the problem, but I have not changed that part of the code for a long time, and it has never been a problem before.
Don't run the bat file... just navigate to the Watchdog2 directory and do 'java Watchdog'.
Are there any tools that can help me figure out where the program is getting hung up? It's not freezing at any specific spot... just moving super slow and taking up 100% of my CPU. I'm so confused...
Message was edited by:
L4E_WakaMol-KingNevermind!
Sorry for the trouble. The problem was that last time I compiled the code, it reverted back to and older version of a class I had compiled days ago. Why it did this is totally beyond me... but it did, and it just so happens that the old version of that class combined with the new version of my program were the perfect recipe for an infinite loop.
Seriously, if you are in inveterate debugger, you might get a good laugh out of this. I've spent the last week and a half trying to find a way to set the Windows console into cbreak mode (single character processing rather than line-at-a-time processing), and I finally managed to do it by writing some c code and putting it into a DLL with the JNI. So now my program (which runs from the console) can process each character as it is entered rather than waiting for a line return. The older version of the class that got reverted was one that used System.in rather than the input stream generated by the socket. I had set it to System.in for testing purposes, and apparently that testing version is the one it got reverted back to. So combine the two, and you have a console that is feeding System.in each character as it is pressed and a socket wrapper that is listening infinitely. It was a mess... but an uncannily serindipitous mess...
Ahh... debugging... good time... -
Crystalras.exe consuming 100% CPU usage
Hi everyone,
When we try to open an instance of one of our Crystal reports from InfoView, the crystalras.exe process runs at 100% CPU usage and the report never shows up. After a few minutes, we get the following message:
The request timed out because there has been no reply from the server for 600,000 milliseconds.
Does anyone know where the problem could come from? Could this be because the report is retrieving too much data?
Thanks in advance for any help.Dear Both,
I traced the RAS server as suggested by Tim and obtained a log that - I have to admit - is quite difficult for me to understand. Could I send it to one of you for examination? Thanks in advance.
Ted, please find below my answers to your questions:
Just to close out possible data source issues, are the reports going against Business Views or Universes?
The report is based on Business Views.
Do you have Processing Extensions specified for the reports?
Sorry but what are Processing Extensions?
Also, when you checked in the Crystal Reports Designer, was it Designer installed on the same machine where the page server and RAS server is running?
Yes, it is installed on the same machine.
Also, since it affects both Page Server and RAS, it may require CRPE traces to get to the bottom of this (CRPE - 'creepy' - is the CR engine used by both the Page and RAS server).
I will certainly open a case with SAP to have them help me on that.
Thank you both for your help. It is very appreciated. -
DotMac Translator 100% CPU usage
During the last few weeks I have a process called dotMac translator running and it's taking 100% CPU usage, I can kill the process off but it just comes back after about 10 minutes.
Does anybody have any ideas on what's causing this and how to fix it.
Thanks
MacBook Mac OS X (10.4.10)run the 'top' utility and see what the processes are. You will certainly see some oracle procs in the list. can you post back the output here so we can review it?
Also run the command vmstat 10 130 whilst the cpu is at 100% and post back.
rgds
alan -
Queue consumer stops with 100% cpu usage
I'm trying to use Berkeley DB queue with transactions. When I tested what happens when transactions with DB_APPEND are aborted I found that while it works and DB_CONSUME correctly skips over rolled back records, unfortunately extents that have those records are never deleted, which causes database to always grow. Next I tried DB_CONSUME with database opened using DB_INORDER flag and it seems there's a serious regression in Berkeley DB that causes it to loop indefinitely with 100% cpu usage when it encounters a rolled back record. I tested various versions and found that this bug doesn't happen with 5.1.29, but it is reproducible with 5.2.42, so this regression might have been introduced in 5.2. I have also tested 5.3 and 6.0, and both have this behavior. There may be something wrong with the way queue records are rolled back, one indication of that would be that in 5.1.29 doesn't have neither of the two problems I found with DB_QUEUE: extents are deleted after being consumed, and there are no issues when consuming with DB_INORDER either.
You can find Python code to reproduce this issue here:
https://gist.github.com/snaury/027a3c546f5b0a62a440
Sorry for using Python and not e.g. C++, but it's a lot shorter that way.We have looked at the issues and they are valid. We will roll the fixes out for this in our next release of BDB. The test case was very useful and really helped to speed the process up. If you have any questions, please contact me directly at [email protected] Thanks again for bringing this to our attention.
thanks
mike
Maybe you are looking for
-
How do I share an aperture library with multiple users?
I have Aperture on a macbook pro that is my wife's primary computer. I purchased an imac for our family and to get our pictures on a static desktop. I unintentionally migrated her as a user to the family imac. This is fine as my primary goal was to g
-
Microphone​s not working at all.
hi, im having some issues regarding the built in microphone as well as external mics not working at all. The computer seems to register the mics there, but they just dont seem to work . ive tried troubleshooting and following all the guidelines on th
-
I got rid of my old computer (too slow) and bought a new laptop. I have iTunes on my laptop but my phone doesn't let me transfer files to it. Help, please.
-
Tv/ sky and maybe Playstation 2 on a mac
hi there guys! just wondering if there was any hardware that allows me to connect my imac to sky or ps2 via scart so i can use it as a tv when im not doing work. please let me know many thanks, too anyone that can help
-
Problem with web service, throwing errors.
Hi all, Need help on this. I have deployed webservice on oc4j, and while testing it is throwing NoClassDefFound exception in oracle/jdbc/pool/OracleDataSource.class. I have java 1.6 and oracle 11g, so i included ojdbc6.jar in the classpath and also s