CentOS无法停止apache的问题

可以借助apache的apachectl

apachectl stop	
apachectl start	

Continue reading...

linux apache 端口占用问题的解决方法。

centos重启apache时出现:
Starting httpd: httpd: Could not reliably determine the server's fully qualified
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
执行以下命令后启动正常。

  1. #sudo fuser -k -n tcp 80   
  2. #sudo /etc/init.d/httpd -k start   

Continue reading...

Linux查看apache当前连接数(并发数)命令

  1. netstat -an|grep ':80'|grep 'ESTAB'|wc -l  

Continue reading...

Win2003下Apache性能优化

Win2003下Apache性能优化
1、Apache线程数和超时设置

Apache的线程数控制文件为conf/exrtra/http-mpm.conf,需要在httpd.conf中将 Include conf/extra/httpd-mpm.conf前#去掉,以使得http-mpm.conf生效。

在Windows系统中,起作用的是Winnt mpm段,

Continue reading...



about me

  • 陶之11's Blog Name:陶之11 OICQ:14779023 Site:Pao11.com

分类

快捷入口