Most Popular
1500 questions
111
votes
5 answers
an upstream response is buffered to a temporary file
I have a rather large and slow (complex data, complex frontend) web application build in RoR and served by Puma with nginx as reverse proxy.
Looking at the nginx error log, I see quite a few entries like:
2014/04/08 09:46:08 [warn] 20058#0: *819237…
ngw
- 1,321
111
votes
6 answers
Fighting Spam - What can I do as an: Email Administrator, Domain Owner, or User?
This is a Canonical Question about Fighting Spam.
Also related:
How to stop people from using my domain to send spam?
What are SPF records, and how do I configure them?
There are so many techniques and so much to know about fighting SPAM.…
Chris S
- 78,455
111
votes
9 answers
How to stop people from using my domain to send spam?
I receive Mailer Daemon messages saying certain emails fail. My domain is itaccess.org which is administered by Google apps. Is there any way I can identify who is sending emails from my domain, and how they are doing it without me creating an…
Billy Moon
- 1,437
111
votes
7 answers
Is there a way to do a remote "ls" much like "scp" does a remote copy?
Is there a way to do a remote "ls" much like "scp" does a remote copy in a standard linux shell?
yazz.com
- 7,953
111
votes
20 answers
Why should I firewall servers?
PLEASE NOTE: I'm not interested in making this into a flame war! I understand that many people have strongly-held beliefs about this subject, in no small part because they've put a lot of effort into their firewalling solutions, and also because…
Ernie
- 5,402
111
votes
1 answer
InnoDB: Error: log file ./ib_logfile0 is of different size
I just added the following lines in /etc/mysql/my.cnf after I converted one database to use InnoDB engine.
innodb_buffer_pool_size = 2560M
innodb_log_file_size = 256M
innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit =…
jack
- 1,745
110
votes
8 answers
Multiple commands in Docker CMD directive
Not understanding what is happening when I try to execute two commands at runtime via CMD directive in `Dockerfile. I assumed that this should work:
CMD ["/etc/init.d/nullmailer", "start", ";", "/usr/sbin/php5-fpm"]
But it's not working. Container…
Vladan
- 1,303
110
votes
15 answers
ssh tunnel refusing connections with "channel 2: open failed"
All of a sudden (read: without changing any parameters) my netbsd virtualmachine started acting oddly. The symptoms concern ssh tunneling.
From my laptop I launch:
$ ssh -L 7000:localhost:7000 user@host -N -v
Then, in another shell:
$ irssi -c…
lorenzog
- 2,979
110
votes
7 answers
How can the little guys effectively learn and use Puppet?
Six months ago, in our not-for-profit project we decided to start migrating our system management to a Puppet-controlled environment because we are expecting our number of servers to grow substantially between now and a year from now.
Since the…
drumfire
- 1,709
110
votes
10 answers
How do I update a CentOS server's time from an authoritative time server?
I have CentOS machine and each time I've noticed that the server loses correct time after a while. It is usually behind by several minutes after time passes from having manually set the correct time. Is there a mechanism whereby I can update the…
user111196
- 1,257
110
votes
8 answers
How can a single disk in a hardware SATA RAID-10 array bring the entire array to a screeching halt?
Prelude:
I'm a code-monkey that's increasingly taken on SysAdmin duties for my small company. My code is our product, and increasingly we provide the same app as SaaS.
About 18 months ago I moved our servers from a premium hosting centric vendor to…
Stu Thompson
- 3,379
110
votes
5 answers
Should a wildcard SSL certificate secure both the root domain as well as the sub-domains?
I ask this question, because Comodo are telling me that a wildcard certificate for *.example.com will also secure the root domain example.com. So with a single certificate, both my.example.com and example.com are secured without warning from a…
josswinn
- 1,215
110
votes
2 answers
escaping double quotes and percent signs (%) in cron
The following command works from prompt but not from crontab.
grep abc /var/log/messages | grep "`date '+%B %d'`" | mail -s"abc log of `hostname`" s.o+`hostname`@gmail.com
I need to add it to daily cron.
shantanuo
- 3,669
110
votes
4 answers
Perform rsync while following sym links
I have a directory that contains symbolic links to other directories located on different media on my system:
/opt/lun1/2011
/opt/lun1/2010
/opt/lun2/2009
/opt/lun2/2008
/opt/lun3/2007
But the symbolic links show up…
ensnare
- 2,332
- 9
- 29
- 42
110
votes
3 answers
Can I create a top level TLD? (.michael for instance)
It appears that ICANN is allowing the creation of top level domains. Instead of 'registering' a domain, you would essentially be signing up to be a registrar (you'd be giving out registrations on your TLD).
How do they decide whether to…
Michael Pryor
- 1,293