Open Haoning-Sun opened 1 year ago
wondering if the s3 proxy * number of replica <= number of max client pool size works?
wondering if the s3 proxy * number of replica <= number of max client pool size works?
It may be ralated to #17164. I have migrated this code. And I have paid attention to the impact of the number of threads and the number of clients. It would be better to be able to apply for all resources at once.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.
Alluxio Version: 2.7.1
Describe the bug Service hangs up when uploading large number of files. Because when writing a file, the
BlockWorkerClient
resource will be applied for when the OutputStream is created, and theBlockWorkerClient
may also be applied for during the writing process. If all the writing threads only create OutputStream, and there is noBlockWorkerClient
in the client pool to obtain when writing files, the writing threads are all waiting for available clients and cannot exit.To Reproduce
Expected behavior Can upload files.
Urgency It can be fixed temporarily by increasing
alluxio.user.block.worker.client.pool.max
.Are you planning to fix it Thinking about how to apply for all client resources at once.
Additional context The state of most threads is TIMED_WAITING and they are block at
DynamicResourcePool.acquire