- 论坛徽章:
- 5
|
内网有台apahce服务器,apache 是源代码编译安装,
把apache stop后, 再start 等待几十秒才起来。
日志报错如下:
[Wed Dec 18 20:42:14 2013] [notice] caught SIGTERM, shutting down
[Wed Dec 18 20:42:56 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Dec 18 20:43:54 2013] [notice] Digest: done
[Wed Dec 18 20:43:55 2013] [notice] Apache/2.2.4 (Unix) DAV/2 PHP/5.2.3 configured -- resuming normal operations
谷歌,说是共享内存无法释放造成的可能APACHE无法起来,
用ipcs -s|grep www 查看
key semid owner perms nsems
0x00000000 0 root 600 1
0x00000000 65537 root 600 1
0x00000000 1900546 www 600 1
0x00000000 1933315 www 600 1
执行命令删除:
ipcs -s | grep www|perl -e 'while (<STDIN>) { @a=split(/\s+/); print `ipcrm sem $a[1]`}' 再start 就可以起来
但是,下次再重启apahce还是要等待几十秒才起来,
请各位指教 |
|