From owner-freebsd-questions@FreeBSD.ORG Fri Jun 22 23:37:49 2012 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 55602106566C for ; Fri, 22 Jun 2012 23:37:49 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Received: from lavash.monkeybrains.net (mail.monkeybrains.net [208.69.40.9]) by mx1.freebsd.org (Postfix) with ESMTP id 3B6628FC12 for ; Fri, 22 Jun 2012 23:37:49 +0000 (UTC) Received: from [199.83.221.120] (199-83-221-120.PUBLIC.monkeybrains.net [199.83.221.120]) (authenticated bits=0) by lavash.monkeybrains.net (8.14.4/8.14.4) with ESMTP id q5MNbnS4069159 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 22 Jun 2012 16:37:49 -0700 (PDT) (envelope-from crapsh@monkeybrains.net) Message-ID: <4FE501CB.3070703@monkeybrains.net> Date: Fri, 22 Jun 2012 16:37:47 -0700 From: Rudy User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: FreeBSD Stable Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.3 at lavash.monkeybrains.net X-Virus-Status: Clean Subject: cron pile up! libnss-mysql and cron (Rehash) 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: Fri, 22 Jun 2012 23:37:49 -0000 4.5 years ago, I posted about cron's piling up. It seems if I install libnss-mysql on a fresh 9.0-STABLE, this problem persists. Here was the original post: http://lists.freebsd.org/pipermail/freebsd-questions/2007-December/164174.html I've seen this on 6.2, 7.x, and now 9.0 FreeBSD. How to repeat: install a fresh BSD system, install libnss-mysql, wait a few days. System info: FreeBSD 9.0-STABLE amd64 libnss-mysql-1.5_3 NSS module using a MySQL database for backend mariadb-client-5.3.6 Database server - drop-in replacement for MySQL mariadb-server-5.3.6 Database server - drop-in replacement for MySQL ps axlw | grep cron 0 56084 1 0 20 0 31064 2844 nanslp IsJ ?? 0:00.78 /usr/sbin/cron -s 0 68402 56084 0 20 0 31064 2844 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68403 68402 0 20 0 31064 2844 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68527 56084 0 20 0 31064 2848 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68528 56084 0 20 0 31064 2844 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68530 68527 0 20 0 31064 2848 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68531 68528 0 20 0 31064 2844 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68558 56084 0 20 0 31064 2844 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68559 68558 0 20 0 31064 2844 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68591 56084 0 20 0 31064 2844 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68592 68591 0 20 0 31064 2844 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68608 56084 0 20 0 31064 2848 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68609 68608 0 20 0 31064 2848 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68659 56084 0 20 0 31064 2848 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68660 68659 0 20 0 31064 2848 sbwait IVsJ ?? 0:00.00 cron: running job (cron) 0 68683 56084 0 20 0 31064 2844 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68684 68683 0 20 0 31064 2844 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) 0 68722 56084 0 21 0 31064 2848 ppwait DJ ?? 0:00.00 cron: running job (cron) 0 68723 68722 0 20 0 31064 2848 so_rcv_s IVsJ ?? 0:00.00 cron: running job (cron) Interestingly, if I do a truss and hit ^C, the process disappears... see below: # truss -p 68684 ^C # truss -p 68684 truss: can not attach to target process: No such process # grep 68684 /var/log/cron Jun 22 16:25:00 mail /usr/sbin/cron[68684]: (root) CMD (/usr/libexec/atrun) Rudy