Multiple "/usr/sbin/freebsd-update cron" processes

Victor Sudakov vas at mpeks.tomsk.su
Wed Apr 30 03:34:10 UTC 2014


Colleagues,

I wonder why the "/usr/sbin/freebsd-update cron" process sometimes
runs in several copies (possibly corrupting the database).

It's started from cron at 6am every day, why should it multiply like
that?

It's strange that the script itself does not have any safeguards
against this.


  645  ??  Ss     0:05,99 /usr/sbin/cron -s
59207  ??  I      0:00,00 cron: running job (cron)
59208  ??  Is     0:00,09 /bin/sh /usr/sbin/freebsd-update cron
59455  ??  I      0:00,00 sleep 3493
59956  ??  I      0:00,00 cron: running job (cron)
59957  ??  Is     0:00,09 /bin/sh /usr/sbin/freebsd-update cron
60204  ??  I      0:00,00 sleep 2723
61631  ??  I      0:00,00 cron: running job (cron)
61632  ??  Is     0:00,09 /bin/sh /usr/sbin/freebsd-update cron
61879  ??  I      0:00,00 sleep 3278
62344  ??  I      0:00,00 cron: running job (cron)
62346  ??  Is     0:00,09 /bin/sh /usr/sbin/freebsd-update cron
62594  ??  I      0:00,00 sleep 3190
62595  ??  I      0:00,00 cron: running job (cron)
62596  ??  Is     0:00,09 /bin/sh /usr/sbin/freebsd-update cron
62843  ??  I      0:00,00 sleep 2812



-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov at sibptus.tomsk.ru


More information about the freebsd-questions mailing list