[linux mint] logs, XAMPP Responding very slow over localhost
페이지 정보
작성자 sbLAB 댓글 0건 조회 834회 작성일 22-08-04 07:11본문
XAMPP Responding very slow over (localhost / web)
[Solved]
-> top 로 process / Resources 확인 -> mysql 데몬의 cpu점유율 큰것이 확인됨 -> phpmyadmin 에서 테이블 크기 확인 -> 용량급상승테이블확인 ->
DDos 대량 write 입력 확인됨 -> 해당입력게시판 테이블 삭제 -> 비운영게시판 index 파일 이름변경 실행차단.
[디렉토리 목록 비노출되도록 확인]
/opt/lampp/apache2/conf/httpd.conf
----------------------------------
<Directory "/opt/lampp/htdocs">
#Options FollowSymLinks Indexes
Options FollowSymLinks <- Indexes 제거
AllowOverride All
Order allow,deny
Allow from all
</Directory>
-----------------------------
Disable apache logs
[linux mint + xampp]
웹서버(80 / 443 ssl) 필요시 로그 기록 끄기 (웹서버 반응속도 ↑)
[로그파일 저장경로]
/opt/lampp/logs/
rm access_log
rm ssl_request_log
[httpd.conf / httpd-ssl.conf 수정]
/opt/lampp/etc/httpd.conf
--------------------------------
#CustomLog "logs/access_log" combined <== 주석처리
/opt/lampp/etc/extra/httpd-ssl.conf
-----------------------------
#CustomLog "/opt/lampp/logs/ssl_request_log" \ <== 주석처리
# "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" <== 주석처리
service xampp restart
댓글목록
등록된 댓글이 없습니다.