From f9f258281e0b3ccae1ca3e349f527e4b64c898ba Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 30 Sep 2001 18:57:45 +0000 Subject: 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. --- src/backend/utils/misc/postgresql.conf.sample | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/backend/utils/misc/postgresql.conf.sample') diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index 789f1a1d08d..fbf555304e3 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -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 -- cgit v1.2.3