Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 2014 10:34:02 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        freebsd-questions@freebsd.org
Cc:        Colin Percival <cperciva@FreeBSD.org>
Subject:   Multiple "/usr/sbin/freebsd-update cron" processes
Message-ID:  <20140430033402.GA51407@admin.sibptus.tomsk.ru>

next in thread | raw e-mail | index | archive | help
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@sibptus.tomsk.ru



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