Panic strings

  • Permalink
  • submit to reddit
  • Email
  • Follow


Hi

We have a 480R server running Solaris 8 (108528-20) and over the last
few months the server has been crashing.

Each crash has produced a dump and the panic strings in SCAT vary:

mutex_destroy: bad mutex
rw_exit: lock not held
page_unlock: page 310071f14c0 is not locked
mutex_exit: not owner

There are no obvious hardware errors in the logs so I'm assuming this
is an OS/application problem.

Does anyone know what these panic strings are pointing to?

Thanks

Nelly Boy
0
Reply jimmythejones (2) 3/25/2010 7:44:53 PM

See related articles to this posting


Nelly Boy wrote:
> Hi
> 
> We have a 480R server running Solaris 8 (108528-20) and over the last
> few months the server has been crashing.
> 
> Each crash has produced a dump and the panic strings in SCAT vary:
> 
> mutex_destroy: bad mutex
> rw_exit: lock not held
> page_unlock: page 310071f14c0 is not locked
> mutex_exit: not owner
> 
> There are no obvious hardware errors in the logs so I'm assuming this
> is an OS/application problem.
> 
> Does anyone know what these panic strings are pointing to?
> 
> Thanks
> 
> Nelly Boy

What changed in the days or weeks immediately preceding the 
manifestation of the problem?  IOW, it is most unlikely that the system 
is responding to the phases of the moon or similar foolishness.  Some 
change was probably made to the the software or, less likely, to the 
hardware and that change is responsible for your problem(s).

A "mutex" is a "Mutual Exclusion" semaphore.  It tells you that some 
resource is being used by another process and that you should not 
attempt attempt to use that resource until you can obtain exclusive use 
for your process.  "bad mutex" suggests that the mutex has been overwritten.
0
Reply Richard 3/25/2010 10:46:35 PM

Nelly Boy <jimmythejones@googlemail.com> wrote:
> Hi
> 
> We have a 480R server running Solaris 8 (108528-20) and over the last
> few months the server has been crashing.

so you are running a server that has not been patched for 7 years?

> Each crash has produced a dump and the panic strings in SCAT vary:
> 
> mutex_destroy: bad mutex
> rw_exit: lock not held
> page_unlock: page 310071f14c0 is not locked
> mutex_exit: not owner
> 
> There are no obvious hardware errors in the logs so I'm assuming this
> is an OS/application problem.
> 
> Does anyone know what these panic strings are pointing to?

only information you give to think is that why have you not patched
the system for 7 years? 

and if you ask what are the panic strings pointing to, please atleast
give the panic string.

Sami
0
Reply Sami 3/26/2010 12:20:54 AM

Hi,

Nelly Boy wrote:
> Hi
> 
> We have a 480R server running Solaris 8 (108528-20) and over the last
> few months the server has been crashing.
> 
> Each crash has produced a dump and the panic strings in SCAT vary:
> 
> mutex_destroy: bad mutex
> rw_exit: lock not held
> page_unlock: page 310071f14c0 is not locked
> mutex_exit: not owner
> 
> There are no obvious hardware errors in the logs so I'm assuming this
> is an OS/application problem.
> 
> Does anyone know what these panic strings are pointing to?

These panic messages are the result of some broken kernel module which
is accessing data which is does not own.
You'll need to look at the stack trace (shown in the messages after
the initial panic string) to identify the involved kernel modules.

If these panics have started "suddenly" then it looks like you've
installed (or activated) some new driver or patched an existing one.

Please post a few stack traces (everything from /var/sadm/messages
between the initial "panic:" string and the first boot message
starting with SunOS...).

Apart from that: consider to move to a more recent Solaris release.
Solaris 8 is really old.

Bye,
  Wolfgang.
0
Reply Wolfgang 3/26/2010 12:29:59 PM

Thanks for the responses so far.

Heres the info from the messages log from the start of the panic to
the start of the reboot:

Mar 24 08:31:31 hostname unix: [ID 836849 kern.notice]
Mar 24 08:31:31 hostname ^Mpanic[cpu0]/thread=30005388c00:
Mar 24 08:31:31 hostname unix: [ID 920532 kern.notice] page_unlock:
page 310071f14c0 is not locked
Mar 24 08:31:31 hostname unix: [ID 100000 kern.notice]
Mar 24 08:31:31 hostname genunix: [ID 723222 kern.notice]
000002a10089d2b0 unix:page_unlock+d8 (1041c878, 310071f14c0, ffbea000,
1, 3000016aa18, ffbe0001)
Mar 24 08:31:31 hostname genunix: [ID 179002 kern.notice]   %l0-3:
00000310010ab4c0 0000031001ed8ff8 000000b0f1ad8ff8 000000b0f2c09c08
Mar 24 08:31:31 hostname   %l4-7: 000000b0f2c09c08 0000000000000000
0000031003009c08 0000031003009c08
Mar 24 08:31:31 hostname genunix: [ID 723222 kern.notice]
000002a10089d360 unix:page_release+134 (310071f14c0, 1, 2000, 0,
2a10089d4f0, 2000)
Mar 24 08:31:32 hostname genunix: [ID 179002 kern.notice]   %l0-3:
000000001045ee30 0000000000000000 0000000000000000 0000000000000000
Mar 24 08:31:32 hostname   %l4-7: 00600112a7970000 00000300087d4e18
00000310071f14c0 0000000000000001
Mar 24 08:31:32 hostname genunix: [ID 723222 kern.notice]
000002a10089d410 genunix:anon_private+1b8 (310078394c0, 2000,
30008bf23a0, 310071f14c0, 30008953cb8,
 0)
Mar 24 08:31:32 hostname genunix: [ID 179002 kern.notice]   %l0-3:
000000001010fe24 000002a10089d610 0000030005dacda0 00000000ffbe8000
Mar 24 08:31:32 hostname   %l4-7: 000000000000000f 0000030008c82200
0000000000000000 0000000000000000
Mar 24 08:31:33 hostname genunix: [ID 723222 kern.notice]
000002a10089d520 genunix:segvn_faultpage+7dc (30008953cb8,
30005dacda0, 7, 0, 0, 1)
Mar 24 08:31:33 hostname genunix: [ID 179002 kern.notice]   %l0-3:
000003000016aa18 0000000000000002 000003000574a5b8 0000030005e1ecd8
Mar 24 08:31:33 hostname   %l4-7: 00000000ffbe8000 ffffffffffffa000
000000000000000f 00000310071f14c0
Mar 24 08:31:33 hostname genunix: [ID 723222 kern.notice]
000002a10089d620 genunix:segvn_fault+860 (0, ffbea000,
ffffffffffffa000, 1, 2, ffbe8000)
Mar 24 08:31:33 hostname genunix: [ID 179002 kern.notice]   %l0-3:
00000000ffbe8000 0000000000002000 0000030005dacda0 000003000574a5b8
Mar 24 08:31:33 hostname   %l4-7: 000002a10089d7a8 0000000000000000
0000030005e1ecd8 000000000000ffff
Mar 24 08:31:34 hostname genunix: [ID 723222 kern.notice]
000002a10089d7f0 genunix:as_fault+3a4 (1, ffbe8000, 300053754f0, 2, 1,
0)
Mar 24 08:31:34 hostname genunix: [ID 179002 kern.notice]   %l0-3:
00000000100c5498 000003000016aa18 0000030005d9f810 0000000000002000
Mar 24 08:31:34 hostname   %l4-7: 00000000ffbe8000 00000000ffbe8000
0000030005dacda0 0000000000002000
Mar 24 08:31:34 hostname genunix: [ID 723222 kern.notice]
000002a10089d8f0 unix:pagefault+c4 (2, 0, 3000532c050, 30005d9f810,
ffbe8000, 0)
Mar 24 08:31:34 hostname genunix: [ID 179002 kern.notice]   %l0-3:
0000000010110a68 0000030002d63728 000003000305f318 000002a100013d20
Mar 24 08:31:34 hostname   %l4-7: 00000000102a4604 0000000000000000
0000000002ae196c 0000000000000001
Mar 24 08:31:35 hostname genunix: [ID 723222 kern.notice]
000002a10089d9b0 unix:trap+c60 (ffbe88ce, 5, ffbe8000, 10000,
2a10089dba0, 0)
Mar 24 08:31:35 hostname genunix: [ID 179002 kern.notice]   %l0-3:
00000000fec74654 0000000000000000 000003000532c050 0000000000000000
Mar 24 08:31:35 hostname   %l4-7: 0000000000010033 00000300053754f0
0000000000000001 0000000000000002
Mar 24 08:31:35 hostname unix: [ID 100000 kern.notice]
Mar 24 08:31:35 hostname genunix: [ID 672855 kern.notice] syncing file
systems...
Mar 24 08:31:37 hostname md_stripe: [ID 641072 kern.warning] WARNING:
md: d13: write error on /dev/dsk/c2t0d0s3
Mar 24 08:31:37 hostname md_stripe: [ID 641072 kern.warning] WARNING:
md: d23: write error on /dev/dsk/c2t1d0s3
Mar 24 08:31:38 hostname genunix: [ID 733762 kern.notice]  8
Mar 24 08:31:39 hostname genunix: [ID 733762 kern.notice]  3
Mar 24 08:31:40 hostname genunix: [ID 733762 kern.notice]  1
Mar 24 08:31:53 hostname last message repeated 8 times
Mar 24 08:31:53 hostname genunix: [ID 616637 kern.notice]  cannot sync
-- giving up
Mar 24 08:31:54 hostname genunix: [ID 353387 kern.notice] dumping to /
dev/md/dsk/d1, offset 1677983744
Mar 24 08:33:01 hostname genunix: [ID 409368 kern.notice] ^M100% done:
78076 pages dumped, compression ratio 2.75,
Mar 24 08:33:01 hostname genunix: [ID 851671 kern.notice] dump
succeeded
Mar 24 08:34:00 hostname genunix: [ID 540533 kern.notice] ^MSunOS
Release 5.8 Version Generic_108528-20 64-bit
Mar 24 08:34:00 hostname genunix: [ID 913632 kern.notice] Copyright
1983-2003 Sun Microsystems, Inc.  All rights reserved.

Heres the panic info from the crash dump:

SolarisCAT(vmcore.0/8U)> panic
panic on cpu 0
panic string:   page_unlock: page 310071f14c0 is not locked
==== panic user (LWP_SYS) thread: 0x30005388c00  PID: 478  on CPU: 0
====
cmd: /u01/oracle/product/9.2.0.1.0/bin/tnslsnr LISTENER -inherit
t_procp: 0x3000532c050
  p_as: 0x30005d9f810  size: 15187968  RSS: 3465216
  hat: 0x3000016aa18  cnum: 0x8ce
    cpusran: 0,1,2,3
t_stk: 0x2a10089daf0  sp: 0x10423081  t_stkbase: 0x2a10089a000
t_pri: 15(TS)  pctcpu: 0.101943
t_lwp: 0x300053754f0  machpcb: 0x2a10089daf0
psrset: 0  last CPU: 0
idle: 0 ticks (0 seconds)
start: Sun Mar 21 20:36:08 2010
age: 215723 seconds (2 days 11 hours 55 minutes 23 seconds)
tstate: TS_ONPROC - thread is being run on a processor
tflg:   T_PANIC - thread initiated a system panic
tpflg:  TP_TWAIT - wait to be freed by lwp_wait
tsched: TS_LOAD - thread is in memory
        TS_DONT_SWAP - thread/LWP should not be swapped
pflag:  SLOAD - in core
        SULOAD - u-block in core

pc:      unix:panicsys+0x44:   call     unix:setjmp

unix:panicsys+0x44(0x10054540, 0x2a10089d338, 0x10423a50, 0x1, 0x8, ,
0x9900001601, , , , , , , , 0x10054540, 0x2a10089d338)
unix:vpanic+0xcc(0x10054540, 0x2a10089d338, 0x0, 0x0, 0x0, 0x0)
unix:panic+0x1c(0x10054540, 0x310071f14c0, 0x20, 0x31003009c38,
0x31003009c3a, 0x2000)
unix:page_unlock+0xd8(0x310071f14c0, , 0xffbea000, 0x1, 0x3000016aa18,
0xffbe0001)
unix:page_release+0x134(0x310071f14c0, 0x1, 0x2000, 0x0,
0x2a10089d4f0, 0x2000)
genunix:anon_private+0x1b8(0x2a10089d610, 0x30005dacda0, 0xffbe8000,
0xf, 0x310071f14c0, 0x0)
genunix:segvn_faultpage+0x7dc(0x3000016aa18, 0x30005dacda0,
0xffbe8000, 0xffffffffffffa000, 0x0, 0x2a10089d7a8)
genunix:segvn_fault+0x860(0x3000016aa18, 0x30005dacda0, 0xffbe8000,
0x2000, 0x1, 0x2)
genunix:as_fault+0x3a4(0x3000016aa18?, 0x30005d9f810, 0xffbe8000, 0x1,
0x1, 0x2?)
unix:pagefault+0xc4(0xffbe8000?, 0x1, 0x2, 0x0, , 0x0)
unix:trap+0xc60(0x2a10089dba0?, 0xffbe8000, 0x10033?, 0xffbe8000?)
unix:user_rtt+0x0()
-- trap data  type: 0x10033 (USER + data access protection - page was
write protected)  rp: 0x2a10089dba0  --
pc:  0xfec74654 (userland)
npc: 0xfec74774 (userland)
  global:                       %g1         0xfec74644
        %g2 0xffffffffffffffff  %g3           0x1a44a0
        %g4         0xffbe8cc0  %g5                  0
        %g6                  0  %g7                  0
  out:  %o0             0x126c  %o1                  0
        %o2         0xffbe8664  %o3              0x550
        %o4            0x22408  %o5         0xfec74644
        %sp         0xffbe8128  %o7         0xfec74644
-- switch to user thread's user stack --

SolarisCAT(vmcore.0/8U)>

Thanks

Nelly Boy


0
Reply Nelly 3/26/2010 5:57:42 PM

Hi,

Nelly Boy wrote:
> Thanks for the responses so far.
> 
> Heres the info from the messages log from the start of the panic to
> the start of the reboot:
> 
> Mar 24 08:31:31 hostname unix: [ID 836849 kern.notice]
> Mar 24 08:31:31 hostname ^Mpanic[cpu0]/thread=30005388c00:
> Mar 24 08:31:31 hostname unix: [ID 920532 kern.notice] page_unlock:
> page 310071f14c0 is not locked
[...]
> 
> unix:panicsys+0x44(0x10054540, 0x2a10089d338, 0x10423a50, 0x1, 0x8, ,
> 0x9900001601, , , , , , , , 0x10054540, 0x2a10089d338)
> unix:vpanic+0xcc(0x10054540, 0x2a10089d338, 0x0, 0x0, 0x0, 0x0)
> unix:panic+0x1c(0x10054540, 0x310071f14c0, 0x20, 0x31003009c38,
> 0x31003009c3a, 0x2000)
> unix:page_unlock+0xd8(0x310071f14c0, , 0xffbea000, 0x1, 0x3000016aa18,
> 0xffbe0001)
> unix:page_release+0x134(0x310071f14c0, 0x1, 0x2000, 0x0,
> 0x2a10089d4f0, 0x2000)
> genunix:anon_private+0x1b8(0x2a10089d610, 0x30005dacda0, 0xffbe8000,
> 0xf, 0x310071f14c0, 0x0)
> genunix:segvn_faultpage+0x7dc(0x3000016aa18, 0x30005dacda0,
> 0xffbe8000, 0xffffffffffffa000, 0x0, 0x2a10089d7a8)
> genunix:segvn_fault+0x860(0x3000016aa18, 0x30005dacda0, 0xffbe8000,
> 0x2000, 0x1, 0x2)
> genunix:as_fault+0x3a4(0x3000016aa18?, 0x30005d9f810, 0xffbe8000, 0x1,
> 0x1, 0x2?)
> unix:pagefault+0xc4(0xffbe8000?, 0x1, 0x2, 0x0, , 0x0)
> unix:trap+0xc60(0x2a10089dba0?, 0xffbe8000, 0x10033?, 0xffbe8000?)
> unix:user_rtt+0x0()

This stacktrace is far too generic and therefore not really helpful
here.
Can you please provide the stack traces of the panics with the mutex
panic strings? Thanks.

If the mutex related panics are no longer available then you may
want to enable kernel memory debugging to see whether this reveals
more information on the next panic. This can be done be adding the
following line to /etc/system and rebooting the system to activate
the new setting:

set kmem_flags=0x2f

Bye,
  Wolfgang.
0
Reply Wolfgang 3/28/2010 1:51:04 AM

On 25/03/2010 6:20 PM, Sami Ketola wrote:
> Nelly Boy<jimmythejones@googlemail.com>  wrote:
>> Hi
>>
>> We have a 480R server running Solaris 8 (108528-20) and over the last
>> few months the server has been crashing.
>
> so you are running a server that has not been patched for 7 years?
>
>> Each crash has produced a dump and the panic strings in SCAT vary:
>>
>> mutex_destroy: bad mutex
>> rw_exit: lock not held
>> page_unlock: page 310071f14c0 is not locked
>> mutex_exit: not owner
>>
>> There are no obvious hardware errors in the logs so I'm assuming this
>> is an OS/application problem.
>>
>> Does anyone know what these panic strings are pointing to?
>
> only information you give to think is that why have you not patched
> the system for 7 years?
>
> and if you ask what are the panic strings pointing to, please atleast
> give the panic string.
>
> Sami

If he has been running smoothly for 7 years, patching isn't the root 
cause.  Nor would I recommend just patching up unless the more precise 
cause was known to be fixed by a patch.

No doubt something changed in SW somewhere.  In at least the way it is 
used or whatever.

-- 
--------------
Politicians don't provide anything, the tax payers do.
0
Reply Canuck57 3/28/2010 5:08:26 PM

Heres the stack trace from the mutex_destroy panic trace.

Thanks

Nelly Boy

SolarisCAT(vmcore.3/8U)> panic
panic on cpu 2
panic string:   mutex_destroy: bad mutex, lp=30003077de0
owner=2a10061dd20 thread=2a100605d20
==== panic kernel thread: 0x2a100605d20  PID: 0  on CPU: 2 ====
cmd: sched
t_procp: 0x10423e20(proc_sched)
  p_as: 0x10423d30(kas)
t_stk: 0x2a100605b10  sp: 0x10423081  t_stkbase: 0x2a100602000
t_pri: 60(SYS)  pctcpu: 0.000000
t_lwp: 0x0  psrset: 0  last CPU: 2
idle: 3 ticks (0.03 seconds)
start: Wed Mar 24 08:34:13 2010
age: 22039 seconds (6 hours 7 minutes 19 seconds)
tstate: TS_ONPROC - thread is being run on a processor
tflg:   T_TALLOCSTK - thread structure allocated from stk
        T_PANIC - thread initiated a system panic
tpflg:  none set
tsched: TS_LOAD - thread is in memory
        TS_DONT_SWAP - thread/LWP should not be swapped
pflag:  SSYS - system resident process
        SLOAD - in core
        SLOCK - process cannot be swapped
        SULOAD - u-block in core

pc:      unix:panicsys+0x44:   call     unix:setjmp
startpc: ce:ce_drain_fifo+0x0:   save   %sp, -0xc0, %sp

unix:panicsys+0x44(0x100544a8, 0x2a100605288, 0x10423a50, 0x1,
0x30004c54f40, , 0x4400001603, , , , , , , , 0x100544a8,
0x2a100605288)
unix:vpanic+0xcc(0x100544a8, 0x2a100605288, 0x2, 0x2, 0x30003076008,
0x30004c54f40)
unix:panic+0x1c(0x100544a8, 0x10415ee8, 0x30003077de0, 0x2a10061dd20,
0x2a100605d20, 0x30002d59f00)
unix:mutex_panic+0x5c(0x10415ee8, 0x30003077de0, 0x1, 0x1,
0x3000007cd80, 0x3000007ceb0)
unix:mutex_destroy(0x30003077de0) - frame recycled
ip:ire_inactive+0xec(0x30003077cc8?, , , 0x0, 0x3000a8fda40, 0x0)
ip:ire_refrele(0x30003077cc8) - frame recycled
ip:icmp_pkt_err_ok+0x230(, , , , 0x0, 0x0)
ip:icmp_unreachable+0x30(0x30003060818?, 0x30004c54f40?, , , 0x0, 0x0)
ip:ip_fanout_send_icmp(0x30003060738, , 0x5, 0x1047644c, 0x3, 0x3) -
frame recycled
ip:ip_fanout_udp+0xe50(0x30003060738, 0x30004c54f40, 0x3000305fc28,
0x3000437c050, 0x10472920?)
ip:ip_rput_local+0x16c0(0x30003060738?, 0x30004c54f40, 0x3000437c050,
0x30003076008, 0x0)
ip:ip_rput+0x12c4(0x148?, 0x300070744c0)
unix:putnext+0x1cc(0x30002db4990, 0x300070744c0?)
ce:ce_putnext_sap+0x2f4(0x30003067b10, , 0x30004c54f40, 0x30002d3d668,
0x1, 0x0)
ce:ce_send_up+0x900(0x30003067b10, 0x30004c54f40, 0x0, , , 0x0)
ce:ce_drain_fifo+0x40(0x300044a9a68, 0x0, 0x10423e20, 0x10423e20, 0x2,
0x0)
unix:thread_start+0x4()
-- end of kernel thread's stack --

SolarisCAT(vmcore.3/8U)>


0
Reply Nelly 3/28/2010 7:35:44 PM

Wolfgang Ley wrote:
> Hi,
> 
> Nelly Boy wrote:
>> Hi
>>
>> We have a 480R server running Solaris 8 (108528-20) and over the last
>> few months the server has been crashing.
>>
> 
> Apart from that: consider to move to a more recent Solaris release.
> Solaris 8 is really old.
>

The age of the software is probably not the issue here.  Solaris 8 is 
quite old but many of us here are older still! ;-)

The real issue with running S8 is that you can't get support from Sun.

If the OP upgrades to S10 and has the same problem, he will at least be 
able to get support.
0
Reply Richard 3/29/2010 12:27:27 AM

On 2010-03-28 18:08:26 +0100, Canuck57 said:

> If he has been running smoothly for 7 years, patching isn't the root 
> cause.  Nor would I recommend just patching up unless the more precise 
> cause was known to be fixed by a patch.
> 
> No doubt something changed in SW somewhere.  In at least the way it is 
> used or whatever.

Given that Oracle was running on the panicing CPU according to the 
crash dump output sent on 26 March... has Oracle changed?
-- 
Chris

0
Reply Chris 3/29/2010 6:13:17 AM

On 2010-03-29 01:27:27 +0100, Richard B. Gilbert said:

> Wolfgang Ley wrote:
>> Hi,
>> 
>> Nelly Boy wrote:
>>> Hi
>>> 
>>> We have a 480R server running Solaris 8 (108528-20) and over the last
>>> few months the server has been crashing.
>>> 
>> 
>> Apart from that: consider to move to a more recent Solaris release.
>> Solaris 8 is really old.
>> 
> 
> The age of the software is probably not the issue here.  Solaris 8 is 
> quite old but many of us here are older still! ;-)
> 
> The real issue with running S8 is that you can't get support from Sun.

S8 is in what Sun calls "retirement phase 2", but contract customers 
can still get (some) help. I *think* you can still open new support 
contracts, but I suspect it'll cost large amounts.

<http://www.sun.com/service/eosl/eosl_solaris.html>

<http://www.sun.com/software/solaris/lifecycle.xml>

> If the OP upgrades to S10 and has the same problem, he will at least be 
> able to get support.

You can also run Solaris 8 programs in a Solaris 8 container in Solaris 
10. There's a cost involved for the Solaris 8 container license.
-- 
Chris

0
Reply Chris 3/29/2010 6:21:50 AM

Richard B. Gilbert <rgilbert88@comcast.net> wrote:
> The real issue with running S8 is that you can't get support from Sun.

Sure you can. They might not make patches for S8 but they will provide
some help. All you need is a contract.


Sami
0
Reply Sami 3/29/2010 8:56:01 AM

Hi,

Nelly Boy wrote:
> Heres the stack trace from the mutex_destroy panic trace.
> 

Ensure that you've patch 116965-22 or newer on the system.

This is at least the best match on the panic stack trace (but
the real problem may still be elsewhere in which case a dump
with kmem_flags and more detailed analysis of the dump itself
would be required).

Bye,
  Wolfgang.
0
Reply Wolfgang 3/29/2010 12:33:58 PM

On Mar 29, 1:33=A0pm, Wolfgang Ley <newsp...@drusus.de> wrote:
> Hi,
>
> Nelly Boy wrote:
> > Heres the stack trace from the mutex_destroy panic trace.
>
> Ensure that you've patch 116965-22 or newer on the system.
>
> This is at least the best match on the panic stack trace (but
> the real problem may still be elsewhere in which case a dump
> with  kmem_flags and more detailed analysis of the dump itself
> would be required).
>
> Bye,
> =A0 Wolfgang.

Hi

Patch 116965 is not on the system.

Should kmem_flags be enabled on a production box?

Thanks

Nelly Boy
0
Reply Nelly 3/31/2010 2:09:52 PM

Nelly Boy <jimmythejones@googlemail.com> writes:

>On Mar 29, 1:33=A0pm, Wolfgang Ley <newsp...@drusus.de> wrote:
>> Hi,
>>
>> Nelly Boy wrote:
>> > Heres the stack trace from the mutex_destroy panic trace.
>>
>> Ensure that you've patch 116965-22 or newer on the system.
>>
>> This is at least the best match on the panic stack trace (but
>> the real problem may still be elsewhere in which case a dump
>> with  kmem_flags and more detailed analysis of the dump itself
>> would be required).
>>
>> Bye,
>> =A0 Wolfgang.

>Hi

>Patch 116965 is not on the system.

>Should kmem_flags be enabled on a production box?

No.  It requires a lot of additional memory and CPU
cycles.

Update your system.

Casper
-- 
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
0
Reply Casper 3/31/2010 2:44:30 PM

Hi,

Nelly Boy wrote:
> On Mar 29, 1:33 pm, Wolfgang Ley <newsp...@drusus.de> wrote:
>> Hi,
>>
>> Nelly Boy wrote:
>>> Heres the stack trace from the mutex_destroy panic trace.
>> Ensure that you've patch 116965-22 or newer on the system.
>>
>> This is at least the best match on the panic stack trace (but
>> the real problem may still be elsewhere in which case a dump
>> with  kmem_flags and more detailed analysis of the dump itself
>> would be required).
>>
>> Bye,
>>   Wolfgang.
> 
> Hi
> 
> Patch 116965 is not on the system.
> 
> Should kmem_flags be enabled on a production box?
> 

I would recommend to install patch 116965-22 or newer (reboot is
required after applying the patch) and then check whether this
already solves the problem.

kmem_flags should only be used for a limited time and only if the
above patch does not help.

Bye,
  Wolfgang.
0
Reply Wolfgang 3/31/2010 3:42:47 PM

On 2010-03-31, Nelly Boy <jimmythejones@googlemail.com> wrote:
> Patch 116965 is not on the system.

See http://sunsolve.sun.com/search/document.do?assetkey=1-21-116965-36-1

Andreas.
0
Reply comp 4/16/2010 9:56:52 AM
comp.unix.solaris 25769 articles. 87 followers. Post

16 Replies
453 Views

Similar Articles

[PageSpeed] 1


  • Permalink
  • submit to reddit
  • Email
  • Follow


Reply:

Similar Artilces:

&quot;dont panic&quot; blinking string...
Hello fans of DA, &nbsp; following a discussion with a friend, and after having purchased the Deluxe edition of the "ultimate Hichthicker guide", we decided we need a handheld device, with "dont panic" written in big letters, with the text changing color all the time! so i sat to the task, putting this code into the timout event. <img src="http://forums.ni.com/attachments/ni/170/267357/1/Control%20experiment.png"> But, when you run it, its not so nice, as the colors change totally randomely, and i would like it to change very smoothly from one color to ...

List::MoreUtils::each_arrayref: "semi-panic: attempt to dup freed string"
Kindly consider, if you will, the following code which illustrates my question about List::MoreUtils (which reminds me, I haven't seen Tassilo around here recently)... #!/usr/bin/perl use strict; use warnings; use List::MoreUtils qw{ each_arrayref }; my $ea = each_arrayref ([1..26],["A".."Z"]); while ( my ($a, $b) = $ea->() ) { #[this is line 6] print "$a\t$b\n"; } __END__ Which is a convoluted way to do this (but I expect the same result): perl -e 'printf ("%s\t%s\n", $_, chr($_ + 64)) for (1..26)' But instea...

perl 10^9 long strings of packed floats, getting 'panic: memory wrap' that didn't use to happen before
Dear all. I've had a simple way of creating array of floats: my $xfArray=((pack "f1", 0.0) x $nSize); I was able to create up to 10^9 long arrays of floats and pass them to perl inline c for further processing. One beautiful day, I started getting message: panic: memory wrap at prepare_chisqr_fastG3.pl line 917. I thought this is due to fragmented memory on servers as some of them aren't rising this error. Then I tried ordinary MALLOC in C which was able always allocate the desired amount of memory. My question is what could have happened? I've been tryi...

string A = string A + string B (adding strings)
Hi, how can I perform the operation of adding string to string. string_A = string_A + string_B In particular I have to do: handles.hsl_current_string{1}(hsl_current_value{1}, :) = [handles.hsl_current_string{1}(hsl_current_value{1}, :), ' ' z1_value, ' ' z2_value, ' ' z_value] where: string_A = handles.hsl_current_string{1}(hsl_current_value{1}, :) string_B = ' ' z1_value, ' ' z2_value, ' ' z_value I am dealing with GUI, string_A is the value of the listbox, and string_B is the value I would like to add to the string_B and rep...

Strings, Strings and Damned Strings
I have an int variable (always <100) that I want to convert to a two character string, e.g. if myint = 1, mystr = "01" if myint = 81, mystr = "81" At the moment I can't figure out how to do this cleanly. Then I wish to push a bunch of these strings into an array, for example: typedef char LABEL[3]; LABEL mystrArray[100]; But having read a couple of tutorials I am still no clearer on the best way to do an "array of strings" in this situation, nor how to do it. Any help much appreciated! cheers, Ben Ben wrote: > I have an int variable (always &...

Strings, STRINGS, and crazy strings!
Oh my head... Someone, please bail this choking programmer out of a fix. Here's what I got. 1. A multi-line Textbox control. 2. Enter 3 lines of text (each line separated by hitting the Enter key). 3. In my routine, I transfer the Textbox.text into a string variable, say sString. 4. Then I parse this string with my Parsestring routine that places each individual string into an array called sWords() and the string count into lCount. 5. Next is a For/Next loop to print each string found in sWords() at the same starting point on my Picturebox control (the textbox is in this conta...

string.fine(string+string...
Hi after reading the docs, I was hoping this would work, but I can't find out why. string a = "I "; string b = "am"; int ego; if(sentence.find((a+b).c_str(),0)!= string::npos) ego++; from the docs **************** size_type find( const string& str, size_type index ); size_type find( const char* str, size_type index ); size_type find( const char* str, size_type index, size_type length ); size_type find( char ch, size_type index ); thanks Gary Wessle <phddas@yahoo.com> writes: > Hi > > after reading the docs, I was hoping this would work, ...

String[] to String
/* I am writing this class to see the output of:args.toString();I want to see if the toString() method on the String[] will convertthe array contents into one string or it will write out it's typename,i.e. the <code>Class</code> class' name.As observed, the output is[java.lang.String@1693e2;which looks like the array's underlying type's name and the startingmemory address.*/public class Ats /*implying Array To String */{ public static void main(String[] args) { if ( args.length == 0 ) System.out.println("Usage: ats arg1 [arg2 [arg3...]]"); else Syste...

when string is not a string
Curious javascript sample. Consider the following code: var s = "asd" var f = function() { return typeof(this) } An expression typeof(s) returns true (as it is expected), but f.call(s) returns false! To make matters worse consider the following snippet: var s = "asd" var f = function() { return this instanceof String } An expression f.call(s) returns true, but (s instanceof String) returns false! The question is why call transforms this to an object? Is it made for unification, e.g. to make this iterable using 'for (var i in this)' loop?...

String or string
I am doing something where I do=20 If "force" || "spells" Puts "blah" When I use it it gives a warning about comparing strings, what's happening a= nd how do I fix it? Scratch.mit.edu. Go there! -gbear605= It doesn't seem to mind if those are pre-assigned ... ruby-1.9.2-p0 > if "force" || "spells" ruby-1.9.2-p0 ?> puts "blah" ruby-1.9.2-p0 ?> end (irb):3: warning: string literal in condition (irb):3: warning: string literal in condition blah => nil ruby-1.9.2-p0 > f = "forc...

Panic! Panic!
Ok, I installed 8.3. Everything seemed fine until I hit "load recent scene" ... "object loading failed". Same for an amount of scenes. Loading the object on its own doesn't work either - both in layout and modeler. Tried a variety of recent objects unsuccessfully, although they still load fine in 7.5. Other objects WILL load in 8.3... I have the feeling it's refusing to load those I had saved in 8.2. Extremely disappointed. Can anyone confirm this? ADP. had an issue like that some time ago but then with saving objets. The cause of my problem was SmartMorph, ...

string of strings...
I got an array of id's : ids = [22443, 22468, 22371, 22218, 22472, 22377, 22245] I would like to get a string of strings (to be used in SQL WHERE..IN clause " '22443' , ' 22468' , ' 22371' , ' 22218' , '22472' , '22377' , '22245' " If a use ids.join(','), I get "22443,22468,22371,22218,22472,22377,22245" which is obviously not useful for SQL.... is there any shorcuts or should I concatenate each element ? thanks joss On 12/19/06, Josselin <josselin@wanadoo.fr> wrote: > I got an array...

string + string
Hi any idea why I am getting something like main.cpp:177: error: invalid operands of types ‘const char [11]’ and ‘const char [8]’ to binary ‘operator+’ when trying to compile something like int main(int argc, char* argv[]) { string a = ".........." + "......."; cout << a << endl; } how can I solve this, I have few lines and use + to concatenate them together. thanks Gary Wessle wrote: > Hi > > any idea why I am getting something like > > > main.cpp:177: error: invalid operands of types 'const char [11]' and 'const ch...

string = string(i:j) // string(k:n)
I have a case where subject line gives bad result, but temp_string = string(i:j) // string(k:n) string = temp_string does give expected results, what if anything does the standard say? David Frank wrote: > > I have a case where subject line gives bad result, but > > temp_string = string(i:j) // string(k:n) > string = temp_string > > does give expected results, what if anything does the standard say? If I remember correctly, this is one of the things that was not guaranteed to work in FORTRAN 77, but is (at least by the standard) in Fortran 90. Regards, Arje...

String function (counting string within a string)
Does anyone know of a string function in Access that will allow me to count the number of instances one string occurs within another? Or if there is some sort of word count function? If there is, I'm not aware of it. I've tried the following unsuccessfully ... SELECT *, (Len([myfield])-Len(Replace([myfield],' what_im_looking_to_count','')))/(Len(' what_im_looking_to_count')) AS KeywordFoundCountFROM tblYourTable; That'll find how many times the phrase what_im_looking_to_count occurs within the field called 'myfield' Thanks, Ralph Noble ralph_nobl...

idea: strings/string operations, fragment strings
I was sitting here idly thinking of something during the process of working more on my compiler. I know this is a little low level for here, but I thought it might have interesting properties worth mention... for all I know other implementations do similar anyways. in my implementation an important limit exists: strings are limited to 4095 characters. I had been thinking of this, and was thinking I could add longer strings, but then an idea came up. how about if instead of having the strings as single large blocks of memory, there are actually 2 types of strings: primitive strings, which are...

Embed a string in a string
Hi, I have a stored procedure that builds a query string as it goes through its code. So I pass in a where statement as a long string with a few criteria in it. Then I build some temporary tables and build other parts of the where statement as I go along. At one point I need to build a few AND statements but one of them contains a comparison of a string. Can someone tell me please how I embed a string within a string in sql. A small piece of very simplified code is below. The word MEZZ should be in quotation marks. Can anyone tell me how I can get it into quotation marks? The error I=...

2D String[][] to String[]?
I have a class that reads data from a table and returns a 2D String[][]. There are a number of times when it'll only need one column of data, in which case, a single array (String[]) would do. The method that will be doing this has enough in it that might change that I don't want to write 2 different methods. I've considered the idea that at one point I can combine the multiple column fields into a tab separated String, but then I need to iterate through the first array a 2nd time and split each line. Is there some way I can return a String[][], then if I only need one column o...

String to htmlFriendly string
Hi!I was wondering if anyone knows if there is a simple way to make astring html friendly within the address bar?What I mean is that my servlet has a string with odd characters+,-,*,^,etc and I am concerned that attaching it to the url (as inwww.mydomain.com?uid=dude&pwd=dkdf8&%*#dfj) will cause the link tobreak.So I am trying to figure out how to most easily convert the "pwd"field to an url friendly string, and back again so that the next pagecould use it.Thanks!!! tiewknvc9 wrote:> Hi!> > I was wondering if anyone knows if there is a simple way to make a> string...

2 string matrix, how to compare each string for A with each string from B ?
I have 2 string matrix A and B, each of them have all entries in several word strings, matrix A and B are not of the same length. I want to do this without usin FOR loop, cause it takes a lot of time. len1=length(A); len2=length(B); for i=[1:1:len1] a1=x1(i,:); for j=[1:1:len2] b1=x2(j,:); c=strcmp(a,b); end end This takes a lot of time cause I have more than 4000 entries matrices. Thank you Sinisa And in A alone there are no same strings. or in Balone there are no same strings. But most strings form A are in B but not all, and B have some strings that A ...

Finding a string in an other string, then..
I have a text $alltext, and want to find a specific string $stringtofind that is in the text. Then, I want the script to read a number that is right after the string. What is the best way to get it ? Thanks ! Joel <joel@hotmail.ru> writes: > I have a text $alltext, and want to find a specific string > $stringtofind that is in the text. > > Then, I want the script to read a number that is right after the > string. This sounds like a job for... Regular Expressions! Please read these documents: perldoc perlrequick perldoc perlretut perldoc perlre > What is the bes...

Embed a string into a string
Hello, I`d like to create 16 noisy images with imnoise. The param I want to use is salt & pepper. I wrote a little loop for this, which I can`t get to work properly: for i = 1:16 eval(['grayInoise_'num2str(i)'=imnoise(grayI,"salt & pepper");']); end I know that I can't use double quotes... it's just to let you know the problem. I cannot find the right syntax, I tried several things with no luck so far. How can i embed a string into a string ? thank you, Stephane On Jan 23, 11:18=A0pm, "St=E9phane " <jalisas......

string vs. String
My funky new compiler does not understand string, but it does understand String, so that this program gives the expected result: #include<iostream> #include<string> int main() { String a="Hello World"; cout<<a<<endl; return 0; } Is this a pecularity that I can ignore or is String different from string? Can I apply iterators on it? How portable is it. Does anybody familiar with the system (Open Watcom) know if and how I can obtain the usual std::string? -X Agent Mulder wrote: > My funky new compiler does not understand > string, but it does understa...

Splitting Strings in a map<string, string>
Hey guys, I'm new to cpp. Trying to split a string (on whitespace) into a map<string, string> and return map<string, string> from within a function. I've cobbled this together from examples on the web and experimenting myself: map<string, string> get_areas_groups() { const char* file_name = "areas_groups.txt"; // area_group should be a string that looks like this: xxx xx // Three chars a space followed by two chars. string area_group; // ag is a mapping of xxx to xx map<string, string> ag; ifstream fin (file_name); ...