Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2012 09:15:04 GMT
From:      Alex Sav <tomefrom@list.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/172631: mksnap_ffs deadlock with journaling and some daemons
Message-ID:  <201210120915.q9C9F40V028011@red.freebsd.org>
Resent-Message-ID: <201210120920.q9C9K13j084435@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172631
>Category:       amd64
>Synopsis:       mksnap_ffs deadlock with journaling and some daemons
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 12 09:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Alex Sav
>Release:        Freebsd 9.0
>Organization:
RS
>Environment:
FreeBSD db.test 9.0-RELEASE-p4 FreeBSD 9.0-RELEASE-p4 #0: Thu Oct 11 21:35:15 GMT 2012 test@db.test:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
I have clearly installed Freebsd 9.0 and updated to p4 Freebsd 9.0

After installation 
dump -aLf- / > /var/log/tmp.dmp
and
mksnap_ffs / /.snap/snapshot
works fine.

Then I installed mysql55-server from ports and rebooted the system.

If I try to make dump with running mysql-server, system freezes and mksnap_ffs uses 100% of cpu.

If I disable journaling (tunefs -j disable /), mksnap_ffs / /.snap/snapshot works OK.

If I stop mysql-server, mksnap_ffs / /.snap/snapshot works OK.

The same problem with apache.

The problem like bin/167156, but more extensive.



>How-To-Repeat:
Instlall freebsd 9.0 amd64, update to p4, install mysql55-server from ports, start mysql and make mksnap_ffs / /.snap/snapshot

[db:/etc/mail]#mount
 /dev/aacd0p3 on / (ufs, local, journaled soft-updates)
 devfs on /dev (devfs, local, multilabel)
 /dev/aacd0p4 on /var/log (ufs, local, journaled soft-updates)

[db:/etc/mail]#pkg_info 
 cmake-2.8.9 A cross-platform Makefile generator
 cmake-modules-2.8.9 Modules and Templates for CMake
 mysql-client-5.5.27 Multithreaded SQL database (client)
 mysql-server-5.5.27 Multithreaded SQL database (server)
[db:/etc/mail]#

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210120915.q9C9F40V028011>