현상
참고
Tibero7 fs02 버전에서 발생한 현상입니다.
통계 정보를 불러오기 위한 내부 쿼리 수행 중 Out Of Memory가 발생하면서 동시에 Internal Error !"slab_free to a free slab chunk."가 동시에 발생하였습니다.
아래는 sys.log 내용입니다.
[2024-07-12T00:17:15.365551] [FRM-664] [I] THROW. ec=ERROR_OUT_OF_SHP(-3002) [ Out of memory (unable to allocate 40 bytes of shared pool memory).] (csr_id:4294967295) [region_alloc.c:420:real_sys_region_allocator_new]
[2024-07-12T00:17:15.365567] [ALC-664] [I] slab_free to a free slab chunk. chunk: 00007f5018ff7a98 free: 1 slab_size: 1080 ext_num: 40 alloc_owner_id: 664
[2024-07-12T00:17:15.366248] [COM-664] [I] Internal Error with condition '!"slab_free to a free slab chunk."' (5 args) (slab_alloc.c:566:slab_free) (pid=587873, sessid=664, tid=664)
[2024-07-12T00:17:15.369089] [ALC-1709] [I] Can't extend the allocator space. name: (SHP parent allocator) MISC, ext_size: 16777216, total size: 4395630592, max size: 4400090964
[2024-07-12T00:17:15.369101] [FRM-1709] [I] THROW. ec=ERROR_OUT_OF_SHP(-3002) [ Out of memory (unable to allocate 40 bytes of shared pool memory).] (csr_id:4294967295) [region_alloc.c:420:real_sys_region_allocator_new]
[2024-07-12T00:17:15.369105] [FRM-1709] [I] THROW. ec=ERROR_OUT_OF_SHP(-3002) [ Out of memory (unable to allocate 0 bytes of shared pool memory).] (csr_id:4294967295) [secu_authen.c:1303:secu_check_profile]
SQL
복사
원인
통계 정보를 불러오기 위해 Tibero 내부 쿼리 수 도중 Out Of Memory가 발생하였습니다.
Out Of Memory에 대한 예외 처리 과정에서 내부 쿼리 수행을 위한 커서를 이중으로 해제하려는 시도가 발생해 Internal Error가 발생하였습니다.
해결
커서의 이중 자원 해제가 발생하지 않도록 Tibero의 예외 처리 로직을 수정한 259638e 패치를 적용함으로써 문제를 해결할 수 있습니다.
주의
티맥스티베로에서 제공하는 기술지원을 통해 패치를 적용합니다.