critical_create(): semget() failed: No space left on device 로그를 봤을때 > 개발자팁

개발자팁

개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.

critical_create(): semget() failed: No space left on device 로그를 봤을때 정보

Linux critical_create(): semget() failed: No space left on device 로그를 봤을때

본문

아파치 재시작 되지 않으면서 , 해당 에러 발생합니다.

#ipcs -m
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status 

------ Semaphore Arrays --------
key semid owner perms nsems status 
0x00000000 98304 nobody 600 1 
0x00000000 458753 nobody 600 1 
0x00000000 524290 nobody 600 1 
0x00000000 589827 nobody 600 1



---> 아래스크립트로 nobody 가 잡고 있는 공유메모리 날립니다.
#!/bin/sh
ipcs -s -t|grep nobody|grep -v sem|cut -f1 -d' '|awk '{print "ipcrm sem",$1}' > aa


실행) sh aa



공유메모리 부족문제입니다.
추천
0
  • 복사

댓글 0개

© SIRSOFT
현재 페이지 제일 처음으로