| 251 | * [參考] http://lzone.de/cheat-sheet/ulimit |
| 252 | * 指令: prlimit - 可以告訴你特定 process 的限制,並且設定想要的値 |
| 253 | {{{ |
| 254 | $ sudo prlimit --pid 641 --nofile=743964:743964 |
| 255 | $ sudo prlimit --pid 641 |
| 256 | RESOURCE DESCRIPTION SOFT HARD UNITS |
| 257 | AS address space limit unlimited unlimited 位元組 |
| 258 | CORE max core file size 0 unlimited blocks |
| 259 | CPU CPU time unlimited unlimited seconds |
| 260 | DATA max data size unlimited unlimited 位元組 |
| 261 | FSIZE max file size unlimited unlimited blocks |
| 262 | LOCKS max number of file locks held unlimited unlimited |
| 263 | MEMLOCK max locked-in-memory address space 65536 65536 位元組 |
| 264 | MSGQUEUE max bytes in POSIX mqueues 819200 819200 位元組 |
| 265 | NICE max nice prio allowed to raise 0 0 |
| 266 | NOFILE max number of open files 743964 743964 |
| 267 | NPROC max number of processes 56030 56030 |
| 268 | RSS max resident set size unlimited unlimited pages |
| 269 | RTPRIO max real-time priority 0 0 |
| 270 | RTTIME timeout for real-time tasks unlimited unlimited microsecs |
| 271 | SIGPENDING max number of pending signals 56030 56030 |
| 272 | STACK max stack size 8388608 unlimited 位元組 |
| 273 | }}} |