concept. still testing.
- 1 m3.medium + 5 private ip + 5 el ip(default max)
- 5 user account
- each user run darkcoind(bind + rpcport + externalip)
* problem : outbound connection uses default primary private ip -> same el ip.
inbound : no prob.
* edit top added
root@ip-172-31-13-72:~# pstree -au
init
├─cron
├─darkcoind,nm01
│ └─13*[{darkcoind}]
├─darkcoind,nm02
│ └─13*[{darkcoind}]
├─darkcoind,nm03
│ └─13*[{darkcoind}]
├─darkcoind,nm04
│ └─13*[{darkcoind}]
├─darkcoind,nm05
│ └─13*[{darkcoind}]
root@ip-172-31-13-72:~# ip addr
1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: mtu 9001 qdisc pfifo_fast state UP group default qlen 1000
link/ether 06:1d:47:d5:1c:71 brd ff:ff:ff:ff:ff:ff
inet 172.31.13.72/20 brd 172.31.15.255 scope global eth0
valid_lft forever preferred_lft forever
inet 172.31.13.142/20 brd 172.31.15.255 scope global secondary eth0:1
valid_lft forever preferred_lft forever
inet 172.31.13.143/20 brd 172.31.15.255 scope global secondary eth0:2
valid_lft forever preferred_lft forever
inet 172.31.13.144/20 brd 172.31.15.255 scope global secondary eth0:3
valid_lft forever preferred_lft forever
inet 172.31.13.145/20 brd 172.31.15.255 scope global secondary eth0:4
valid_lft forever preferred_lft forever
top - 19:38:55 up 2:24, 6 users, load average: 0.26, 0.19, 0.20
Tasks: 127 total, 3 running, 124 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.3 us, 3.2 sy, 10.2 ni, 81.6 id, 0.0 wa, 0.3 hi, 0.0 si, 4.4 st
KiB Mem: 3854804 total, 2304084 used, 1550720 free, 26476 buffers
KiB Swap: 0 total, 0 used, 0 free. 1688044 cached Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3343 nm04 20 0 779756 110592 18944 S 3.7 2.9 1:11.29 darkcoind
3350 nm05 20 0 779744 106144 18692 S 3.7 2.8 1:08.85 darkcoind
3245 nm02 20 0 779912 104820 19272 S 3.3 2.7 0:43.34 darkcoind
3218 nm01 20 0 780300 107020 19044 S 2.0 2.8 0:42.36 darkcoind
3293 nm03 20 0 781744 107068 19924 S 1.7 2.8 1:12.08 darkcoind