Can I symlink multiple directories into one?

No. You would have to symbolically link all the individual files. What you could do is to create a job to run periodically which basically removed all of the existing symbolic links in images_all, then re-create the links for all files from the three other directories, but it’s a bit of a kludge, something like … Read more

How to kill process inside container? Docker top command

When I reproduce your situation I see different PIDs between docker top <container> and docker exec -it <container> ps -aux. When you do docker exec the command is executed inside the container => should use container’s pid. Otherwise you could do the kill without docker straight from the host, in your case: sudo kill -9 … Read more

How to view html file in remote unix server?

It is possible, but with some playing around on the server. Once you have ssh’ed into the server, install a web server in that box. Say the file is named index.html, you should make it available at the URL http://localhost:8000/index.htmlor port number can be anything. The simplest method I can think of starting a web … Read more

How did WhatsApp achieve 2 million connections per server?

If you have enough RAM it’s not too hard to handle 1M or more connections on linux. These guys handled 10 million connections with a java application on a single box using regular CentOS kernel with a few sysctl tweaks: sysctl -w fs.file-max=12000500 sysctl -w fs.nr_open=20000500 ulimit -n 20000000 sysctl -w net.ipv4.tcp_mem=’10000000 10000000 10000000′ sysctl … Read more