모바일 오유 바로가기
http://m.todayhumor.co.kr
분류 게시판
베스트
  • 베스트오브베스트
  • 베스트
  • 오늘의베스트
  • 유머
  • 유머자료
  • 유머글
  • 이야기
  • 자유
  • 고민
  • 연애
  • 결혼생활
  • 좋은글
  • 자랑
  • 공포
  • 멘붕
  • 사이다
  • 군대
  • 밀리터리
  • 미스터리
  • 술한잔
  • 오늘있잖아요
  • 투표인증
  • 새해
  • 이슈
  • 시사
  • 시사아카이브
  • 사회면
  • 사건사고
  • 생활
  • 패션
  • 패션착샷
  • 아동패션착샷
  • 뷰티
  • 인테리어
  • DIY
  • 요리
  • 커피&차
  • 육아
  • 법률
  • 동물
  • 지식
  • 취업정보
  • 식물
  • 다이어트
  • 의료
  • 영어
  • 맛집
  • 추천사이트
  • 해외직구
  • 취미
  • 사진
  • 사진강좌
  • 카메라
  • 만화
  • 애니메이션
  • 포니
  • 자전거
  • 자동차
  • 여행
  • 바이크
  • 민물낚시
  • 바다낚시
  • 장난감
  • 그림판
  • 학술
  • 경제
  • 역사
  • 예술
  • 과학
  • 철학
  • 심리학
  • 방송연예
  • 연예
  • 음악
  • 음악찾기
  • 악기
  • 음향기기
  • 영화
  • 다큐멘터리
  • 국내드라마
  • 해외드라마
  • 예능
  • 팟케스트
  • 방송프로그램
  • 무한도전
  • 더지니어스
  • 개그콘서트
  • 런닝맨
  • 나가수
  • 디지털
  • 컴퓨터
  • 프로그래머
  • IT
  • 안티바이러스
  • 애플
  • 안드로이드
  • 스마트폰
  • 윈도우폰
  • 심비안
  • 스포츠
  • 스포츠
  • 축구
  • 야구
  • 농구
  • 바둑
  • 야구팀
  • 삼성
  • 두산
  • NC
  • 넥센
  • 한화
  • SK
  • 기아
  • 롯데
  • LG
  • KT
  • 메이저리그
  • 일본프로야구리그
  • 게임1
  • 플래시게임
  • 게임토론방
  • 엑스박스
  • 플레이스테이션
  • 닌텐도
  • 모바일게임
  • 게임2
  • 던전앤파이터
  • 마비노기
  • 마비노기영웅전
  • 하스스톤
  • 히어로즈오브더스톰
  • gta5
  • 디아블로
  • 디아블로2
  • 피파온라인2
  • 피파온라인3
  • 워크래프트
  • 월드오브워크래프트
  • 밀리언아서
  • 월드오브탱크
  • 블레이드앤소울
  • 검은사막
  • 스타크래프트
  • 스타크래프트2
  • 베틀필드3
  • 마인크래프트
  • 데이즈
  • 문명
  • 서든어택
  • 테라
  • 아이온
  • 심시티5
  • 프리스타일풋볼
  • 스페셜포스
  • 사이퍼즈
  • 도타2
  • 메이플스토리1
  • 메이플스토리2
  • 오버워치
  • 오버워치그룹모집
  • 포켓몬고
  • 파이널판타지14
  • 배틀그라운드
  • 기타
  • 종교
  • 단어장
  • 자료창고
  • 운영
  • 공지사항
  • 오유운영
  • 게시판신청
  • 보류
  • 임시게시판
  • 메르스
  • 세월호
  • 원전사고
  • 2016리오올림픽
  • 2018평창올림픽
  • 코로나19
  • 2020도쿄올림픽
  • 게시판찾기
  • 오유인페이지
    개인차단 상태
    만렙마법사님의
    개인페이지입니다
    가입 : 11-09-30
    방문 : 1555회
    닉네임변경 이력
    회원차단
    회원차단해제
    게시물ID : computer_132311
    작성자 : 만렙마법사
    추천 : 0
    조회수 : 385
    IP : 211.109.***.63
    댓글 : 0개
    등록시간 : 2013/12/04 00:54:24
    http://todayhumor.com/?computer_132311 모바일
    트랜스미션 사용 자원 줄이기
    <div> <div style="color: #222222; line-height: 1.5"><span style="color: #000000; font-size: 9pt">이런 고민이 있을지도 모릅니다. </span><font size="2" color="#00b0f0"><b>포고플러그에 토렌트도 돌리고 싶고, 그누보드도 돌리고 싶다</b></font><span style="color: #000000; font-size: 9pt">고...</span></div> <div style="color: #222222; line-height: normal"><font size="2"><span style="line-height: 19px">설사 nginx를 설치하셔서 시스템 부담이 덜할지 모르겠지만, 그래도 고민이 될겁니다. 여기에 제가 했던 방법을 조금 써봅니다.</span></font></div> <div style="color: #222222; line-height: normal"><font size="2"><span style="line-height: 19px"><br /></span></font></div> <div style="color: #222222; line-height: normal"><span style="line-height: 19px"><b>1.setting</b></span></div> <div style="color: #222222; line-height: normal"><font size="2"><span style="line-height: 19px"><br /></span></font></div> <div style="color: #222222; font-family: Tahoma, 굴림; line-height: normal"><font face="굴림" size="2"><span style="line-height: 19px">첫번째 방법은 /etc/apache2/sites-enabled/settings.json 에서 수정하는겁니다. 아래는 제가 수정한 옵션들인데요. 파일열기 한계라든지 peer한계등을 주면 조금 아까울지도(?)모르지만, 포고의 폭주를 막을수 있습니다.</span></font></div> <div style="color: #222222; line-height: normal"><font size="2"><span style="line-height: 19px"><br /></span></font></div> <div style="color: #222222; line-height: normal"><font size="2"><span style="line-height: 19px"> <table border="1" width="100%" cellpadding="3" cellspacing="0" bordercolor="#000000" style="border-collapse: collapse"> <tbody> <tr> <td style="font-family: Tahoma, 굴림; color: #222222"><font size="2">"max-peers-global": 100,"open-file-limit": 10,<br />"peer-limit-global": 100,<br />"speed-limit-down": 2000,<br />"speed-limit-up": 100,</font></td></tr></tbody></table><br /></span></font></div> <div style="color: #222222; line-height: normal"><font size="2"><span style="line-height: 19px"><br /></span></font></div> <div style="color: #222222; line-height: 1.5"><span style="color: #000000"><b>2.swap</b></span></div> <div style="color: #222222; line-height: 1.5"><span style="color: #000000; font-size: 9pt"><br /></span></div> <div style="color: #222222; line-height: 1.5"><span style="color: #000000; font-size: 9pt"><br /></span></div> <div style="color: #222222; line-height: 1.5"><span style="color: #000000; font-size: 9pt">swap이라는 가상의 RAM을 추가해줍니다. 이유는 간단하게, apache,mysql,trasmission을 함께 동작한다면 메모리가 너무 부족합니다. top으로 상태를 체크해보신다면 메모리가 1000k이하로 밖에 안남습니다.</span></div> <div style="color: #222222; line-height: 1.5"><span style="color: #000000; font-size: 9pt"><br /></span></div> <div style="color: #222222; line-height: 1.5"><span style="color: #000000; font-size: 9pt">아래의 명령으로 스왑을 만들어줌니다. dd명령에서 bs는 쉽게 설명하면, 파일조각 하나의 크기이며 count는 파일조각의 숫자입니다.</span></div> <div style="color: #222222; line-height: 1.5"><span style="color: #000000; font-size: 9pt">제가 했던 명령으로는 1Mx300으로 300M가의 스왑을 만드는것입니다.</span></div> <div style="color: #222222; line-height: 1.5"><span style="color: #000000; font-size: 9pt"><br /></span></div> <div style="color: #222222; line-height: normal"><span style="line-height: 18px">mkswap은 바로 swap을 추가해주는 명령입니다.</span></div> <div style="color: #222222; line-height: 1.5"><span style="color: #000000; font-size: 9pt"><br /></span></div> <div style="font-size: 9pt; line-height: 1.5"> <table border="1" width="100%" cellpadding="3" cellspacing="0" bordercolor="#000000" style="color: #000000; font-size: 12px; border-collapse: collapse"> <tbody> <tr> <td width="1" height="1" bgcolor="0" style="font-family: Tahoma, 굴림; color: #222222"> <p style="line-height: 1; margin: 0px; padding: 0px"><font color="#ffffff" size="2">#</font><span style="line-height: 19px"><font color="#ffffff" face="Tahoma" size="2">dd if=/dev/zero of=/swap bs=1M count=300</font></span></p> <p style="line-height: 1; margin: 0px; padding: 0px"><font color="#ffffff"><span style="line-height: 19px"><font face="Tahoma" size="2">#</font></span><span style="line-height: 19px"><font face="Tahoma" size="2">mkswap /swap</font></span></font></p></td></tr></tbody></table></div> <div style="font-size: 9pt; line-height: 1.5"><br /></div> <div style="font-size: 9pt; line-height: 1.5"><br /></div> <div style="font-size: 9pt; line-height: 1.5"><br /></div> <div style="font-size: 9pt; line-height: 1.5">다음으로 시스템이 /etc/fstab을 수정하여시작할때마다 swap을 자동으로 추가해주게 합니다.</div> <div style="font-size: 9pt; line-height: 1.5"><br /></div> <div style="font-size: 9pt; line-height: 1.5"> <div style="line-height: 1.5; font-size: 9pt"> <table border="1" width="100%" cellpadding="3" cellspacing="0" bordercolor="#000000" style="color: #000000; font-size: 12px; border-collapse: collapse"> <tbody> <tr> <td width="1" height="1" bgcolor="0" style="font-family: Tahoma, 굴림; color: #222222"> <p style="line-height: 1; margin: 0px; padding: 0px"><font color="#ffffff"><span style="line-height: 19px"><font face="Tahoma" size="2">#</font></span></font><span style="line-height: 19px"><font color="#ffffff" face="Tahoma" size="2">vim /etc/fstab</font></span></p></td></tr></tbody></table></div></div> <div style="font-size: 9pt; line-height: 1.5"><br /></div> <div style="font-size: 9pt; line-height: 1.5"> <table border="1" width="100%" cellpadding="3" cellspacing="0" bordercolor="#000000" style="border-collapse: collapse"> <tbody> <tr> <td style="font-family: Tahoma, 굴림; color: #222222">/swap               swap                    swap    defaults        0 0</td></tr></tbody></table><br /></div> <div style="font-size: 9pt; line-height: 1.5"><br /></div> <div style="font-size: 9pt; line-height: 1.5"><br /></div> <div style="font-size: 9pt; line-height: 1.5">top명령을 사용하면 저는 다음과 같은 결과가 나왔습니다. 극한의 상황에서 조금은 빠르게 구동이 가능합니다. swap은 메모리가 적을수록 많이 사용합니다. 그만큼 느리더라도 필요하다고 쓰는거졈 ㅇㅅㅇ </div> <div style="font-size: 9pt; line-height: 1.5"><br /></div> <div style="font-size: 9pt; line-height: 1.5"><br /></div> <div style="color: #222222; font-size: 9pt; line-height: 1.5"> <table border="1" width="100%" cellpadding="3" cellspacing="0" bgcolor="#000000" bordercolor="#000000" style="border-collapse: collapse"> <tbody> <tr> <td style="font-family: Tahoma, 굴림; color: #222222"> <div style="font-family: Gulim"><font face="굴림" color="#ffffff">                  total       used       free     shared    buffers     cached</font></div> <div style="font-family: Gulim"><font face="굴림" color="#ffffff">Mem:        125536     119928       5608          0       9280      30572</font></div> <div style="font-family: Gulim"><font face="굴림" color="#ffffff">-/+ buffers/cache:      80076      45460</font></div> <div style="font-family: Gulim"><font face="굴림"><font color="#ffffff">Swap:       307192       1428     30576</font>4</font></div> <div><font face="굴림"><br /></font></div></td></tr></tbody></table></div></div> <div><br /></div> <div><br /></div> <div> <div style="line-height: 1.5"><b>3.웹페이지 접속하지마세요.</b></div> <div style="font-size: 9pt; line-height: 1.5"><br /></div> <div style="font-size: 9pt; line-height: 1.5">말그대로 입니다. 왠만하면 트랜스미션 데몬의 유일한 인터페이스 웹페이지로 접속하는것을 하지마세요. RAM이용량 늘어납니다.</div></div> <div><br /></div> <div><br /></div> <div><br /></div> <div><font color="#1f497d">여기까지 <a target="_blank" href="http://cobi.gonetis.com/" style="font-size: 9pt; line-height: 1.5" target="_blank">http://cobi.gonetis.com/</a>에 적은 내용입니다. 이제는 접속이 전보다 잘될겁니다. ㅎㅎㅎ</font></div> <div><font color="#1f497d">무려 토렌트가 움직이고 있는 상태라는 ㅋ</font></div>

    이 게시물을 추천한 분들의 목록입니다.
    푸르딩딩:추천수 3이상 댓글은 배경색이 바뀝니다.
    (단,비공감수가 추천수의 1/3 초과시 해당없음)

    죄송합니다. 댓글 작성은 회원만 가능합니다.

    번호 제 목 이름 날짜 조회 추천
    100
    ㅇㅂ충 신고 만렙마법사 14/03/03 03:36 34 2
    99
    sk 좀 까보겠습니다(욕주의). [3] 만렙마법사 14/03/02 14:01 39 1
    98
    sopwr 일베유저 신고 만렙마법사 14/03/01 15:50 33 0
    97
    구글 참으로 이상한 기업인듯 -_-;;; 만렙마법사 14/02/15 19:24 49 0
    96
    회사에서 개발하면서 취미로 개발하는거 대단한듯... 만렙마법사 14/02/11 01:11 51 0
    94
    예전에 컴게도 그렇고, 지금 IT,플밍에 학원영업 있는듯... 만렙마법사 14/02/05 07:30 50 7
    93
    윈도우 서버 많이 사용하나요? [2] 만렙마법사 14/02/02 15:18 41 0
    92
    VPN은 참 좋은것이군요. 만렙마법사 14/01/23 02:09 23 0
    91
    IT학원에 대해서 예전에 적은 글입니다. 만렙마법사 14/01/17 22:29 27 1
    90
    고대 유물 [5] 만렙마법사 13/12/27 01:11 100 0
    89
    ㅇㅂ충 신고 만렙마법사 13/12/22 16:48 22 0
    88
    고전자료 만렙마법사 13/12/22 16:39 137 1
    87
    pogoplug b01 nginx 성공했네요. [13] 만렙마법사 13/12/17 22:37 77 3
    86
    HELP 만렙마법사 13/12/16 22:33 15 0
    85
    첫출근 했습니다. [7] 만렙마법사 13/12/16 21:30 66 0
    84
    기분죽이네요. [6] 만렙마법사 13/12/13 00:12 108 0
    트랜스미션 사용 자원 줄이기 만렙마법사 13/12/04 00:54 37 0
    81
    결국에는 새로 만들었습니다. [3] 만렙마법사 13/12/02 15:50 92 0
    80
    다운용 head 만렙마법사 13/11/29 03:01 20 0
    79
    웹사이트[블로그] 만들기 성공했습니다. [7] 만렙마법사 13/11/28 15:31 76 0
    78
    5만원에 서버만들기 pogoplug [5] 만렙마법사 13/11/24 17:42 161 14
    77
    게임을 목숨걸고함 - 세가타 산시로 만렙마법사 13/11/19 22:13 110 0
    76
    통신사에서 계속전화가 옵니다. [2] 만렙마법사 13/09/13 13:29 132 0
    75
    오랜만에 에로게 하면서 느끼는점 [2] 만렙마법사 13/08/21 02:11 83 0
    74
    북두의 권(실사) [4] 만렙마법사 13/08/19 18:46 216 1
    73
    러시아 메이드[카페] [2] 만렙마법사 13/08/10 01:58 195 1
    72
    취업고민 [3] 만렙마법사 13/08/10 01:44 22 0
    71
    엔씨 신입사원 모집중... [1] 만렙마법사 13/08/08 16:08 158 0
    [1] [2] [3] [4] [5]
    단축키 운영진에게 바란다(삭제요청/제안) 운영게 게시판신청 자료창고 보류 개인정보취급방침 청소년보호정책 모바일홈