본문 바로가기


프로젝트 하면서/DB

[tibero6] 기동 실패/shared memory segment with the same key already exists/no space left on device

by worldforest 2021. 5. 15.

a shared  memory segment with the same key already exists

shm_key = 

trying to reuse the shaared memory segment

 

IPC ( Inter-Process Communication ) : unix, linux에서 프로세스 간 통신 가능하게 하는 기술

--> Message Queue, Shared memory, Semaphore

 

ipc search

ipcs
: ipc 자원 조회
옵션 조회대상
-a 모든 자원
-q 메세지 큐
-m 공유 메모리
-s 세마포어

ipc remove

ipcrm [옵션] [ID]
: ipc 자원 삭제
옵션 삭제대상
-q 메세지 큐
-m 공유 메모리
-s 세마포어

 

공유 메모리를 삭제하고

 다시 실행했는데

 

저장용량이 충분하지 않거나 inode를 전부 사용하고 있는 경우 no space left on device 에러가 발생한다.

/dev/mapper/centos-root 가 100% 사용하고 있는걸 볼 수 있다. (왜?)

 

/var/spool/mail과 /var/log를 다 지워줬다. 사용률은 100%로 변동이 없었지만

tibero 실행은 성공했다.

 

 

반응형

댓글