How can lsof report more open files than what ulimit says is the limit?
prod_web3(i-ca0b05aa):~$ sudo lsof | wc -l
4399
prod_web3(i-ca0b05aa):~$ ulimit -n
1024
How can lsof report more open files than what ulimit says is the limit?
prod_web3(i-ca0b05aa):~$ sudo lsof | wc -l
4399
prod_web3(i-ca0b05aa):~$ ulimit -n
1024
I'm currently administering about 8 server machines running Ubuntu. Right now, the 4 people with authority to ssh to the systems all share the same private key. This was fine when it was two people and two machines but it's not a good solution anymore. Should I setup an LDAP server? Any other suggestions?
On Ubuntu, it looks like the best place for a private key used to sign a certificate (for use by nginx) is in /etc/ssl/private/
This answer adds that the certificate should go in /etc/ssl/certs/
but that seems like an unsafe place. Do .crt
files need to be kept safe or are they considered public?
I would like to restrict an nginx server to one directory, example/ in this case. I would have presumed it's something like this but it doesn't work.
location ~ !(^/example) {
return 403;
}
Amazon RDS has a metric for 'freeable memory'. It appears to go up & down in a sawtooth pattern.
This leads me to believe that it's memory that is being used by MySQL for caching and that when the cache expires, more freeable memory appears. Any definitive documentation would be great.