mirror of
https://github.com/oneclickvirt/oneclickvirt.github.io.git
synced 2026-07-01 01:36:12 +08:00
feat: 添加开设实例过多导致节点异常时的处理方式
This commit is contained in:
BIN
docs/en/guide/oneclickvirt/images/iofailed.png
Normal file
BIN
docs/en/guide/oneclickvirt/images/iofailed.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 152 KiB |
@@ -68,4 +68,27 @@ Execute
|
||||
docker volume rm oneclickvirt-data oneclickvirt-storage oneclickvirt-config
|
||||
```
|
||||
|
||||
to delete
|
||||
to delete
|
||||
|
||||
## Excessive Instance Creation Causes Node Abnormalities
|
||||
|
||||
A prominent symptom is extremely slow operation execution, with commands taking several minutes to complete.
|
||||
|
||||
This commonly occurs when a node has poor I/O performance and is over-allocated with SWAP memory.
|
||||
For example, in an LXD environment, executing ```lxc list``` may result in an error:
|
||||
|
||||
```shell
|
||||
internal error, please report: running “lxd.lxc” failed: cannot create transient scope: DBus error “org.freedesktop.DBus.Error.TimedOut”: [Failed to activate service ‘org.freedesktop.systemd1’: timed out (service_start_timeout=25000ms)]
|
||||
```
|
||||
|
||||
The root cause is setting too many instances while the provider imposes strict I/O restrictions.
|
||||
|
||||

|
||||
|
||||
At this point, only one solution remains: force-reboot the node server.
|
||||
|
||||
Immediately after reboot, log into SSH and use the corresponding script to clear swap usage, then delete some instances to free resources.
|
||||
|
||||
Since containers take time to restart individually after reboot, this window may not delete many instances, but each reboot clears some.
|
||||
|
||||
Ultimately, when limiting instance counts, carefully assess node performance. Avoid overloading weaker nodes or those with strict constraints.
|
||||
Reference in New Issue
Block a user