From: Kefu Chai Date: Tue, 2 Apr 2019 06:31:05 +0000 (+0800) Subject: init-ceph: wait longer before resending $signal X-Git-Tag: v15.0.0~18^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=97d786366adb149346a6206274295880ad83fda7;p=ceph-ci.git init-ceph: wait longer before resending $signal if ceph-osd takes longer than 1 seconds to unmount the objectstore, it won't get a chance to fully persist all of its stuff to disk before init-ceph kills it again. in my case, `MemStore::_save()` fails to write $path/collections before it gets killed, if it has more than 512 PGs. Signed-off-by: Kefu Chai --- diff --git a/src/init-ceph.in b/src/init-ceph.in index 18437100691..8ea9ef076ed 100755 --- a/src/init-ceph.in +++ b/src/init-ceph.in @@ -141,7 +141,7 @@ stop_daemon() { cmd=\"kill $signal \$pid\" printf \"\$cmd...\" \$cmd - sleep 1 + sleep 2 continue done fi"