Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Milvus standalone crash with default config #6238

Closed
cydrain opened this issue Jul 1, 2021 · 8 comments
Closed

Milvus standalone crash with default config #6238

cydrain opened this issue Jul 1, 2021 · 8 comments
Assignees
Labels
do-not-merge/hold kind/bug Issues or changes related a bug needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. stale indicates no udpates for 30 days
Milestone

Comments

@cydrain
Copy link
Contributor

cydrain commented Jul 1, 2021

Please state your issue using the following template and, most importantly, in English.

Describe the bug
Milvus standalone crash with default config

Steps/Code to reproduce behavior

❯ ./bin/milvus run standalone
Set runtime dir at /run/milvus failed, set it to /tmp/milvus directory

    __  _________ _   ____  ______    
   /  |/  /  _/ /| | / / / / / __/    
  / /|_/ // // /_| |/ / /_/ /\ \    
 /_/  /_/___/____/___/\____/___/     

Welcome to use Milvus!
Version:   v2.0.0-rc1-34-gff4c6c7ff
Built:     Thu Jul  1 02:01:13 UTC 2021
GitCommit: ff4c6c7ff
GoVersion: go version go1.15.8 linux/amd64

open pid file: /tmp/milvus/standalone.pid
lock pid file: /tmp/milvus/standalone.pid
[2021/07/01 10:05:31.545 +08:00] [DEBUG] [mq_factory.go:116] ["RocksmqPath=/var/lib/milvus/rdb_data"]
panic: Create dir /var/lib/milvus/rdb_data failed

goroutine 50 [running]:
github.com/milvus-io/milvus/internal/util/rocksmq/server/rocksmq.InitRocksMQ.func1()
	/home/caiyd/vec/milvus/internal/util/rocksmq/server/rocksmq/global_rmq.go:40 +0x2d1
sync.(*Once).doSlow(0x326a3c0, 0xc000293eb8)
	/usr/local/go/src/sync/once.go:66 +0xec
sync.(*Once).Do(...)
	/usr/local/go/src/sync/once.go:57
github.com/milvus-io/milvus/internal/util/rocksmq/server/rocksmq.InitRocksMQ(0xc00013db40, 0x18, 0x0, 0x0)
	/home/caiyd/vec/milvus/internal/util/rocksmq/server/rocksmq/global_rmq.go:34 +0x85
github.com/milvus-io/milvus/internal/msgstream.NewRmsFactory(0xc00013db40, 0x18, 0x1282480, 0x322d400)
	/home/caiyd/vec/milvus/internal/msgstream/mq_factory.go:117 +0xc6
github.com/milvus-io/milvus/cmd/roles.newMsgFactory(0x322d401, 0xc00013db40, 0x18, 0x1, 0x766af6)
	/home/caiyd/vec/milvus/cmd/roles/roles.go:43 +0x45
github.com/milvus-io/milvus/cmd/roles.(*MilvusRoles).runRootCoord.func1(0x2398c01, 0x24fecc0, 0xc0001b8040, 0xc0003fb7d8, 0xc000684ca0)
	/home/caiyd/vec/milvus/cmd/roles/roles.go:90 +0x72
created by github.com/milvus-io/milvus/cmd/roles.(*MilvusRoles).runRootCoord
	/home/caiyd/vec/milvus/cmd/roles/roles.go:82 +0xb0

Expected behavior
report error and exit

@yhmo yhmo added the kind/bug Issues or changes related a bug label Jul 6, 2021
@yhmo yhmo added this to the 2.0-Backlog milestone Jul 6, 2021
@fishpenguin
Copy link
Contributor

This is an unaccepted error when milvus standalone start, so I believe we can use panic to process such error.

@wxyucs wxyucs added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Jul 13, 2021
@cydrain
Copy link
Contributor Author

cydrain commented Jul 19, 2021

I suggest to report error and exit.
Showing backtrace is not friendly for users.
@fishpenguin

@stale
Copy link

stale bot commented Aug 25, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Rotten issues close after 30d of inactivity. Reopen the issue with /reopen.

@cydrain
Copy link
Contributor Author

cydrain commented Sep 13, 2021

/unassign

@stale
Copy link

stale bot commented Oct 13, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Rotten issues close after 30d of inactivity. Reopen the issue with /reopen.

@stale stale bot added the stale indicates no udpates for 30 days label Oct 13, 2021
@stale stale bot closed this as completed Oct 20, 2021
@Shreyash-Chede
Copy link

/reopen
I'm facing the same issue, was this issue resolved?

@sre-ci-robot
Copy link
Contributor

@Shreyash-Chede: You can't reopen an issue/PR unless you authored it or you are a collaborator.

In response to this:

/reopen
I'm facing the same issue, was this issue resolved?

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@xiaofan-luan
Copy link
Collaborator

/reopen I'm facing the same issue, was this issue resolved?

please open a separate issue with logs and descriptions about what you did.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/hold kind/bug Issues or changes related a bug needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. stale indicates no udpates for 30 days
Projects
None yet
Development

No branches or pull requests

7 participants