본문 바로가기

개발/Server Side

(55)
톰캣 튜닝 참고 자료 http://www.tomcatexpert.com/sites/default/files/PerformanceTuningApacheTomcat-Part2.swf 대충 요약해보면.... In highly concurrent environments turn off KeepAlive which Connector? - BIO (default. 웬만하면 이거 사용) maxThreads - typical range 200-800 - maximum # of concurrent! requests - for BIO, max # of open/active connections - good starting value 400 maxThreads="400"- decrease if you see heavy cpu usage * ap..
maven 프로젝트에 외부 라이브러리 추가 로컬 repository 등 번거로운거 말고 내 생각에 가장 깔끔한 방법을 찾음 in-project repository 를 만들어서 사용하는 방법! 자세한건 여기에 http://charlie.cu.cc/2012/06/how-add-external-libraries-maven/
AIX 빌드시 라이브러리 못찾을 때? -brtl 옵션 추가!!
Apache HttpClient로 SSL 쓸 때 validation 안하기 http://www.virtualzone.de/2011-02-27/how-to-use-apache-httpclient-with-httpsssl-on-android/
대용량 서버 ulimit 체크 ubuntu에서 최대 open file 갯수는 기본으로 1024 네트워크 요청이 많은 서버는 이걸 늘려줘야 함 조회는 ulimit -a늘리는건... 검색.. -_- 여튼 잊어버리지 않고 늘려줘야 함.
우분투 서버 파워 버튼 누르면 시스템 정상 종료 모니터 없이 파워와 랜선만 연결해서 리눅스 서버 사용하면서 파워 버튼을 누르면 시스템이 정상 종료하도록 하고 싶었다. sudo apt-get install acpid
우분투 보안 업데이트 딴건 냅두고 보안 업데이트만 하고 싶을 때 sudo apt-get updatesudo apt-get install unattended-upgrade sudo unattended-upgrade 참고 링크http://linuxaria.com/article/enable-automatic-security-update-in-debianubuntu?lang=en http://askubuntu.com/questions/194/how-can-i-install-just-security-updates-from-the-command-line
시스템 모니터링 툴 nmon 콘솔에서 나름 비쥬얼하게 시스템 상태를 파악할 수 있다. CPU, Network, Memory, IO 등 한눈에 파악하게 편함 sudo apt-get install nmon