Ulimit: Difference between revisions

From HPCWIKI
Jump to navigation Jump to search
(Added Knowledge Graph section (Phase 7.1))
(Fix: remove --- horizontal lines (7 removed))
 
Line 18: Line 18:
* 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시
* 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시


---


== Purpose ==
== Purpose ==
Line 28: Line 27:
* Non-goals: 다른 주제로의 확장
* Non-goals: 다른 주제로의 확장


---


== Key Concepts ==
== Key Concepts ==
Line 42: Line 40:
|}
|}


---


== Detailed Explanation ==
== Detailed Explanation ==
Line 67: Line 64:
|
|


---


== Best Practices ==
== Best Practices ==
Line 75: Line 71:
* 테스트 환경에서 먼저 검증
* 테스트 환경에서 먼저 검증


---


== References ==
== References ==
Line 81: Line 76:
* [https://wiki.hpcmate.com Ulimit]
* [https://wiki.hpcmate.com Ulimit]


---


== Related Pages ==
== Related Pages ==
Line 90: Line 84:
* [[Network]]
* [[Network]]


---


[[Category:Linux]]
[[Category:Linux]]

Latest revision as of 11:31, 17 July 2026

Template:Status

Template:TOC

Overview

Ulimit에 대한 기술 문서입니다.

Summary

  • 무엇인가? - Ulimit
  • 왜 필요한가? - HPC 및 서버 환경에서 필수 개념
  • 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시


Purpose

이 문서가 존재하는 이유

  • Goal: Ulimit에 대한 기술 정보 제공
  • Scope: Ulimit의 개념, 사용법, 설정
  • Non-goals: 다른 주제로의 확장


Key Concepts

Concept Description Related
Ulimit HPC/서버 환경에서 중요한 기술 개념 Linux, Server


Detailed Explanation

ulimit is a built-in Linux shell command that allows viewing or limiting system resource amounts that individual users consume. Limiting resource usage is valuable in environments with multiple users and system performance issues. /etc/security/limits.conf file is a configuration file that defines the system resource allocation settings ulimit uses. Changing the values in the file persist after system reboot. To specify the type with ulimit, we use -H (hard) and -S (soft), where -H sets hard limits, while -S sets soft limits. By default, without either flag, -S is presumed[1] The soft limit is manageable by any user, and its maximum value cannot exceed the hard limit. The hard limit acts as a ceiling for the soft limit. ulimit -Sa The hard resource limit defines physical resource limit for a user. At the same time, the hard limit is the maximum value for soft limit. Only root users are allowed to change the hard limit. ulimit -Ha The ulimit command takes the following general syntax ulimit [flags][limit]

Flag Effect to Description
-H The hard limit for the given resource. Only root users can raise the hard limit, and any process can lower it.
-S


Best Practices

  • 최신 버전 사용 권장
  • 공식 문서 참고
  • 테스트 환경에서 먼저 검증


References


Related Pages

Knowledge Graph

Related

LinuxLinux Kernel TuningTHP (Transparent Huge Pages)SarVmstat