CentOS 7/Jenkins(8)
-
[Jenkins] swap file 설정을 통한 메모리 누수문제 해결
젠킨스를 이용하여 톰캣 또는 spring boot jar 앱을 실행시킬 때, 아래의 메시지를 출력하며 build fail이 될 때가 있습니다. OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000e0800000, 130023424, 0) failed; error='Cannot allocate memory' (errno=12) # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 130023424 bytes for committing reserved..
2019.08.27 -
Jenkins '역방향 프록시 설정이 잘못된 것으로 파악되었습니다.' 에러 해결
jenkins 를 apache 웹서버를 이용하여 가상호스트 설정하는 것을 배웠습니다. 이제는, http://ci.jiniworld.me/ 에 접속하면 젠킨스 웹페이지가 열립니다. 그리고, 젠킨스 기능도 정상적으로 작동합니다. 그런데 이상하게 계속 역방향 프록시 설정이 잘못된 것으로 파악된다는 메시지가 뜹니다. 다시 한번 가상호스트 설정파일을 열어봅시다. ※ 가상 호스트에 대해 알고 싶다면 Apache 2.4 를 이용한 VirtualHost 설정 포스트를 읽어보세요! ServerName ci.jiniworld.me ErrorLog "/var/log/httpd/api/ci-error_log" CustomLog "/var/log/httpd/api/ci-access_log" common RewriteEngine..
2019.08.10