not sure if it is specific to this laptop, to my general setup, i have
a OpenSolaris 2009.06 version that will hang, after some time of
inactivity.  "hang" here means that moving the mouse, or keyboard,
will not reactivate the front end again, and no matters how long i
waited for the reactivation, noth   not really sure if it is
application caused or not, but I suspect it very likely due to the
hibernation mode kicking it.

But pinging it and it will respond, and ssh into it is possible as
well.   so I ssh in and collected the following info:

prstat -s rss:

   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP
  2655 tteikhua  414M  186M sleep   59    0   0:03:00 0.0% firefox-bin/11
  2252 root      420M  111M sleep   59    0   0:00:41 0.0% Xorg/1
  2327 noaccess   90M   82M sleep   59    0   0:00:10 0.0% java/18
  2551 root      163M   42M sleep   49    0   0:00:01 0.0% nautilus/2
  2589 root      139M   20M sleep   49    0   0:00:00 0.0% mixer_applet2/2
  2553 root      140M   20M sleep   59    0   0:00:00 0.0% gnome-power-man/1
  2726 root      137M   20M sleep   49    0   0:00:00 0.0% gnome-terminal/2
  2571 root      138M   19M sleep   59    0   0:00:00 0.0% nwam-manager/2
  2548 root      138M   18M sleep   59    0   0:00:00 0.0% gnome-panel/1
  2585 root      136M   18M sleep   59    0   0:00:01 0.0% wnck-applet/1
  2618 root      136M   17M sleep   59    0   0:00:00 0.0% notification-da/1
  2509 root       78M   16M sleep   59    0   0:00:00 0.0% gnome-settings-/2
  2575 root       74M   16M sleep   59    0   0:00:00 0.0% gtk-window-deco/1
  2560 root       21M   15M sleep   59    0   0:00:02 0.0% compiz-bin/1
     9 root       15M   13M sleep   59    0   0:00:07 0.0% svc.configd/27
     7 root       16M   13M sleep   59    0   0:00:01 0.0% svc.startd/13
  2591 root      131M   11M sleep   59    0   0:00:00 0.0% trashapplet/1
  2552 root      131M   11M sleep   59    0   0:00:00 0.0% ospm-applet/1
  1848 root       18M   10M sleep   59    0   0:00:00 0.0% fmd/24
  2588 root       69M   10M sleep   59    0   0:00:00 0.0% notification-ar/1
  2494 root       68M 8340K sleep   59    0   0:00:00 0.0% gnome-session/2
  2506 root     8528K 6324K sleep   59    0   0:00:00 0.0% gconfd-2/1
  2662 tteikhua 8300K 6244K sleep   59    0   0:00:00 0.0% gconfd-2/1
   199 root     7972K 5680K sleep   59    0   0:00:00 0.0% nscd/33
  2216 root     7012K 5388K sleep   59    0   0:00:00 0.0% intrd/1
  2627 root     7360K 4752K sleep   59    0   0:00:00 0.0% xscreensaver/1
  1363 root     6744K 4752K sleep   59    0   0:00:00 0.0% hald/3
  2559 root     7328K 4596K sleep   59    0   0:00:00 0.0% bonobo-activati/2
   190 root       11M 4364K sleep   59    0   0:00:00 0.0% devfsadm/6
  2738 root     7820K 4276K sleep   59    0   0:00:00 0.0% sshd/1
    54 daemon   6936K 4040K sleep   59    0   0:00:00 0.0% kcfd/5
  2593 root     5952K 3664K sleep   59    0   0:00:00 0.0% gvfsd-trash/1
  2620 root     5700K 3544K sleep   59    0   0:00:00 0.0% gvfs-hal-volume/1
  1725 root     4844K 3312K sleep   59    0   0:00:00 0.0% inetd/4
    37 root     4756K 3116K sleep   59    0   0:00:00 0.0% nwamd/10
  2755 root     4324K 3052K cpu1    59    0   0:00:00 0.0% prstat/1
  2737 root     6056K 3000K sleep   59    0   0:00:00 0.0% sshd/1
  2257 root     8180K 2996K sleep   59    0   0:00:00 0.0% dtlogin/1
  2622 root     4824K 2916K sleep   59    0   0:00:00 0.0% gvfsd-burn/1
  2550 root     4472K 2604K sleep   59    0   0:00:00 0.0% gvfsd/1
   184 root     3820K 2396K sleep   59    0   0:00:00 0.0% picld/4
  2462 root     5320K 2284K sleep   59    0   0:00:00 0.0% sdt_shell/1
   134 root     5464K 2244K sleep   59    0   0:00:00 0.0% syseventd/17
  2728 root     3488K 2164K sleep   59    0   0:00:00 0.0% bash/1
  2743 root     3464K 2148K sleep   59    0   0:00:00 0.0% bash/1
  1726 root     4780K 2096K sleep   59    0   0:00:00 0.0% syslogd/14
  1519 root     4180K 2084K sleep   59    0   0:00:00 0.0% hald-addon-cpuf/1
Total: 94 processes, 291 lwps, load averages: 0.00, 0.01, 0.03




/root>echo ::memstat | mdb -k
Page Summary                Pages                MB  %Tot
------------     ----------------  ----------------  ----
Kernel                     141410               552   18%
Anon                       118899               464   15%
Exec and libs                3093                12    0%
Page cache                  39576               154    5%
Free (cachelist)            64190               250    8%
Free (freelist)            402887              1573   52%

Total                      770055              3008
Physical                   770054              3008
/root>


>lockstat -kIW -D 20 sleep 15

Profiling interrupt: 2916 events in 15.032 seconds (194 events/sec)

Count indv cuml rcnt     nsec Hottest CPU+PIL        Caller
-------------------------------------------------------------------------------
 2909 100% 100% 0.00      737 cpu[1]                 i86_mwait
    3   0% 100% 0.00     1874 cpu[1]                 (usermode)
    1   0% 100% 0.00     3603 cpu[1]                 mutex_enter
    1   0% 100% 0.00      735 cpu[0]+9               ddi_mem_get16
    1   0% 100% 0.00     2853 cpu[0]                 pagefault
    1   0% 100% 0.00      619 cpu[0]+11              splr
------------------------------------------------------------------------


echo ::interrupts | mdb -k
IRQ  Vect IPL Bus    Trg Type   CPU Share APIC/INT# ISR(s)
1    0x41 5   ISA    Edg Fixed  1   1     0x0/0x1   i8042_intr
9    0x81 9   PCI    Lvl Fixed  1   1     0x0/0x9   acpi_wrapper_isr
12   0x42 5   ISA    Edg Fixed  0   1     0x0/0xc   i8042_intr
14   0x40 5   ISA    Edg Fixed  0   1     0x0/0xe   ata_intr
15   0x43 5   ISA    Edg Fixed  1   1     0x0/0xf   ata_intr
16   0x87 9   PCI    Lvl Fixed  0   3     0x0/0x10  drm_irq_handler_wrap,
pcic_intr, uhci_intr
17   0x88 9   PCI    Lvl Fixed  1   4     0x0/0x11  iwh_intr, audiohd_intr,
hci1394_isr, uhci_intr
18   0x89 9   PCI    Lvl Fixed  0   1     0x0/0x12  uhci_intr
19   0x83 9   PCI    Lvl Fixed  0   1     0x0/0x13  ehci_intr
20   0x84 9   PCI    Lvl Fixed  1   1     0x0/0x14  uhci_intr
21   0x85 9   PCI    Lvl Fixed  0   1     0x0/0x15  uhci_intr
22   0x86 9   PCI    Lvl Fixed  1   1     0x0/0x16  uhci_intr
23   0x82 9   PCI    Lvl Fixed  1   1     0x0/0x17  ehci_intr
24   0x8a 7   PCI    Edg MSI    1   1     -         pepb_intr_handler
25   0x30 4   PCI    Edg MSI    0   1     -         pepb_intr_handler
26   0x8b 7   PCI    Edg MSI    1   1     -         pepb_intr_handler
27   0x31 4   PCI    Edg MSI    0   1     -         pepb_intr_handler
28   0x8c 7   PCI    Edg MSI    1   1     -         pepb_intr_handler
29   0x60 6   PCI    Edg MSI    1   1     -         e1000g_intr_pciexpress
160  0xa0 0          Edg IPI    all 0     -         poke_cpu
208  0xd0 14         Edg IPI    all 1     -         kcpc_hw_overflow_intr
209  0xd1 14         Edg IPI    all 1     -         cbe_fire
210  0xd3 14         Edg IPI    all 1     -         cbe_fire
240  0xe0 15         Edg IPI    all 1     -         xc_serv
241  0xe1 15         Edg IPI    all 1     -         apic_error_intr

hopefully some experts here can help me resolve the denial of service
issue.   thanks.


-- 
Regards,
Peter Teoh

Reply via email to