close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": libsasl2.so.2: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Dec 12, 2013, 11:17:44 AM (12 years ago)
- Author:
-
jazz
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v47
|
v48
|
|
| 141 | 141 | == System Performance Tuning : File System == |
| 142 | 142 | |
| | 143 | * ([wiki:jazz/10-05-11 2010-05-11]) |
| 143 | 144 | * 如何調整每個使用者可以開啟的檔案個數 |
| 144 | 145 | * [參考] [http://www.xenoclast.org/doc/benchmark/HTTP-benchmarking-HOWTO/node7.html Increasing the file descriptor limit] |
| … |
… |
|
| 214 | 215 | -bash: ulimit: open files: cannot modify limit: Operation not permitted |
| 215 | 216 | }}} |
| | 217 | * [http://www.hadoop.tw/rafan/2008/09/ 幫 Hadoop HDFS 調整系統資源限制] |
| | 218 | {{{ |
| | 219 | #!diff |
| | 220 | --- /etc/security/limits.conf 2010-02-22 11:29:11.000000000 +0800 |
| | 221 | +++ /etc/security/limits.conf.new 2010-02-22 11:28:33.000000000 +0800 |
| | 222 | @@ -49,4 +49,6 @@ |
| | 223 | #ftp - chroot /ftp |
| | 224 | #@student - maxlogins 4 |
| | 225 | |
| | 226 | +* soft nofile 8192 |
| | 227 | + |
| | 228 | # End of file |
| | 229 | }}} |
| 216 | 230 | |
| 217 | 231 | == I/O Performance Tuning : NFS == |