Ask HN: what's going on with HN?
Can't access it for hours.
cat /proc/sys/fs/file-max
You can change this limit: echo 100000 > /proc/sys/fs/file-max
This limit is also available through the "fs.file-max" sysctl.The "lsof" tool is great for seeing what FDs a process has open.
Note that FDs are used for more than just regular files: directories, sockets, pipes, and other file-like objects too.
The default for max open files (1024) is ridiculously low. First thing to do when installing linux, up the max open file limits.
I feel like nothing better describes keeping a web app up and running than Murphy's Law. I amazed at how many little things have developed over time and temporarily brought down my sites over the years.
People will need new stuff regardless of whether or not the old stuff works -- writing the new stuff is "hacking".