Date: Tue, 22 Jul 2008 22:41:14 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Mikhail Teterin <mi+mill@aldan.algebra.com> Cc: Kris Kennaway <kris@freebsd.org>, stable@freebsd.org, Jeremy Chadwick <koitsu@freebsd.org> Subject: Re: "sleeping without queue" ? Message-ID: <20080722194114.GE17123@deviant.kiev.zoral.com.ua> In-Reply-To: <48863465.8080204@aldan.algebra.com> References: <4885F2A6.5020204@aldan.algebra.com> <4885FCE5.1060507@FreeBSD.org> <48860725.9050808@aldan.algebra.com> <20080722161958.GA11139@eos.sc1.parodius.com> <48860E8C.6050400@FreeBSD.org> <48860EF6.2040007@aldan.algebra.com> <48861284.1050706@FreeBSD.org> <48861448.7020708@aldan.algebra.com> <20080722192155.GC17123@deviant.kiev.zoral.com.ua> <48863465.8080204@aldan.algebra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--oltTW8qmWaTZVW5l Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 22, 2008 at 03:26:29PM -0400, Mikhail Teterin wrote: > Kostik Belousov =CE=C1=D0=C9=D3=C1=D7(=CC=C1): > >Did you switched to the process before doing backtrace (using the proc= =20 > ><pid> > >command)? > Ok, thanks. Did not know about this one. Here: > ... > (kgdb) proc 79759 > (kgdb) bt > #0 sched_switch (td=3D0xffffff01286dc000, newtd=3D0xffffff00010ce000,=20 > flags=3D2) at /var/src/sys/kern/sched_4bsd.c:928 > #1 0x0000000000000000 in ?? () > #2 0xffffffff802f1108 in mi_switch (flags=3D678281216, newtd=3D0x2) at= =20 > /var/src/sys/kern/kern_synch.c:442 > #3 0xffffffff80318513 in sleepq_check_timeout () at=20 > /var/src/sys/kern/subr_sleepqueue.c:519 > #4 0xffffffff80318c85 in sleepq_timedwait (wchan=3D0xffffffff80688408) a= t=20 > /var/src/sys/kern/subr_sleepqueue.c:597 > #5 0xffffffff802f16a2 in _sleep (ident=3D0xffffffff80688408, lock=3D0x0,= =20 > priority=3D0, wmesg=3D0xffffffff804f3059 "vmo_de", timo=3D1) at=20 > /var/src/sys/kern/kern_synch.c:224 > #6 0xffffffff8043036b in vm_object_deallocate=20 > (object=3D0xffffff0053024a90) at /var/src/sys/vm/vm_object.c:509 =46rom this frame, please, print the object (like p *object) and likewise, print the object that is at the head of the object->shadow_head list. Another question is what scheduler do you use ? > #7 0xffffffff8042920e in vm_map_delete (map=3D0xffffff0015ba4b60,=20 > start=3D18446742979242478224, end=3D140737488355328) at=20 > /var/src/sys/vm/vm_map.c:2315 > #8 0xffffffff804293df in vm_map_remove (map=3D0xffffff0015ba4b60,=20 > start=3D0, end=3D140737488355328) at /var/src/sys/vm/vm_map.c:2423 > #9 0xffffffff8042b813 in vmspace_exit (td=3D0xffffff01286dc000) at=20 > /var/src/sys/vm/vm_map.c:324 > #10 0xffffffff802c8cff in exit1 (td=3D0xffffff01286dc000, rv=3D0) at=20 > /var/src/sys/kern/kern_exit.c:294 > #11 0xffffffff802ca08e in sys_exit (td=3DVariable "td" is not available. > ) at /var/src/sys/kern/kern_exit.c:98 > #12 0xffffffff8045a700 in syscall (frame=3D0xffffffffb0d89c70) at=20 > /var/src/sys/amd64/amd64/trap.c:852 > #13 0xffffffff8043f38b in Xfast_syscall () at=20 > /var/src/sys/amd64/amd64/exception.S:290 > #14 0x000000080095f34c in ?? () > Previous frame inner to this frame (corrupt stack?) >=20 > >What is the exact version of the system ? Note that procstat > >appeared in the late RELENG_7. > FreeBSD 7.0-STABLE #0: Sat Mar 8 16:02:37 EST 2008 > > > >Also, show the output of ps axl <pid>. > UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND > 0 79759 79758 0 96 0 0 16 - DE+ p6 0:00,00=20 > /bin/tcsh -fc=20 > /meow/ports/editors/openoffice.org-3/work/BEB300_m3/solver/300/unxfbsdx.p= ro/bin/ma It makes sense to show the whole ps axl output. >=20 > Yours, >=20 > -mi --oltTW8qmWaTZVW5l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkiGN9oACgkQC3+MBN1Mb4gixACgzafvZTjueYYkuhWU6a5kJAae Ag4An1h8Q6MF39xIBFkAtSpLV0G0jFzZ =QzKi -----END PGP SIGNATURE----- --oltTW8qmWaTZVW5l--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080722194114.GE17123>