Solaris Performance


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris Performance
# 1  
Old 04-21-2014
Solaris Performance

Dear All,

I have Sun OS 5.10 Solaris OS running.
Code:
SunOS **** 5.10 Generic_118833-36 sun4v sparc SUNW,Sun-Fire-T200

++There is a process named nscd utilizing high cpu not 100 though. Due to this the printer are delayed in printing and retreving information from this server
Code:
last pid: 21848;  load avg:  8.28,  8.42,  8.36;       up 41+19:28:17  16:57
291 processes: 285 sleeping, 6 on cpu
CPU states: 51.2% idle, 18.1% user, 30.7% kernel,  0.0% iowait,  0.0% swap
Memory: 16G phys mem, 5032M free mem, 8005M total swap, 8005M free swap

   PID USERNAME LWP PRI NICE  SIZE   RES STATE    TIME    CPU COMMAND
 16785 root      34  10    0 5016K 4504K cpu/9  136:36 29.22% nscd
 16904 root       1  22    0 5944K 5200K cpu/5    8:44  1.90% xprtlc
 16899 root       1  21    0 5944K 5200K sleep    8:43  1.90% xprtlc
 16903 root       1  21    0 5944K 5200K sleep    8:42  1.89% xprtlc
 16906 root       1  22    0 5944K 5200K cpu/13   8:43  1.88% xprtlc
 16905 root       1  22    0 5944K 5200K sleep    8:41  1.88% xprtlc
 16902 root       1   1    0 5944K 5200K cpu/9    8:41  1.87% xprtlc
 16901 root       1  21    0 5944K 5200K sleep    8:42  1.87% xprtlc
 16900 root       1  22    0 5944K 5200K sleep    8:42  1.87% xprtlc
 16898 root       1  22    0 5944K 5200K cpu/14   8:41  1.86% xprtlc
  8097 rf42       1  59    0 3457M 3191M sleep    0:07  0.19% oracle
 21834 root       1  49    0 3200K 2384K cpu/4    0:01  0.12% top
  1176 root       6  59    0 9432K 1064K sleep  736:13  0.07% elxhbamgr
  3076 rf14       1  59    0 3456M 3190M sleep    0:15  0.04% oracle
  8095 rf42       1  59    0   27M   21M sleep    0:01  0.03% rfprocemu

++Why is it nscd utilizing high resources? When i Kill it, it re-spawns a new nscd process

++When I do truss on the process it checks ipnodes,hosts file and does nothing:

Code:
/27:    stat("/etc/inet/ipnodes", 0xFD679CF0)           = 0
/28:    door_return(0xFD579DE0, 68, 0x00000000, 0)      = 0
/24:    lwp_park(0x00000000, 0)                         = 0
/28:    time()                                          = 1398117520
/24:    stat("/etc/inet/ipnodes", 0xFD979CF0)           = 0
/28:    stat("/etc/hosts", 0xFD579CF8)                  = 0
/24:    door_return(0xFD979DE0, 68, 0x00000000, 0)      = 0
/27:    lwp_unpark(24)                                  = 0
/24:    time()                                          = 1398117520
/27:    door_return(0xFD679DE0, 68, 0x00000000, 0)      = 0
/24:    stat("/etc/hosts", 0xFD979CF8)                  = 0
/27:    time()                                          = 1398117520
/24:    door_return(0xFD979DE8, 68, 0x00000000, 0)      = 0
/27:    stat("/etc/hosts", 0xFD679CF8)                  = 0
/24:    time()                                          = 1398117520
/28:    door_return(0xFD579DE8, 68, 0x00000000, 0)      = 0
/24:    stat("/etc/inet/ipnodes", 0xFD979CF0)           = 0
/28:    time()                                          = 1398117520
/24:    door_return(0xFD979DE0, 68, 0x00000000, 0)      = 0
/28:    stat("/etc/inet/ipnodes", 0xFD579CF0)           = 0
/24:    time()                                          = 1398117520
/29:    door_return(0xFD479DE8, 68, 0x00000000, 0)      = 0
/24:    stat("/etc/hosts", 0xFD979CF8)                  = 0
/29:    time()                                          = 1398117520
/28:    door_return(0xFD579DE0, 68, 0x00000000, 0)      = 0
/29:    stat("/etc/inet/ipnodes", 0xFD479CF0)           = 0
/28:    time()                                          = 1398117520
/24:    door_return(0xFD979DE8, 68, 0x00000000, 0)      = 0
/29:    door_return(0xFD479DE0, 68, 0x00000000, 0)      = 0
/24:    time()                                          = 1398117520
/29:    time()                                          = 1398117520
/24:    stat("/etc/inet/ipnodes", 0xFD979CF0)           = 0
/28:    stat("/etc/hosts", 0xFD579CF8)                  = 0
/24:    door_return(0xFD979DE0, 68, 0x00000000, 0)      = 0
^C/28:  lwp_unpark(29)                                  = 0
/29:    lwp_park(0x00000000, 0)                         = 0
/34:    door_return(0xFCEF9DE8, 68, 0x00000000, 0)      = 0
/28:    door_return(0xFD579DE8, 68, 0x00000000, 0)      = 0
/30:    time()                                          = 1398117520
/27:    door_return(0xFD679DE8, 68, 0x00000000, 0)      = 0
/24:    time()                                          = 1398117520
/33:    door_return(0xFCFF9DE8, 68, 0x00000000, 0)      = 0
/26:    door_return(0xFD779DE8, 68, 0x00000000, 0)      = 0
/31:    door_return(0xFD279DE8, 68, 0x00000000, 0)      = 0


++How do i kill this process and reduce performance issue.

Regards,
Sunil.

Last edited by DukeNuke2; 04-21-2014 at 07:13 PM..
# 2  
Old 04-21-2014
What happens after a reboot of the system or a restart of the nscd service? How is your nscd.conf file looking?

Last edited by DukeNuke2; 04-21-2014 at 07:24 PM..
# 3  
Old 04-21-2014
Code:
# cat /etc/nscd.conf
#
# Copyright (c) 1994-2001 by Sun Microsystems, Inc.
# All rights reserved.
#
#ident  "@(#)nscd.conf  1.6     01/01/26 SMI"
#

#
#       Currently supported cache names: passwd, group, hosts, ipnodes
#           exec_attr, prof_attr, user_attr
#

#       logfile                 /var/adm/nscd.log
#       enable-cache            hosts           no

        debug-level             0

        positive-time-to-live   passwd          600
        negative-time-to-live   passwd          5
        suggested-size          passwd          211
        keep-hot-count          passwd          20
        old-data-ok             passwd          no
        check-files             passwd          yes

        positive-time-to-live   group           3600
        negative-time-to-live   group           5
        suggested-size          group           211
        keep-hot-count          group           20
        old-data-ok             group           no
        check-files             group           yes

        positive-time-to-live   hosts           3600
        negative-time-to-live   hosts           5
        suggested-size          hosts           211
        keep-hot-count          hosts           20
        old-data-ok             hosts           no
        check-files             hosts           yes

        positive-time-to-live   ipnodes         3600
        negative-time-to-live   ipnodes         5
        suggested-size          ipnodes         211
        keep-hot-count          ipnodes         20
        old-data-ok             ipnodes         no
        check-files             ipnodes         yes

        positive-time-to-live   exec_attr       3600
        negative-time-to-live   exec_attr       300
        suggested-size          exec_attr       211
        keep-hot-count          exec_attr       20
        old-data-ok             exec_attr       no
        check-files             exec_attr       yes

        positive-time-to-live   prof_attr       3600
        negative-time-to-live   prof_attr       5
        suggested-size          prof_attr       211
        keep-hot-count          prof_attr       20
        old-data-ok             prof_attr       no
        check-files             prof_attr       yes

        positive-time-to-live   user_attr       3600
        negative-time-to-live   user_attr       5
        suggested-size          user_attr       211
        keep-hot-count          user_attr       20
        old-data-ok             user_attr       no
        check-files             user_attr       yes


++Above is nscd.conf file after nscd re-start


Regards,
Sunil

Last edited by DukeNuke2; 04-22-2014 at 02:51 AM..
# 4  
Old 04-21-2014
You can disable nscd with
Code:
svcadm disable svc:/system/name-service-cache:default

But I fear this won't improve performance (or make it worse).
There is too much time spent in the kernel (%sys).
Apply a patch cluster!
# 5  
Old 04-22-2014
I re-started nscd daemon. The performance is improved now.

Thanks for yor help Germany..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 performance optimization tips

Hi, I need general tips for solaris 11 performance optimization. For example - disable the unused services, etc. Thanks, Bhavin (2 Replies)
Discussion started by: bhavin1
2 Replies

2. Solaris

Solaris 11.1 Slow Network Performance

I have identical M5000 machines that are needing to transfer very large amounts of data between them. These are fully loaded machines, and I've already checked IO, memory usage, etc... I get poor network performance even when the machines are idle or copying via loopback. The 10 GB NICs are... (7 Replies)
Discussion started by: christr
7 Replies

3. Solaris

T4-1/Solaris 11 and sudden 50% performance drop

We have a SPARC T4-1 server, running Solaris 11, and it's doing some pretty extensive parsing on roughly 100GB data set. All was well still few weeks ago, when I was testing the performance, I was reaching rougly 50minute calculation times, and it was more or less expected performance. Now... (0 Replies)
Discussion started by: julumme
0 Replies

4. Solaris

Solaris Performance tuning

Dear all, I have a Local zone , where users feel that performance is not good. Is it wise to collect the inputs from the local zone rather than taking from the global zone. And also Can I tune from Global zone , so that it will reflect in local zone. Rgds rj (2 Replies)
Discussion started by: jegaraman
2 Replies

5. Solaris

solaris performance

Dear all, I have a solaris 10 server , which is running web applications and webspere also is available. All the parameters like Virtual memory , swap , hard disk space and Cpu utilisation and I/o statistics are good , but still the server is slow. It has 2 processores and 128 VPs. ... (3 Replies)
Discussion started by: jegaraman
3 Replies

6. Solaris

How I can get System Performance on Solaris

Hi All, Can someone help me out knowing all commands for getting system performance on Solaris machines. Thanks in advance, Yagami Light. (5 Replies)
Discussion started by: Yagami
5 Replies

7. Solaris

Help! Performance Threshold for Solaris 8,9,10

hi, I am trying to determine a 'rule of thumb' threshold for memory usage on different Solaris versions. I know that prior to Solaris 8, "page scan rate > 300" can be used as a general rule of thumb to determine any memory shortages. Since Solaris 9 and 10 have a different memory handling... (2 Replies)
Discussion started by: bwclu
2 Replies

8. Solaris

Enhance Sun Solaris 10 performance ?

Guys where can i find values to add in /etc/system to make sun solaris 10 working better ? im sure there is alot of values but i dont know from where i can find them if you know any please send direct and if you know another sites send links to it, thanks so much. (5 Replies)
Discussion started by: XP_2600
5 Replies

9. UNIX Desktop Questions & Answers

oracle performance on solaris 8

Good evening all, I have a very interesting issue. I have an oracle database on unix and nt. The dba says that his delete process runs in 22 mins on nt. When I run the same delete process on unix, it run in an hour. I downloaded sarcheck to see what was going on. It told me abpout the autoup... (3 Replies)
Discussion started by: niasdad
3 Replies
Login or Register to Ask a Question