본문 바로가기

전체 글382

Kafka Error : Failed to send requests for topics test with correlation ids in [0,12] Error Msg1234567891011Exception in thread "main" kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries.at kafka.producer.async.DefaultEventHandler.handle(DefaultEventHandler.scala:90)[2016-01-15 17:18:25,759] ERROR Failed to send requests for topics test with correlation ids in [0,12] (kafka.producer.async.DefaultEventHandler:97)at kafka.producer.Producer.send(Producer.. 2016. 1. 15.
[번역] Memory allocation mechanisms in AIX / AIX: Throughput problems when malloc is called often Memory allocation mechanisms in AIX AIX는 기본적으로 Yorktown 기법으로 memory allocation 이 이루어지며, Watson이나 Malloc 3.1 방법으로도 변경이 가능하다.각각의 Memory allocation사용방법은 다음과 같다. export MALLOCTYPE=Yorktownexport MALLOCTYPE=Watsonexport MALLOCTYPE=3.1export MALLOCTYPE=3.1_64BIT Yorktown Yorktown 은 메모리를 Cartesian binary search tree로 힙 노드들을 관리한다. 사용시기대부분의 케이스에서 널리 사용되는 안정적인 방법.다양한 size 가 기입된 tree로 관리되기 때문에 block size 에.. 2015. 9. 25.
OpenSSH Public Key Authentication Introduction 기존 SSH 로그인 방식이 SSH 공격(예를들면 무작위 아이디와 비번으로 여러번 접속시도)에 취약하기때문에 나온 방식으로, key 파일이 되는 것을 생성한 후 접속 client 와 접속할 server에 두고 이를 이용하여 SSH를 접속하는 방식이다. How to 0. 환경설정 a. 우선 ssh 명령이 먹어야 한다. OpenSSH 가 깔려있는지 확인해본다. b. public key 를 설정한 후에는 SSH를 통한 로그인 부분은 전부 막아놔야 한다. 1. 키 생성 (클라이언트에서 해야할 일) client$ mkdir ~/.ssh client$ chmod 700 ~/.ssh client$ ssh-keygen -q -f ~/.ssh/id_rsa -t rsa Enter passphrase .. 2015. 8. 13.
특정 브라우저에서 라인 바뀌는 경계에 있는 한글의 자모가 분리되는 경우 테이블 폭 제약에 따라 긴 본문이 두줄에 걸쳐 출력되었는데 아래와 같은 현상이 발견되었다.원문1한글나라 좋은나라발생현상12한글나라 좋으ㄴ나라 해당 부분은 특정 컴퓨터의 특정 브라우저 ( Chrome 43.0 / IE 11 ) 에서 드물게 발생하였는데 아래와 같이 해결하였다12345/* before */word-break: break-all; /* after */word-break: break-word; 2015. 7. 3.