sos
在linux执行ipcs -l命令,查看系统信号量组为128,然后再执行ipcs -s命令,查出共有128条,
其中有很多key为0。如下:
key semid owner perms
0x00000000 747405313 omu 600 1
想请各位老大看看,为何会有好多key为0的记录,什么时候key会为0,是否可能是应用程序的问题导致。怎么去分析呢?
不胜感谢!
附:
------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 500
max semaphores system wide = 32000
max ops per semop call = 100
semaphore max value = 32767