mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
Create a GUC parameter max_files_per_process that is a configurable
upper limit on what we will believe from sysconf(_SC_OPEN_MAX). The default value is 1000, so that under ordinary conditions it won't affect the behavior. But on platforms where the kernel promises far more than it can deliver, this can be used to prevent running out of file descriptors. See numerous past discussions, eg, pgsql-hackers around 23-Dec-2000.
This commit is contained in:
@ -176,10 +176,11 @@
|
||||
#
|
||||
#dynamic_library_path = '$libdir'
|
||||
#australian_timezones = false
|
||||
#authentication_timeout = 60 # min 1, max 600
|
||||
#authentication_timeout = 60 # min 1, max 600
|
||||
#deadlock_timeout = 1000
|
||||
#default_transaction_isolation = 'read committed'
|
||||
#max_expr_depth = 10000 # min 10
|
||||
#max_expr_depth = 10000 # min 10
|
||||
#max_files_per_process = 1000 # min 25
|
||||
#password_encryption = false
|
||||
#sql_inheritance = true
|
||||
#transform_null_equals = false
|
||||
|
Reference in New Issue
Block a user