[CLUE-Tech] weird apache error?
Todd Williams
todd at crashonline.org
Mon Sep 16 16:59:35 MDT 2002
> Here are some files from /proc/sys/kernel:
>
> [root kernel]# /bin/pwd
> /proc/sys/kernel
> [root kernel]# cat sem
> 250 32000 32 128
> [root kernel]# cat shmall
> 2097152
> [root kernel]# cat shmmax
> 33554432
> [root kernel]# cat shmmni
> 4096
Look like default kernel numbers.
> Do you know how to clear a kernel semaphore array or shared memory
> segment? Now that I know what the array ID or the shared memory ID is,
> I might be able to manually clear/free it the next time I have this
> problem, if I knew how to do it.
man ipcrm
> There is no /tmp clearing on reboot. Since a reboot clears the problem,
> it seems as if a data structure in the kernel's memory was not freed by
> apache when the process exited, so when a new instance of apache is
> starting, it is unable to gain access to that data structure because the
> kernel has not freed it from the original process that owned it.
You may be on the right trail there:
Todd Williams
More information about the clue-tech
mailing list