ELK설치 5편 (Application Performance Monitoring) 공유 링크 만들기 Facebook X Pinterest 이메일 기타 앱 - 5월 08, 2019 안정적인 서비스 운영을 위해 꼭 필요한 APM(Application Performance Management)을 구성하여 현재 시스템의 어느 곳이 성능 병목 구간인지, 어떤 에러가 발생하는지 추적해보겠습니다. APM 설치 APM서버 다운로드 및 설치 환경설정 vi /etc/apm-server/apm-server.yml APM서버 실행 /usr/share/apm-server/bin/apm-server -c /etc/apm-server/apm-server.yml APM Agent 다운로드 https://search.maven.org/search?q=a:elastic-apm-agent https://search.maven.org/remotecontent?filepath=co/elastic/apm/elastic-apm-agent/0.7.0/elastic-apm-agent-0.7.0.jar APM Agent 실행 java -javaagent:/home/min/elastic-apm-agent-0.7.0.jar -Delastic.apm.service_name=my-application -Delastic.apm.server_url=http://localhost:8200 -Delastic.apm.application_packages=org.example -jar my-application.jar 또는 # vi /home/min/apache-tomcat-7.0.91/bin/catalina.sh 에 이하 내용 추가 APM Agent 서비스 실행 실패의 경우 서비스 기동후, Tomcat서버에서 ELK서버로의 connect 실패의 경우 ELK서버에서 # vi /etc/elasticsearch/elasticsearch.yml network.host: 0.0.0.0 변경 후, elasticsearch 재기동하면 접속 성공 공유 링크 만들기 Facebook X Pinterest 이메일 기타 앱 댓글
resize tomcat heap - 5월 07, 2020 #before heap size [root@localhost min]# jmap -heap 109487 Attaching to process ID 109487, please wait... Debugger attached successfully. Server compiler detected. JVM version is 25.252-b09 using thread-local object allocation. Parallel GC with 2 thread(s) Heap Configuration: MinHeapFreeRatio = 0 MaxHeapFreeRatio = 100 MaxHeapSize = 987758592 (942.0MB) NewSize = 20971520 (20.0MB) MaxNewSize = 329252864 (314.0MB) OldSize = 41943040 (40.0MB) NewRatio = 2 SurvivorRatio = 8 MetaspaceSize = 21807104 (20.796875MB) CompressedClassSpaceSize = 1073741824 (1024.0MB) MaxMetaspaceSize = 17592186044415 MB G1HeapRegionSize = 0 (0.0MB) Heap Usage: PS Young Generation Eden Space: capacity = 278921216 (266.0MB) used = 22089864 (21.06653594970703MB) free = 256831352 (244.93346405029297MB) 7.919750357032719% used ... 자세한 내용 보기
Docker Error starting daemon: SELinux is not supported - 4월 27, 2020 #error message [root@localhost ~]# systemctl start docker Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details. [root@localhost ~]# systemctl status docker.service ● docker.service - Docker Application Container Engine Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since 화 2020-04-28 08:53:09 KST; 12s ago Docs: http://docs.docker.com Process: 18314 ExecStart=/usr/bin/dockerd-current --add-runtime docker-runc=/usr/libexec/docker/docker-runc-current --default-runtime=docker-runc --exec-opt native.cgroupdriver=systemd --userland-proxy-path=/usr/libexec/docker/docker-proxy-current --init-path=/usr/libexec/docker/docker-init-current --seccomp-profile=/etc/docker/seccomp.json $OPTIONS $DOCKER_STORAGE_OPTIONS $DOCKER_NETWORK_OPTIONS $ADD_REGISTRY $BLOCK_REGISTRY $INSECURE_REGISTRY ... 자세한 내용 보기
rocky linux login xfce with xrdp - 3월 03, 2022 ## install xrdp (base) [root@localhost min]# dnf install xrdp Rocky Linux 8 - PowerTools 6.3 kB/s | 4.8 kB 00:00 꾸러미 xrdp-1:0.9.18-5.el8.x86_64가 이미 설치되어 있습니다. 종속성이 해결되었습니다. 처리가 필요하지 않습니다. 완료되었습니다! (base) [root@localhost min]# ## install xrdp systemctl enable xrdp --now systemctl status xrdp firewall-cmd --add-port=3389/tcp --permanent firewall-cmd --reload ## Install XFCE Desktop Environment (base) [root@localhost min]# dnf groupinstall -y "Xfce" 마지막 메타자료 만료확인 0:02:57 이전인: 2022년 03월 04일 (금) 오후 04시 46분 22초. 그룹 꾸러미 "NetworkManager-gnome"에 일치하는 항목이 없습니다 종속성이 해결되었습니다. =============================================================================================================================================================================== 꾸러미 구조 버전 ... 자세한 내용 보기
댓글
댓글 쓰기