mirror of
https://github.com/deepseek-ai/3FS.git
synced 2026-11-05 00:47:47 +00:00
[GH-ISSUE #285] 运行单node部署测试时使用run.bash脚本storage target create步骤运行失败(TOO many open files) #172
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/3FS#172
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SgtPepperr on GitHub (May 21, 2025).
Original GitHub issue: https://github.com/deepseek-ai/3FS/issues/285
Originally posted by @gaowayne in #39
我遇到了和上述issue相似的问题,在运行run.sh单机脚本时create storage target时发生报错。其storage.log的报错信息如下:
我尝试了ulimit -n 调整最大打开文件数量,但仍然会有相同的报错。
此外我运行失败时还有这个log,不知道是否也存在影响:
@yiyuanliu commented on GitHub (May 21, 2025):
从报错信息上看是 fd 数量超过限制了,请使用
ulimit -a确认下修改是否生效。@SgtPepperr commented on GitHub (May 21, 2025):
(base) root@iZ2ze05aaerqo2xl3gffw6Z:~# ulimit -a
real-time non-blocking time (microseconds, -R) unlimited
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 2059908
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 65535
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 2059908
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
这里已经调整为了65535,还是存在该问题
@SgtPepperr commented on GitHub (May 21, 2025):
确实是ulimit调整的问题,我这边开了两个终端,ulimit的操作是在另一个终端执行的,所以没有生效,在运行脚本的终端执行ulimit -n之后可以通过该步骤