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

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

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

#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



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

댓글 작성

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

로그인하기

게시글 목록

번호 제목
12386
12385
12384
12380
12379
12378
12377
12376
12375
12374
12373
12372
12371
12369
368
12368
12367
12366
12365
12363
12362
12361
12360
12359
12358