启动sftp本机的iptables防火墙功能,限制每个ip连接22端口(sftp连接端口即是ssh端口)最大为50个,当超过50后的连接数的流量就会被DROP掉! 同时iptables需要开放50000-65535范围的端口的访问(linux系统最大的端口为65535) [root@localhost ~]# cat /etc/sysconfig/iptables # Firewall configuration written by system-config-firewall # Man
原文地址:http://engineeringblog.yelp.com/2015/04/true-zero-downtime-haproxy-reloads.html HAProxy: Cornerstone of Reliable Websites One primary goal of the infrastructure teams here at Yelp is to get as close to zero downtime as possible. This means that
一. MongoDB连接数 在Linux平台下,无论是64位或者32位的MongoDB默认最大连接数都是819,WIN平台不知道,估计也没有人在 WIN平台下使用MongoDB做生产环境 [root@localhost mongodb-3.0.4]# ./bin/mongoMongoDB shell version: 3.0.4connecting to: test> use adminswitched to db admin> db.auth('user','password');1>