摘要: out of socket memory调整 主要是调整TCP缓冲区 Increasing the TCP send and receive buffers will increase the performance a lot if (and only if) you have a lot of large files to send. 增加TCP 发送和接收缓冲区对性能... 阅读全文
posted @ 2013-04-26 00:49 浪里飞 阅读(629) 评论(0) 推荐(0)
摘要: /proc/sys/net/ipv4/tcp_max_orphans 系统所能处理不属于任何进程的TCP sockets最大数量。假如超过这个数量,那么不属于任何进程的连接会被立即reset,并同时显示警告信息。之所以要设定这个限制﹐纯粹为了抵御那些简单的 DoS 攻击﹐千万不要依赖这个或是人为的降低这个限制,更应该增加这个值(如果增加了内存之后)。每个孤儿套接字最多能够吃掉你64K不... 阅读全文
posted @ 2013-04-26 00:40 浪里飞 阅读(2990) 评论(0) 推荐(0)