close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_fs.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Mar 26, 2018, 11:01:03 AM (8 years ago)
- Author:
-
jazz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v5
|
v6
|
|
| 81 | 81 | == 修改同時連線數上限 == |
| 82 | 82 | |
| | 83 | * 修改 postgresql.conf |
| 83 | 84 | {{{ |
| 84 | | |
| | 85 | $ sudo grep max_connections /var/lib/postgresql/postgresql.conf |
| | 86 | max_connections = 300 # (change requires restart) |
| | 87 | # Note: Increasing max_connections costs ~400 bytes of shared memory per |
| | 88 | # max_locks_per_transaction * (max_connections + max_prepared_transactions) |
| 85 | 89 | }}} |
| 86 | 90 | |