-
Notifications
You must be signed in to change notification settings - Fork 288
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
[Bug]: ftp文件过多程序崩溃 #1020
Labels
bug
Something isn't working
Comments
这是我本地测试的结果,读取指定目录下 311个文件。为了减少篇幅,相似日志输出做了截断
|
基本上文件夹下的文件在1000~2000左右的时候问题不大,但是我现在的情况是,每天都会有8~20万个文件的增量但文件不大,只有几百个字节一个文件,以天作为的文件夹; |
目前的模式每一个文件对应一个任务,也就是一个线程,如果一次读取上万,乃至上十万的话,等于一次性要开这么多个线程,在我本地模拟读取15万个文件时,直接退出了。如果你的文件命名是有规则的话,你可以在 {
"parameter": {
"path": "/home/wgzhao/ftptest/ftpreader/100*.csv"
}
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
配置:
Version
4.1.3 (Default)
OS Type
No response
Java JDK Version
Oracle JDK 1.8.0
Relevant log output
The text was updated successfully, but these errors were encountered: