Re: FreeBSD-HEAD gets stuck on vnode operations

看板FB_current作者時間12年前 (2013/05/14 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/18 (看更多)
--1Zxv8fCI4MRL5zf7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 13, 2013 at 04:33:04PM +0200, Roger Pau Monn? wrote: > On 13/05/13 13:18, Roger Pau Monn? wrote: > > The VM can be stuck in this state for quite some time, it generally >=20 > I would like to explain this a little bit more, the syncer process > doesn't get blocked on the _mtx_trylock_flags_ call, it just continues > looping forever in what seems to be an endless loop around > mnt_vnode_next_active/ffs_sync. Also while in this state there is no > noticeable disk activity, so I'm unsure of what is happening. How many CPUs does your VM have ? The loop you describing means that other thread owns the vnode interlock. Can you track what this thread does ? E.g. look at the vp->v_interlock.mtx_lock, which is basically a pointer to the struct thread owning the mutex, clear low bits as needed. Then you can inspect the thread and get a backtrace. Does the loop you described stuck on the same vnode during the whole lock-step time, or is the progress made, possibly slowly ? I suppose that your HEAD is recent. >=20 > > varies between a couple of minutes (5-10min) to an hour or two, after > > this the VM recovers itself and resumes normal operation. I still have > > to test this on a bare metal FreeBSD install, but I would like to ask > > if someone has seen a similar behaviour, or if someone is suspicious of > > a change that could cause this. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" --1Zxv8fCI4MRL5zf7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQIcBAEBAgAGBQJRkQABAAoJEJDCuSvBvK1BmMoQAJO66spaQ/rjZQU5Py+sH8T9 mLPVoJ0l494K4ImhqeU1JuvzmGEigqGSJNlZ6AHecsvAxAUiVFWLTo3nOlquMebK vUr3ENOFNia/kPr5KhTYOfxelO6ITwcZFmXBg5USz8EAGbNWscLtMncxQ8P7hHjZ Dx16CEUFeYTnvs1vG0tyse5jCZYhmWqFEg6gIpqViL+GoKNzcSVHOj/SOujqHKlK R2lVVLsI5CHWUAcJ5lHhtwFPuohRV7gnJ2oQA7/exSRuUgNehaL5i5BbRUq/zfls zBSXlHIok6ZzpIXE4NQ+MABw6fO/0jr0VTCl4GwPJ6SHbQ+iEq9s9jjBwMal1So2 SIRQiW4dIfeBusC/ZvrKUPanbzsnZ+J4BNlkq42c8D/wgT1LI8myBj/byzUMuT9S VXWnyC7lXF+i45tYyvtpWWvyffJAtZwKSPmEE1noxEAhk9SWI/Qro0U2WPt+FnGV ZLjL/MgPq1+asqa942DKLQaxlV0sVCSnaGqCs0e/D24rTGuPVHcyZauObcFXWIoe 4YjwLLZra0/BdkokaF2irv4laXwKrDUExWp4aVR23MOOcAabXp7lFT7DsCurrnvG pvgdrO8ryrsWlIZ7W9S2YVDyEx85FvnkwfRtc1EmO9ZjrpALTlIVBW2JbmWtxY5J 8cVWgkvlodohJpPGiO92 =gREQ -----END PGP SIGNATURE----- --1Zxv8fCI4MRL5zf7--
文章代碼(AID): #1HaIfW4t (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1HaIfW4t (FB_current)