On 06/ 2/10 08:09 AM, Danek Duvall wrote:

solarg wrote:

    PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP

   3931 root      520M  513M cpu3    40    0  10:55:01  12% pkg/1

What's pstack 3931 tell you?  Does ptree 3931 show anything other than just
the one pkg process?

m...@antigone:~$ pfexec pstack 3931
3931:   /usr/bin/python2.4 /usr/bin/pkg image-update
 fed819d5 ioctl    (c7b99a0, 5a14, 8043480, 1020) + 15
 fdf5e7f0 zfs_iter_snapshots (c7b99a0, fdf5fde8, 8045d00, 0) + 7c
 fdf60112 zfs_promote (8366808, fe0283a0, 0, 0) + 166
 fe01612c be_promote_ds_callback (8366808, 0, 0, 0) + d0
 fe015dce be_promote_zone_ds (d210288, d1f99a0, 8047268, fe0145cd) + 2da
 fe014609 _be_activate (d210288, fe029008, 804728c, fe014188) + 3d9
 fe0141d0 be_activate (14f9f9e0) + 68
 fe051be5 beActivate (0, 240507ec, 0, feeceb7c) + 69
 fef03125 call_function (804738c, 1, 23fe96c1, 82d5a3c) + 3f5
 fef00221 PyEval_EvalFrame (81425e4, 82936a0, 8289cec, 0) + 2b11
fef01d23 PyEval_EvalCodeEx (82936a0, 8289cec, 0, 85b30a4, 1, 85b30a8) + 903
 fef032f4 fast_function (233fae9c, 804754c, 1, 1, 0, 0) + 164
 fef02dff call_function (804754c, 1, 6f, 0) + cf
 fef00221 PyEval_EvalFrame (85b2f2c, 807def4, 8289cec, 0) + 2b11
fef01d23 PyEval_EvalCodeEx (8293760, 8289cec, 0, 8478d4c, 1, 8478d50) + 903
 fef032f4 fast_function (82944fc, 804770c, 1, 1, 0, feebadd4) + 164
 fef02dff call_function (804770c, 0, 20c, 0) + cf
 fef00221 PyEval_EvalFrame (8478bdc, 8260f20, 827b934, 0) + 2b11
 fef03288 fast_function (84dcb54, 804784c, 1, 1, 0, feebadd4) + f8
 fef02dff call_function (804784c, 0, 43b, 0) + cf
 fef00221 PyEval_EvalFrame (8506784, 833bb20, 8079824, 0) + 2b11
 fef03288 fast_function (84de5a4, 804798c, 2, 2, 0, feebadd4) + f8
 fef02dff call_function (804798c, 2, de333679, 0) + cf
 fef00221 PyEval_EvalFrame (8124b4c, 8346920, 8079824, 0) + 2b11
 fef03288 fast_function (84deae4, 8047acc, 0, 0, 0, 0) + f8
 fef02dff call_function (8047acc, 0, 322, 0) + cf
 fef00221 PyEval_EvalFrame (8118ccc, 8346960, 8079824, 8079824) + 2b11
 fef01d23 PyEval_EvalCodeEx (8346960, 8079824, 8079824, 0, 0, 0) + 903
 feefd66e PyEval_EvalCode (8346960, 8079824, 8079824, 0) + 22
 fef212a1 run_node (80613c8, 8047de7, 8079824, 8079824, 8047c3c, 1) + 39
 fef20425 PyRun_SimpleFileExFlags (fee037e0, 8047de7, 1, 8047c3c) + 14d
 fef26ebb Py_Main  (3, 8047d14, 8047d24, 805095f) + 86b
 080509bd _start   (3, 8047dd4, 8047de7, 8047df4, 0, 8047e01) + 7d

m...@antigone:~$ ptree 3931
416   /usr/lib/ssh/sshd
  3100  /usr/lib/ssh/sshd
    3101  /usr/lib/ssh/sshd
      3106  -bash
        3931  /usr/bin/python2.4 /usr/bin/pkg image-update

Note that you're far enough along in the update process that you should be
able to safely ^C.  You may still have to run bootadm update-archive -R
/tmp/....


looking at the url's given by shawn, i'm really afraid! this machine is in prod, and there are 10 zones, most of them created by cloning!
the process related here:

2) detach the zones before "pkg image-update" is run.

means that my services will be down for hours...
i can't do that or this is probably the end of opensolaris here

is there another workaround?

thanks for reply,

gerard



_______________________________________________
install-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/install-discuss

Reply via email to