Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 May 2010 01:26:48 +0400
From:      cronfy <cronfy@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   quotaon stucked in 'syncer' state
Message-ID:  <t2yd4ac64921005081426pb52e16b8z3e0d783a026e1ab@mail.gmail.com>

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

On FreeBSD 7.3-STABLE I have a job in my root crontab that is executed
every night:

5 0 * * *  /usr/sbin/quotaoff -a; /sbin/quotacheck -aug; /usr/sbin/quotaon -a;

Today I've found out that two quotaon processes stucked in 'syncer'
state in top ('D' state in ps). No quotaon/quotaoff can be started
now:

# /usr/sbin/quotaoff -a
quotaoff: /home: Operation already in progress
quotaoff: /home: Operation already in progress

And these processes can not be killed. Here is ps/top output:

# ps auwwx | grep 'quot[a]'
root       2462  0.0  0.0  4608   912  ??  D    Thu12AM   0:00.03
/usr/sbin/quotaon -a
root      60450  0.0  0.0  4608   928  ??  D    Fri12AM   0:00.04
/usr/sbin/quotaon -a

# top -b -Uroot 100500 | grep quota
60450 root          1  -4    0  4608K   928K syncer 4   0:00  0.00% quotaon
 2462 root          1  -4    0  4608K   912K syncer 5   0:00  0.00% quotaon



Is there any way to finish these stucked processes without reboot?


-- 
// cronfy



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