Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1011642.1
Update Date:2009-01-14
Keywords:

Solution Type  Problem Resolution Sure

Solution  1011642.1 :   Sun Enterprise[TM] 10000 cvcd (virtual console daemon) uses up 100% of a CPU  


Related Items
  • Sun Enterprise 10000 Server
  •  
Related Categories
  • GCS>Sun Microsystems>Servers>High-End Servers
  •  

PreviouslyPublishedAs
215963


Symptoms
A customer called in to complain that his cvc daemon was using 12.5% CPU
time on his 8-CPU machine, which amounts to a whole CPU.
We compared this with our lab machine and found that our cvc daemon was using 25% CPU time on our 4 CPU machine.
We confirmed this as follows:
# /usr/ucb/ps -auxww
USER       PID %CPU %MEM   SZ  RSS TT       S    START  TIME COMMAND
root         8 25.0  0.1  592  408 ?        O   Aug 20 39102:40
/sbin/cvcd
...
# mpstat 5
...
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt
idl
0    0   0    0   203    3   20    0    0    0    0     0    0   0   0
100
1    0   0    0     2    0    2    2    0    0    0     0  100   0
0   0
2    0   0    0     0    0   28    0    0    0    0     7    0   0   0
100
3    1   0   51     0    0   28    0    0    0    0     2    0   0   0
10


Resolution
After looking at:
Bug ID: 4171670, we decided to check /etc/nsswitch.conf and
/etc/hosts.

We fixed this by changing his /etc/nsswitch.conf file's "hosts" line to
read:

hosts:
files nisplus dns

and then stopping & restarting the cvc daemon:

# /etc/init.d/cvc stop
  stopping Network Console
# /etc/init.d/cvc start
  starting Network Console


The CPU usage of the cvc daemon is now restored to a more normal level:
# /usr/ucb/ps -auxww
  USER       PID %CPU %MEM   SZ  RSS TT       S    START  TIME COMMAND
  root     20353  0.3  0.5 2136 2064 pts/0    O 17:00:01  0:00 /usr/ucb/ps
-auxww
  root     20351  0.1  0.2  936  712 ?        S 16:59:54  0:00 /sbin/cvcd
  ...

Product
Sun Enterprise 10000 Server

Internal Comments
I've seen the changes to /etc/nsswitch.conf mentioned in the "E10000 System
Administration" (course# ES400) student guide, however this needs to be
included in the "Sun Enterprise[TM] 10000 Hardware Installation and
De-Installation Guide" (PN# 805-4651-11) section 6.3 at the bottom of page
6-14.

cvc, cvcd
Previously Published As
17782

Change History
Date: 2006-07-26
User Name: 71396
Action: Add Comment
Comment: *** This is an automatic message. This document has received 0 hits in Sunsolve in 60 days (see http://krep.emea.sun.com/stats/dochistory.cgi?docid=17782 ). If it does not receive any hit in the next 30 days, it will be automatically archived. See http://kmo.central.sun.com/VAM/ for further details. ***
Version: 0
Date: 2004-10-25
User Name: 71396
Action: Approved
Comment: Reviewed, added product name in title, publishing.
Version: 3

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback