- Notifications
You must be signed in to change notification settings - Fork5
Commitf9f2582
committed
Create a GUC parameter max_files_per_process that is a configurable
upper limit on what we will believe from sysconf(_SC_OPEN_MAX). Thedefault value is 1000, so that under ordinary conditions it won'taffect the behavior. But on platforms where the kernel promises farmore than it can deliver, this can be used to prevent running out offile descriptors. See numerous past discussions, eg, pgsql-hackersaround 23-Dec-2000.1 parent40ed132 commitf9f2582
File tree
5 files changed
+73
-18
lines changed- doc/src/sgml
- src
- backend
- storage/file
- utils/misc
- include/storage
5 files changed
+73
-18
lines changedLines changed: 21 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
1218 | 1218 |
| |
1219 | 1219 |
| |
1220 | 1220 |
| |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
1221 | 1241 |
| |
1222 | 1242 |
| |
1223 | 1243 |
| |
|
Lines changed: 38 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 |
| - | |
| 72 | + | |
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
| |||
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
90 | 98 |
| |
91 | 99 |
| |
92 | 100 |
| |
| |||
281 | 289 |
| |
282 | 290 |
| |
283 | 291 |
| |
| 292 | + | |
284 | 293 |
| |
285 | 294 |
| |
286 |
| - | |
287 |
| - | |
288 |
| - | |
289 |
| - | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
290 | 299 |
| |
291 |
| - | |
| 300 | + | |
292 | 301 |
| |
293 |
| - | |
294 | 302 |
| |
295 |
| - | |
296 | 303 |
| |
297 | 304 |
| |
298 |
| - | |
| 305 | + | |
299 | 306 |
| |
| 307 | + | |
| 308 | + | |
300 | 309 |
| |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
301 | 315 |
| |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
302 | 324 |
| |
| 325 | + | |
| 326 | + | |
| 327 | + | |
303 | 328 |
| |
304 |
| - | |
305 |
| - | |
306 |
| - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
307 | 332 |
| |
308 | 333 |
| |
309 | 334 |
| |
|
Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
| 34 | + | |
34 | 35 |
| |
35 | 36 |
| |
36 | 37 |
| |
| |||
302 | 303 |
| |
303 | 304 |
| |
304 | 305 |
| |
| 306 | + | |
| 307 | + | |
| 308 | + | |
305 | 309 |
| |
306 | 310 |
| |
307 | 311 |
| |
|
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
176 | 176 |
| |
177 | 177 |
| |
178 | 178 |
| |
179 |
| - | |
| 179 | + | |
180 | 180 |
| |
181 | 181 |
| |
182 |
| - | |
| 182 | + | |
| 183 | + | |
183 | 184 |
| |
184 | 185 |
| |
185 | 186 |
|
Lines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
46 | 51 |
| |
47 | 52 |
| |
48 | 53 |
| |
|
0 commit comments
Comments
(0)