摘要: ulimit -a sysctl net.core.somaxconn sysctl -w net.core.somaxconn=65535 # mysqladmin flush-hosts mysql> set GLOBAL max_connections=2000 阅读全文
posted @ 2016-08-12 18:13 mycnblogs 阅读(1300) 评论(0) 推荐(0) 编辑
摘要: 加个 --with-stream_ssl_module 就好了 ./configure --with-stream --with-http_ssl_module --with-stream_ssl_module 阅读全文
posted @ 2016-08-03 23:06 mycnblogs 阅读(336) 评论(0) 推荐(0) 编辑
摘要: [root@test ~]# gem install redis-statBuilding native extensions. This could take a while...ERROR: Error installing redis-stat: ERROR: Failed to build 阅读全文
posted @ 2016-07-02 10:45 mycnblogs 阅读(829) 评论(0) 推荐(0) 编辑
摘要: 熟练使用这个可以提高查找效率 http://docs.telerik.com/fiddler/knowledgebase/quickexec 阅读全文
posted @ 2016-07-01 00:38 mycnblogs 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1、$ env: /etc/init.d/nginx: 没有那个文件或目录 这个问题刚开始困惑了我很久,明明文件是存在的啊,脚本也没什么错啊,怎么就是说文件找不到,后面在网看到说是因为文件格式为doc,Linux不能识别,所以,我的做法是:把文件内容复制出来,然后把之前的/etc/init.d/ng 阅读全文
posted @ 2016-06-18 02:02 mycnblogs 阅读(2589) 评论(0) 推荐(0) 编辑
摘要: #!/bin/sh # # nginx - this script starts and stops the nginx daemon # # chkconfig: - 85 15 # description: Nginx is an HTTP(S) server, HTTP(S) reverse \ # proxy and IMAP/POP3 proxy ser... 阅读全文
posted @ 2016-06-18 00:53 mycnblogs 阅读(1396) 评论(0) 推荐(0) 编辑
摘要: [root@cloud ~]# [root@cloud ~]# fdisk -l Disk /dev/sdb: 107.4 GB, 107374182400 bytes255 heads, 63 sectors/track, 13054 cylindersUnits = cylinders of 1 阅读全文
posted @ 2016-06-17 23:07 mycnblogs 阅读(450) 评论(0) 推荐(0) 编辑
摘要: 1. 在 Memcached中可以保存的item数据量是没有限制的,只要内存足够 。 2. Memcached单进程最大使用内存为2G,要使用更多内存,可以分多个端口开启多个Memcached进程,最大30天的数据过期时间,设置为永久的也会在这个时间过期。 3. REALTIME_MAXDELTA: 阅读全文
posted @ 2016-06-08 19:51 mycnblogs 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 1. 下载 阅读全文
posted @ 2016-06-05 22:56 mycnblogs 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 1. 安装PHP,确保能使用能在命令行使用php命令; 2. 下载 https://pear.php.net/go-pear.phar ,并存储到c:\php\go-pear.phar; 3. 运行php go-pear.phar安装,你会看到一些提示,直接回车就好; 3.1 运行 C:\php\P 阅读全文
posted @ 2016-06-05 20:58 mycnblogs 阅读(311) 评论(0) 推荐(0) 编辑
AmazingCounters.com
广州php程序员