FAILOVER 3

[rails] Ensure you have either installed the shared-mime-info package for your distribution, orobtain a version of freedesktop.org.xml and set FREEDESKTOP_MIME_TYPES_PATH to the locationof that file.

error_log current directory: /Users/idowon/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/mimemagic-0.3.10/ext/mimemagic /Users/idowon/.rbenv/versions/2.6.6/bin/ruby -rrubygems /Users/idowon/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rake-12.3.3/exe/rake RUBYARCHDIR\=/Users/idowon/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/extensions/x86_64-darwin-18/2.6.0/mimemagic-0.3.10 RUBYLIBDIR\=/Users/..

FAILOVER 2021.04.05

[rails] error: implicit declaration of function 'ffi_prep_closure_loc' is invalid in C99

error log current directory: /Users//.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/ffi-1.15.0/ext/ffi\_c /Users//.rbenv/versions/2.6.6/bin/ruby -I /Users//.rbenv/versions/2.6.6/lib/ruby/2.6.0 -r ./siteconf20210405-41671-1rcq3m7.rb extconf.rb checking for ffi\_prep\_closure\_loc() in -lffi... yes checking for ffi\_prep\_cif\_var()... yes checking for ffi\_raw\_call()... yes checking for ffi\_pre..

FAILOVER 2021.04.05

[Failover] max actives

상황 api 처리속도를 높이기 위해 parallel 처리를 50개 이상씩 한번에 처리하려고 수정중 3rd server 에서 에러가 발생함 내용 jta 를 사용중인데, transactions 갯수 제한이 default 로 되어있었다. 따라서 일시적으로 많은 요청이 들어왔을때 Max number of active transactions reached:50 이 발생했다. 해결 System.setProperty("com.atomikos.icatch.max_actives", "100"); max_actives 를 결정하는 property 를 system.setProperty 로 변경처리함 결과 before after

FAILOVER 2021.02.25