架构师的成长之路
niyunjiu · 共 398 篇文章
找出mysql中最大的表
SELECT concat(round(table_rows/1000000,2),'M',' rows'),concat(round(data_length/(1024*1024*1024),2),'G',' DATA'),concat(round(index_length/(1024*1024*1024),2),'G',' idx'),concat(round((data_length+index_length)/(1024*1024*1024),2),'G',' total_size'),concat(round(index_length/data_length,2),' idxrat…
2011-08-04 12:41 · mysql/postgresql · 评论(0)
sysctl.conf
fs.file-max=51200 net.core.netdev_max_backlog = 32768 net.core.somaxconn = 32768 net.core.wmem_default = 8388608 net.core.rmem_default = 8388608 net.core.rmem_max = 16777216 net.core.wmem_max = 16777216 #net.ipv4.tcp_timestamps = 0 #net.ipv4.tcp_tw_len = 1 net.ipv4.tcp_mem = 94500000 915000000 9270…
2011-07-06 14:54 · 系统管理 · 评论(0)
iredmail使用tips
DNS DNS记录,需要你到你的域名托管商那里进行设置或者你自己管理DNS服务器。不少域名托管商不支持txt记录或者不支持DKIM记录,所以你就无法使用SPF和DKIM的功能。 DNS的修改,需要48小时以上才能生效。 国内的万网是不支持DKIM,目前新网是支持SPF和DKIM MX记录 邮件的MX记录最好是指向机器A记录,尽量不要直接指向IP地址(不符合规范)。 添加A记录 mail.example.com 192.168.1.100 添加MX记录 example.com mail.example.com SPF记录 SPF 记录指向A主机记录 example.com. 3600 IN T…
2011-04-20 11:57 · mail/postfix/extmail/iredmail/tmail · 评论(0)
Message Queue Evaluation
http://wiki.secondlife.com/wiki/Message_Queue_Evaluation_Notes
2011-01-09 20:30 · 架构设计/编程思想 · 评论(0)
调优linux i/o 行为
http://www.westnet.com/~gsmith/content/linux-pdflush.htm The Linux Page Cache and pdflush: Theory of Operation and Tuning for Write-Heavy Loads As you write out data ultimately intended for disk, Linux caches this information in an area of memory called the page cache. You can find out basic info a…
2010-11-25 11:27 · 系统管理 · 评论(0)
服务器部署工具
http://www.linuxlinks.com/article/20101024141930129/ServerProvisioning.html FAI High quality tool for fully automatic installation of Linux systems xCAT Extreme Cluster Administration Toolkit Spacewalk Systems management software developed by Red Hat Cobbler OS provisioning and profile management m…
2010-11-12 16:32 · 系统管理 · 评论(0)
Intel Xeon 5500/5600系列 CPU服务器内存设置
http://www.xasun.com/article/2a/1991$3.html 1.With the Xeon 5500 series processors Intel has diverged from its traditional Symmetric Multiprocessing (SMP) architecture to a Non-Uniform Memory Access (NUMA) architecture.In a two-processor scenario, the Xeon 5500 series processors are connected throu…
2010-11-01 21:29 · 系统管理 · 评论(0)