[linux mint] logs, XAMPP Responding very slow over localhost > Linux/Apm

본문 바로가기
사이트 내 전체검색

Linux/Apm

[linux mint] logs, XAMPP Responding very slow over localhost

페이지 정보

작성자 sbLAB 댓글 0건 조회 2,421회 작성일 22-08-04 07:11

본문

 XAMPP Responding very slow over (localhost / web) 

[Solved]

06fd697360bb768ae15162d9a9bfd4aa_1659774414_7682.png
 

-> top 로 process / Resources 확인 -> mysql 데몬의 cpu점유율 큰것이 확인됨 -> phpmyadmin 에서 테이블 크기 확인 -> 용량급상승테이블확인 -> 

DDos 대량 write 입력 확인됨 -> 해당입력게시판 테이블 삭제 -> 비운영게시판 index 파일 이름변경 실행차단.


[디렉토리 목록 비노출되도록 확인]

/opt/lampp/apache2/conf/httpd.conf  

----------------------------------

<Directory "/opt/lampp/htdocs">

    #Options Indexes FollowSymLinks   

    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 


a04b25d566a9052dbe122c5abb93dd93_1659564777_3197.png
 


[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 

댓글목록

등록된 댓글이 없습니다.

회원로그인

접속자집계

오늘
342
어제
407
최대
1,279
전체
212,112

그누보드5
Copyright © sebom.com All rights reserved.