[root@modeconf]#pwd/application/apache/conf[root@modeconf]#catextra/httpd-mpm.conf##Server-PoolManagement(MPMspecific)###PidFile:Thefileinwhichtheservershouldrecorditsprocess#identificationnumberwhenitstarts.##NotethatthisisthedefaultPidFileformostMPMs.#<..
分类:
Web程序 时间:
2014-12-17 18:57:52
阅读次数:
237
#!/bin/bash
# 01 00 * * * /nginxlogs/ngx_logcut.sh >/dev/null 2>&1 ##可以放到计划任务里自动执行脚本
pidfile=/var/run/nginx.pid #nginx进程pid文件
logpath='/nginxlogs/' #日志目录
keepdays=30 ...
分类:
其他好文 时间:
2014-12-13 16:31:47
阅读次数:
198
#!/bin/bash # Replace these three settings. PROJDIR="/var/www/t_receive_interface" PIDFILE="/var/run/django.pid" SOCKET="/tmp/django.sock" OUTLOGFILE="/var/log/django/access.out.log" ERRLOGFILE="/v...
分类:
编程语言 时间:
2014-11-26 01:33:13
阅读次数:
194
supervisord
是client/server 系统把不是守护进程的进程变成守护进程监控它自己启动的进程,类似于看门狗可以作为开机启动的一种封装可以精确控制进程的状态,而不是pidfile那么不准确
安装
说白了就是个python包,官方文档,我这里系统是centos6.5 root用户
#系统换进centos5.1pip install supervisor
一般安装...
分类:
其他好文 时间:
2014-11-20 20:26:28
阅读次数:
216
#是否以后台进程运行,默认为no,如果需要以后台进程运行则改为yes daemonize no #如果以后台进程运行的话,就需要指定pid,你可以在此自定义redis.pid文件的位置。 pidfile /var/run/redis.pid #接受连接的端口号,如果端口是0则redis将不会监听TC...
分类:
其他好文 时间:
2014-11-04 14:52:15
阅读次数:
266
1. redis.conf 配置参数:
#是否作为守护进程运行
daemonize yes
#如以后台进程运行,则需指定一个pid,默认为/var/run/redis.pid
pidfile redis.pid
#绑定主机IP,默认值为127.0.0.1
#bind 127.0.0.1
#Redis默认监听端口
port 6379
#客户端闲置多少秒后,断开连接,默认为300(秒...
分类:
其他好文 时间:
2014-10-29 09:17:36
阅读次数:
204
刚才在部署的时候,提到了redis.conf这个文件,这是整个Redis的最重要的配置文件,对于其中的一些参数,做如下说明:属性说明daemonize如果值是“yes”,则启动服务的时候是后台守护进程形式,如果值是“no”,则相反pidfile指定存储Redis进程号的文件路径port指定当前Red...
分类:
其他好文 时间:
2014-09-11 16:59:12
阅读次数:
383
rsync实现Linux服务器上的数据同步到windows上一、windows上安装配置cwrsyncserver软件1.下载rsyncserver软件包,傻瓜式安装,当出现account和密码界面时,可以设置自己的用户名和密码。2.配置rsyncd.conf文件pidfile=rsyncd.pidport=2878usechroot=falsestrictmodes=falsehost..
1、Server端下载rsync-3.1.1pre2.tar.gz#tarzxvfrsync-3.1.1pre2.tar.gz#cd./rsync-3.1.1pre2#./configure--prefix=/usr/local/rsync#make&&makeinstall#vim/etc/rsyncd.conf uid=nobody gid=nobody usechroot=no maxconnections=10 strictmodes=yes pidfile=/var/run/..
分类:
其他好文 时间:
2014-08-15 18:03:49
阅读次数:
212
执行apachectlstart时,error_log报错如下:[warn]pidfile/usr/local/zend/apache2/logs/httpd.pidoverwritten--UncleanshutdownofpreviousApacherun?
[emerg](28)Nospaceleftondevice:Couldn‘tcreateacceptlock(/usr/local/zend/apache2/logs/accept.lock.11056)(5)如果启动ap..
分类:
其他好文 时间:
2014-08-13 15:21:17
阅读次数:
197