본문 바로가기 메뉴 바로가기

끄적 끄적 로깅! 로깅!

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

끄적 끄적 로깅! 로깅!

검색하기 폼
  • All (158)
    • 리뷰 (7)
    • 운영체제 (37)
    • 프로그래밍 (34)
    • 엔지니어링 (43)
    • 빅데이터 (9)
    • 머신러닝 (1)
    • 프로젝트 (1)
    • 운영관리 (20)
    • 보안 (2)
    • 유틸 (4)
  • 방명록

Nice (1)
Python 리소스 제한

1. 개요파이썬을 데몬 개발을 하다 보면, 해당 데몬이 문제를 메모리를 많이 먹거나, 프로세스를 너무 많이 생성하거나, 파일을 너무 많이 오픈하여, 서버 전체에 문제를 일으키는 경우가 발생하는데, 이를 해결하기 위한 방법을 찾아보았다.2. Resource limitshttps://docs.python.org/2/library/resource.htmlhttp://pythonforbiologists.com/index.php/measuring-memory-usage-in-python/import resourceprint resource.getrlimit(resource.RLIMIT_AS)print resource.getrusage(resource.RUSAGE_SELF)resource.setrlimit(reso..

프로그래밍 2016. 8. 10. 15:15
이전 1 다음
이전 다음
    끄적 끄적 로깅! 로깅!
    warpmemory
    공지사항
    최근에 올라온 글
    최근에 달린 댓글
    Total
    Today
    Yesterday
    페이지
    • 추천사이트
    TAG
    • Python
    • apache
    • engineering
    • Windows
    • 외부링크
    • 번역
    • command
    • MariaDB
    • 예제
    • Linux
    • Module
    • Ansible
    • PowerShell
    • mysql
    • 이슈처리
    • httpd
    • 코드
    • deview
    • 명령어
    • limits
    • error
    • check
    • code
    • example
    • Web
    • monitoring
    • RESTful
    • client
    • configuration
    • File
    more
    «   2025/06   »
    일 월 화 수 목 금 토
    1 2 3 4 5 6 7
    8 9 10 11 12 13 14
    15 16 17 18 19 20 21
    22 23 24 25 26 27 28
    29 30
    글 보관함

    Blog is powered by Tistory / Designed by Tistory

    티스토리툴바