mirror of
https://github.com/minio/minio.git
synced 2025-11-20 01:50:24 -05:00
server: Attempt to increase max open files. (#1328)
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
ff9a6b00cc
commit
6bc17a3aea
@@ -149,6 +149,11 @@ func initServerConfig(c *cli.Context) {
|
||||
SecretAccessKey: secretKey,
|
||||
})
|
||||
}
|
||||
|
||||
// Set maxOpenFiles, This is necessary since default operating
|
||||
// system limits of 1024, 2048 are not enough for Minio server.
|
||||
setMaxOpenFiles()
|
||||
// Do not fail if this is not allowed, lower limits are fine as well.
|
||||
}
|
||||
|
||||
// Check server arguments.
|
||||
|
||||
Reference in New Issue
Block a user