Re: solaris 10 hrStorageUsed problem

Tommi Lätti <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Nokia-BI/Tokyo
Message-ID <[email protected]>
ext Thomas Anders wrote:
> Tommi Lätti wrote:
>> Got some problems with solaris 10 monitoring. I've now tried the 5.0.9 
>> from Sun, 5.4 relase and the nightly tarball from
> 
> Which nightly tarball? 5.4.x or trunk (main)?

trunk, net-snmp-svn-main_20070619_0311.tar

> Does the client (snmpgetbulk/snmpbulkwalk etc.) hang or the agent? Your
> wording points to the client, but the output looks like from the agent.

agent, sorry about being a bit ambiguous.

> It looks like the system has problems with a single file system, perhaps
> a NFS server?
 > Can you pinpoint the problem to a single snmpget/snmpgetnext call?

It actually changes now that I did some hammering with snmpget, 
sometimes the agent hangs on hrStorageUsed.38 (or actually anything over 
38). Target seems to move a bit...

 > What's the output of "df" on this box?

df:

/                  (/dev/md/dsk/d0    ):118971344 blocks  7770315 files
/devices           (/devices          ):       0 blocks        0 files
/system/contract   (ctfs              ):       0 blocks 2147483610 files
/proc              (proc              ):       0 blocks    29910 files
/etc/mnttab        (mnttab            ):       0 blocks        0 files
/etc/svc/volatile  (swap              ):20727200 blocks  1194439 files
/system/object     (objfs             ):       0 blocks 2147483459 files
/platform/sun4u-us3/lib/libc_psr.so.1(/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1):118971344 
blocks  7770315 files
/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1(/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1):118971344 
blocks  7770315 files
/dev/fd            (fd                ):       0 blocks        0 files
/tmp               (swap              ):20727200 blocks  1194439 files
/var/run           (swap              ):20727200 blocks  1194439 files
/[hadtocensor](tonfs08:/vol/vol2/[hadtocensor]):450055904 blocks 
24357196 files
/[hadtocensor](tonfs07:/vol/vol1/[hadtocensor]):293884576 blocks 
15832797 files
/[hadtocensor](tonfs07:/vol/vol1/[hadtocensor]):293884576 blocks 
15832797 files
/[hadtocensor](tonfs07:/vol/vol1/[hadtocensor]):293884576 blocks 
15832797 files
/[hadtocensor]   (tonfs07:/vol/vol0/[hadtocensor]):792484272 blocks 
28281112 files
/[hadtocensor]    (tonfs07:/vol/vol1/[hadtocensor]):293884576 blocks 
15832797 files

Pretty messy, but that's what I get after jumpstart installation of 
sol10. I've tried the skipNFS switch in the config, makes a difference 
in the output but it still hangs.

HOST-RESOURCES-MIB::hrStorageDescr.31 = STRING: /
HOST-RESOURCES-MIB::hrStorageDescr.32 = STRING: /devices
HOST-RESOURCES-MIB::hrStorageDescr.33 = STRING: /system/contract
HOST-RESOURCES-MIB::hrStorageDescr.34 = STRING: /etc/svc/volatile
HOST-RESOURCES-MIB::hrStorageDescr.35 = STRING: /system/object
HOST-RESOURCES-MIB::hrStorageDescr.36 = STRING: 
/platform/sun4u-us3/lib/libc_psr.so.1
HOST-RESOURCES-MIB::hrStorageDescr.37 = STRING: 
/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
HOST-RESOURCES-MIB::hrStorageDescr.38 = STRING: /vol
HOST-RESOURCES-MIB::hrStorageDescr.39 = STRING: /[correct path]

The .38 has funny path though, shouldn't be /vol at all but point to a 
real mounpoint on the fs...

> Can you run "strace" against the agent and post the last couple of lines
> before it hangs?

hmm how did strace work on solaris again?

here's something from truss in the meantime:

time()                                          = 1182392413
pipe()                                          = 11 [12]
pipe()                                          = 13 [14]
schedctl()                                      = 0xFEC70000
fork1()                                         = 19387
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
close(11)                                       = 0
close(14)                                       = 0
close(12)                                       = 0
pollsys(0xFFBF4D60, 1, 0xFFBF4E38, 0x00000000) (sleeping...)

just before it hangs, seems to go back to the sleep cycle normally

-- 
best regards,
Tommi Latti
Nokia Japan
p. +81 3 5437 3308
f. +81 3 5740 6830

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.