摘要:
ulimit -a sysctl net.core.somaxconn sysctl -w net.core.somaxconn=65535 # mysqladmin flush-hosts mysql> set GLOBAL max_connections=2000 阅读全文
摘要:
加个 --with-stream_ssl_module 就好了 ./configure --with-stream --with-http_ssl_module --with-stream_ssl_module 阅读全文
摘要:
[root@test ~]# gem install redis-statBuilding native extensions. This could take a while...ERROR: Error installing redis-stat: ERROR: Failed to build 阅读全文
摘要:
熟练使用这个可以提高查找效率 http://docs.telerik.com/fiddler/knowledgebase/quickexec 阅读全文
摘要:
1、$ env: /etc/init.d/nginx: 没有那个文件或目录 这个问题刚开始困惑了我很久,明明文件是存在的啊,脚本也没什么错啊,怎么就是说文件找不到,后面在网看到说是因为文件格式为doc,Linux不能识别,所以,我的做法是:把文件内容复制出来,然后把之前的/etc/init.d/ng 阅读全文
摘要:
#!/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... 阅读全文
摘要:
[root@cloud ~]# [root@cloud ~]# fdisk -l Disk /dev/sdb: 107.4 GB, 107374182400 bytes255 heads, 63 sectors/track, 13054 cylindersUnits = cylinders of 1 阅读全文
摘要:
1. 在 Memcached中可以保存的item数据量是没有限制的,只要内存足够 。 2. Memcached单进程最大使用内存为2G,要使用更多内存,可以分多个端口开启多个Memcached进程,最大30天的数据过期时间,设置为永久的也会在这个时间过期。 3. REALTIME_MAXDELTA: 阅读全文