mirror of
https://github.com/ceph/ceph
synced 2025-01-03 09:32:43 +00:00
Merge pull request #14637 from ovh/bp-test-osd-dup-warn-on-low-limit
test/osd/osd-dup.sh: warn on low open file limit Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
commit
4d18f07b80
@ -23,6 +23,11 @@ function run() {
|
||||
function TEST_filestore_to_bluestore() {
|
||||
local dir=$1
|
||||
|
||||
local flimit=$(ulimit -n)
|
||||
if [ $flimit -lt 1536 ]; then
|
||||
echo "Low open file limit ($flimit), test may fail. Increase to 1536 or higher and retry if that happens."
|
||||
fi
|
||||
|
||||
run_mon $dir a || return 1
|
||||
run_osd $dir 0 || return 1
|
||||
osd_pid=$(cat $dir/osd.0.pid)
|
||||
|
Loading…
Reference in New Issue
Block a user