Skip to content

[Bug] Timeout error while setting swap space size #10635

@Pandaft

Description

@Pandaft

Contact Information

No response

1Panel Version

v2.0.11

Problem Description

当通过面板操作设置 Swap 大小时,如果未能在 30 秒内完成创建交换文件(不确定是否为 30 秒,但我看浏览器请求大概是在 30 秒左右超时),就会提示超时错误。

但是实际的交换文件的创建仍然在继续,最终创建成功也不会进一步被配置为可用的 Swap 空间,导致最终结果是交换文件实际存在,且大小为所设置的大小,但却未作为 Swap 空间使用。

Steps to Reproduce

设置 Swap 空间大小为主机在 30 秒内无法完成创建完成的大小。

The expected correct result

No response

Related log output

Additional Information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions