From owner-freebsd-questions@FreeBSD.ORG Sat May 8 21:27:29 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 75BF2106564A for ; Sat, 8 May 2010 21:27:29 +0000 (UTC) (envelope-from cronfy@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 363ED8FC0A for ; Sat, 8 May 2010 21:27:28 +0000 (UTC) Received: by gyh20 with SMTP id 20so1317548gyh.13 for ; Sat, 08 May 2010 14:27:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=H89UKr04+iKDa9jOI2PJ+uS+6RwKFhzGsJ9kVv9cTDo=; b=l157y5RPxN6nqwhe3QVh0TCXQgxv5TZ6gL+a0PT2l1NPCeLuSzhXB+p9pxZVjExNOf NG1Z+0gSMB8JORx0KBN34967PddnlWGYUxEPuhwVvlyDRyFfDzvXECqu9eB0WWvImXIZ /PlEScg+m9c9YOSR4xtpl+coD+IrL6oionKqI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=bmrlrHH0VnneyXYBiooQILDnrlf4jIsCAY+/Fesrome09b+NngbQaxmSwG+/iYi5sE VM8/ht9jhQhjSZM2fzlb1HWjfS+bGX8PrN+gXA4vAcJm1UXWwb9xTJ+KOHCZo/bisTQs zcVJYz+RbE49vt8hPAJ2Zb30KlyTuTNrSDPVE= Received: by 10.231.147.146 with SMTP id l18mr822936ibv.74.1273354038077; Sat, 08 May 2010 14:27:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.157.130 with HTTP; Sat, 8 May 2010 14:26:48 -0700 (PDT) From: cronfy Date: Sun, 9 May 2010 01:26:48 +0400 Message-ID: To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Subject: quotaon stucked in 'syncer' state X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 May 2010 21:27:29 -0000 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