Weed Version : 2.64
My seaweedfs volume server are managed by systemd. When the volume server process's open files reach the limit, the volume server print out lots of logs like this:
When the application try to upload files, The volume server DO NOT stop to assign new volume but still to try to create new ones .So a lots of volume data files such as .ldb and .vif files created in the data directory, more than 1200000. And the volumeId reached 999999 at last.
I try to add the following config to systemd service file and try to reboot the volume server ,it start failed because of OOM.
LimitCORE=infinity
LimitNOFILE=2024000
LimitNPROC=2024000
I can see that the volume server try to load all the volumes, then the kernel killed it because of OOM.
I know that I can clean the empty volume using weed shell.But now I can NOT start the volume server. Is any one can help or give some advice?
Thanks in advanced.