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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"