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

Current system mode is read-only #2607

Open
qiaojialin opened this issue Jan 30, 2021 · 1 comment
Open

Current system mode is read-only #2607

qiaojialin opened this issue Jan 30, 2021 · 1 comment

Comments

@qiaojialin
Copy link
Member

qiaojialin commented Jan 30, 2021

This means meeting error when flushing data to disk.

You could search "change system mode to read-only" in the error log to see what happened.

Some common reasons:

  • Disk space is full
  • Too many open files
  • OOM

If OOM, two ways:
(1) config manually if you use 0.10 or earlier version:

 conf/iotdb-engine.properties:
 enable_parameter_adapter=false
 tsfile_size_threshold=100000000
 memtable_size_threshold=JVM memory/2/storage group number/4

(2) upgrade to version 0.11.2 or a later version
Generally, in 0.11 version, you do not need to config manually. If still OOM, you could still try to config

 conf/iotdb-engine.properties:
 enable_mem_control=false
 tsfile_size_threshold=100000000
 memtable_size_threshold=JVM memory/2/storage group number/4

 If still OOM, lower the memtable_size_threshold!

If still, contact us... Wechat:tietouqiao

@wangchao316
Copy link
Member

hi jialin, I discuss this question in this issue.
https://issues.apache.org/jira/browse/IOTDB-1136

we could add recover mechanism for only-read mode...
Generally, the recovery mechanism is applicable to most failure scenarios. In extreme failure scenarios (such as full disk), the recovery interval can be used to determine whether the failure is a common failure or an extreme failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants