테스트 사이트 - 개발 중인 베타 버전입니다

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

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

#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



공유메모리 부족문제입니다.

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

게시글 목록

번호 제목
12463
12462
12461
12460
12459
12458
12457
12456
12455
12454
12453
12452
12451
12450
12449
12448
12447
12446
12445
12444
12443
12442
12441
12440
12439