No Image

리눅스 서버의 TCP 네트워크 성능을 결정짓는 커널 파라미터 이야기 – 1편

2016-08-12 KENNETH 0

출처 : http://meetup.toast.com/posts/53 본 내용은 NHN엔터테인먼트의 정성환 님께서 작성하신 내용입니다. 연재 리눅스 서버의 TCP 네트워크 성능을 결정짓는 커널 파라미터 이야기 – 2편 리눅스 서버의 TCP 네트워크 성능을 결정짓는 커널 파라미터 이야기 – 3편 목차 들어가기 전에 준비 TCP 대역폭(bandwidth) 관련 파라미터 3.1 BDP 3.2 TCP window scaling 3.3 TCP socket buffer size 3.4 congestion window size 네트워크 capacity 관련 파라미터 4.1 maximum file count 4.2 backlogs 4.3 port range TIME_WAIT socket 5.1 TIME_WAIT 상태의 소켓이 무엇일까요? 5.2 TIME_WAIT socket buckets 5.3 TIME_WAIT socket reuse (TW_REUSE) 5.4 TCP timestamp 5.5 TIME_WAIT socket recycling (TW_RECYCLE) 5.6 Socket linger option 결론 맺으며 1. 들어가기 전에 안녕하세요. NHN엔터테인먼트 정성환 입니다. 언젠가 꼭 한번 정리하겠다고 마음 먹었는데, 이제서야 정리하게 되었습니다. 먼저, ”TCP 네트워크 성능을 결정짓는…” 이라는 수식어는 사실 조금 더 자극적인 제목을 뽑아내기 위한 과욕입니다. 네트워크 성능에 가장 중요한 요소는 결국엔 애플리케이션에 있다는 점을 강조하고 싶습니다. [ more… ]

No Image

Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MariaDB client in /home1/htdocs/apartzm/affisacc/php/acc_tongys.inc.php on line 188ERROR 1251: Client does not smysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client

2016-07-26 KENNETH 0

mysql(mariadb) 접근시 mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client 또는 mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MariaDB client 오류가 발생한다면…   구버전의 mysql 클라이언트가 신 버전의 mysql 서버로 접근하는 경우 좀더 정확히는… mysql서버의 old_passwords 설정이 ”0(off)” 정책으로 운영되어 생성된 계정의 패스워드가 새로운 패스워드 정책을 사용하지만 클라이언트는 이를 지원하지 못하는 버전인 경우에 발생함 접근하고자 하는 유저의 패스워드를 구버전 형태로 변경해주면 된다. (서버의 old_passwords 옵션을 건드릴 필요는 없음…. 필요한 계정에 대해서만 처리해주면 됨) update user set password=old_password(‘변경할 패스워드’) where user=’변경 대상 유저’; flush privileges; 변경 대상 유저는 choilha, 변경할 패스워드는 “1234” 라고 한다면 update user set password=old_password(‘1234′) where user=’choilha’; 이렇게..   처리하면 됨…

No Image

mysqlbinlog: unknown variable ‘default-character-set=utf8’

2016-07-09 KENNETH 0

mysqlbinlog 로 확인좀 하려고 했더니 에러 발생 # mysqlbinlog mysql-bin.000021 mysqlbinlog: unknown variable ‘default-character-set=utf8’ 이유는 mysql-5.5.3 버전 부터인가 default-character-set 에서 character-set-server 로 변경되었기 때문이라고… 아니 그럼 애초에 구동시부터 문제라고 언급을 해주던가… 왜 멀쩡하게 구동은 해놓고서 명령어가 먹지 않도록…   아무튼 저 옵션 지시자를 수정해주거나..   mysqlbinlog –no-defaults mysql-bin.000021 로 해주면 되겠다…

No Image

$_SERVER[‘SERVER_SOFTWARE’]=’Apache’ in wp-config.php

2016-06-23 KENNETH 0

어떤 이유에서건 <? echo $_SERVER&#91;’SERVER_SOFTWARE’&#93;; ?> 의 결과가 ”Apache” 가 출력되지 않는다면 워드프레스의 일부 기능에 문제가 발생.. permalink 설정을 하더라도 index.php 가 항상 포함된다던가.. 그 외의 다른 오류도 발생할 수 있다던가… 보안을 위해 mod_security 같은 설정에서 서버정보를 다른 것으로 출력되게 하는 경우에도.. 마찬가지 결과를 가져옴   wp-config.php 파일에 아래와 같은 내용을 추가해라… $_SERVER[‘SERVER_SOFTWARE’]=’Apache’;

No Image

Apache Tomcat Versions – Which Do I Want?

2016-06-23 KENNETH 0

출처 : http://tomcat.apache.org/whichversion.html   Apache Tomcat Versions Apache Tomcat® is an open source software implementation of the Java Servlet and JavaServer Pages technologies. Different versions of Apache Tomcat are available for different versions of the Servlet and JSP specifications. The mapping between the specifications and the respective Apache Tomcat versions is: Servlet Spec JSP Spec EL Spec WebSocket Spec JASPIC Spec Apache Tomcat version Actual release revision Supported Java Versions 4.0 TBD (2.4?) TBD (3.1?) TBD (1.2?) 1.1 9.0.x 9.0.0.M8 (alpha) 8 and later 3.1 2.3 3.0 1.1 1.1 8.5.x 8.5.3 7 and later 3.1 2.3 3.0 1.1 N/A 8.0.x (superseded) 8.0.35 (superseded) 7 and later 3.0 2.2 2.2 1.1 N/A 7.0.x 7.0.70 6 and later (7 and later for WebSocket) 2.5 2.1 2.1 N/A N/A 6.0.x 6.0.45 5 and later 2.4 2.0 N/A N/A N/A 5.5.x (archived) 5.5.36 (archived) 1.4 [ more… ]