aboutsummaryrefslogtreecommitdiffstats
path: root/cloud-mdir-sync
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2020-05-30 19:26:49 -0300
committerJason Gunthorpe <jgg@mellanox.com>2020-05-30 19:26:49 -0300
commitb9fccfd53902389d01dc8ea5acb375aeca95e55e (patch)
tree9033f8767bbb5bbaa7cfa94a1e6e465607a651a6 /cloud-mdir-sync
parent8f7c714265c7644c818a93fbc7928fc6b4d1c30e (diff)
downloadcloud_mdir_sync-b9fccfd53902389d01dc8ea5acb375aeca95e55e.tar.gz
cloud_mdir_sync-b9fccfd53902389d01dc8ea5acb375aeca95e55e.tar.bz2
cloud_mdir_sync-b9fccfd53902389d01dc8ea5acb375aeca95e55e.zip
Manage concurrency to avoid running out of file descriptors
AIO does not seem to strictly pipeline work, so it is possible for a very large number of message download tasks to be scheduled. Each one that gets scheduled opens a file descriptor, and so we can run out of them fairly fast. Strictly limit the number of open files per mailbox during message downloading. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'cloud-mdir-sync')
0 files changed, 0 insertions, 0 deletions