Re: pre_start command not executed with upstart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 28, 2015 at 8:55 AM, Wido den Hollander <wido@xxxxxxxx> wrote:
> Hi,
>
> I was trying to inject a pre_start command on a bunch of OSDs under
> Ubuntu 14.04, but that didn't work.
>
> I found out that only the sysvinit script execute pre_start commands,
> but the upstart nor the systemd scripts do this.
>
> Is this a thing which will disappear or is this just a oversight?

Mmmm, I wasn't familiar with this mechanism. Judging by the git
history I think it was only added to deal with holes in sysvinit's
daemon management and probably won't be brought forward to the other
init systems, but maybe I'm missing something.

>
> I'm actually using "sleep 30" as a pre-start to prevent all OSDs from
> starting at the same time. Big boxes which die under the workload of all
> OSDs starting at the same time.
>
> I also try to prevent a lot of OSDMap changes by booting the OSDs slowly
> so I tried to fix this with "pre_start".
>
> Wido
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux