About Computer/서버관리38 How to create simple / fast socket server in bash Use “nc” command.1$ nc -k -l {port} > {output.filename}(ex) $ nc -k -l 1818 > output.file 2016. 3. 9. How to find log directory of storm nimbus / supervisor (worker) See the command argument of nimbus (or supervisor) 1 2 3 4 5 $ ps aux | grep nimbus or $ ps aux | grep supervisor Search storm.log.dir in the command argument 1 -Dstorm.log.dir=/opt/storm/apache-storm-0.9.6/logs 2016. 1. 26. 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. 이전 1 2 3 4 ··· 10 다음