No Image

apache ab failed requests length

2016-05-09 KENNETH 0

ab를 이용한 벤치마크 테스트 결과중.. 뭔가 신경쓰이는 부분이 발생할 수 있다. Complete requests: 400 Failed requests: 393 (Connect: 0, Receive: 0, Length: 393, Exceptions: 0)   Failed requets 수치.. 그 중에서도 Length 항목… 다른 것들은 확실히 ”실패”에 의한 결과이겠으나.. Length는 보는 사람으로 하여금 혼란이 있을 수 있다. 결론부터 얘기하면… 그냥 ”무시”해도 된다. ab를 통한 사이트 테스트중 첫번째 요청 결과에 대한 Length를 기록한뒤 이후 발생하는 요청 결과에 대한 Length가 다르면 발생하는 내용 이다…

No Image

jetpack 4.0 fatal error

2016-04-21 KENNETH 0

20160421 jetpack 4.0 이 릴리즈 되었습니다. 허나 업데이트 하고 나면 사이트에 문제가 발생하고 있습니다. 에러 메세지는 Fatal error: Cannot find a library with slug class.media-summary. in /WEB_PATH/wp-content/plugins/jetpack/require-lib.php on line 35 이며.. 기존 버전에는 존재하던 plugins/jetpack/class.media-summary.php 파일이 누락되 었기 때문인것 같습니다.   해당 플러그인을 삭제 처리하거나 이전 버전을 사용해야합니다.

No Image

tcp-wrapper on proftpd (using mod_wrap2, mod_wrap2_file)

2016-04-18 KENNETH 0

tcp-wrapper on proftpd (using mod_wrap2, mod_wrap2_file) 개요 proftpd 를 컴파일 해서 사용 중 iptables 말고 tcp-wrapper 를 이용해서 접근제어를 하고 싶음 그러면서 ftp접근을 모두 막되… 내가 열어주고 싶은 아이피 주소에 대해서만 허용을 하고 싶음 centos, ubuntu 등에서 사용가능한(할지도모르는) proftpd 패키지는 테스트를 안함… 갸들은 아마 되겠지… 설마… 컴파일 하는 환경에서 쓸모 있는 정보… 허용하고 싶은 아이피 주소 : 192.168.100.200     설치 require : proftpd-1.3.3 or higher 였던가.. ??;;;; configure –with-shared=mod_wrap2:mod_wrap2_file –enable-wrapper-options 당신이 만약 다른 옵션들을 사용하고 있다 하더라도 컴파일시  ”–with-shared=mod_wrap2:mod_wrap2_file –enable-wrapper-options” 옵션만 들어가 있으면 됨 mod_wrap2, mod_wrap2_file 이라는 모듈이 추가로 필요하기 때문   설정 proftpd 설정 파일명 : proftpd.conf LoadModule mod_wrap2.c LoadModule mod_wrap2_file.c WrapEngine on WrapServiceName proftpd WrapTables file:/etc/hosts.allow file:/etc/hosts.deny   접근제어 설정 우선 차단.. 파일명 : /etc/hosts.deny ALL:ALL 로 쿨하게 막아버리자…   그다음 허용.. 파일명 : /etc/hosts.allow proftpd:192.168.100.200   끝… 그 외에.. 차단메세지 설정등의 옵션도 있으나.. 난 그런건 안좋아함.. [ more… ]

No Image

Appendix D: Java Programming Cheatsheet

2016-04-14 KENNETH 0

  출처 : http://introcs.cs.princeton.edu/java/11cheatsheet/ Appendix D:   Java Programming Cheatsheet This appendix summarizes the most commonly-used Java language features in the textbook. Here are the APIs of the most common libraries. Hello, World. Editing, compiling, and executing. Built-in data types. Declaration and assignment statements. Integers. Floating-point numbers. Booleans. Comparison operators. Printing. Parsing command-line arguments. Math library. The full java.lang.Math API. Java library calls. Type conversion. If and if-else statements. Nested if-else statement. While loops. For loops. Loops. Break statement. Do-while loop. Switch statement. Arrays. Inline array initialization. Typical array-processing code. Two-dimensional arrays. Inline initialization. Our standard output library. The full StdOut API. Our standard input library. The full StdIn API. Our standard drawing library. The full StdDraw API. Our standard audio library. The full StdAudio API. Redirection and piping.                Functions. Libraries of functions. Our standard random library. Our [ more… ]

No Image

USE Method: Linux Performance Checklist

2016-04-05 KENNETH 0

출처 : http://www.brendangregg.com/USEmethod/use-linux.html   USE Method: Linux Performance Checklist The USE Method provides a strategy for performing a complete check of system health, identifying common bottlenecks and errors. For each system resource, metrics for utilization, saturation and errors are identified and checked. Any issues discovered are then investigated using further strategies. This is an example USE-based metric list for Linux operating systems (eg, Ubuntu, CentOS, Fedora). This is primarily intended for system administrators of the physical systems, who are using command line tools. Some of these metrics can be found in remote monitoring tools. Physical Resources component type metric CPU utilization system-wide: vmstat 1, ”us” + ”sy” + ”st”; sar -u, sum fields except ”%idle” and ”%iowait”; dstat -c, sum fields except ”idl” and ”wai”; per-cpu: mpstat -P ALL 1, sum fields except ”%idle” and ”%iowait”; sar -P ALL, same as [ more… ]