Most Popular

1500 questions
48
votes
6 answers

Permission denied while reading upstream

We have deployed our rails application on on Nginx and passenger. Intermittently, pages of application get loaded partially. There is no error in application log, but the Nginx error log shows the following: 2011/02/14 05:49:34 [crit] 25389#0: *645…
user68613
  • 603
  • 1
  • 5
  • 6
48
votes
4 answers

Installing optional Nginx modules with apt-get

I currently have Nginx installed via the instructions on the Nginx site: nginx=stable sudo su - add-apt-repository ppa:nginx/$nginx apt-get update apt-get install I have configured Nginx and it has been running great for a little while. Now, I…
Michelle Tilley
  • 583
  • 1
  • 5
  • 7
48
votes
3 answers

Why is setting Nginx as a reverse proxy a good idea?

I have a Django site running on Gunicorn with a reverse proxy through Nginx. Isn't Nginx just an extra unnecessary overhead? How does adding that on top of Gunicorn help?
TheOne
  • 605
  • 1
  • 6
  • 7
48
votes
3 answers

.nfsXXXX files appearing, what are those?

I have an application running (on RHEL5) that streams data onto an NFS share. Recently, I saw a lot of .nfsXXXX... (xxx being a hexadecimal number) appearing in its working directory, where the application writes hourly files and later moves them to…
nos
  • 2,418
  • 3
  • 21
  • 24
48
votes
7 answers

How can I identify which processes are generating UDP traffic on Linux?

My machine is continously making udp dns traffic request. what i need to know is the PID of the process generating this traffic. The normal way in TCP connection is to use netstat/lsof and get the process associated at the pid. Is UDP the connection…
boos
  • 641
  • 1
  • 6
  • 8
48
votes
6 answers

Postfix: Recipient address rejected: User unknown in local recipient table

When I try to send an email on my postfix server to an address on the same domain (for example, if the server hostname is mail.example.com and I try to send an email to [email protected]), I get the following error in the log and the email is not…
Tai Squared
  • 639
  • 1
  • 9
  • 10
48
votes
5 answers

How can I tell which config file Apache is using?

I'm trying to set up virtual hosts on Mac OS X. I've been modifying httpd.conf and restarting the server, but haven't had any luck in getting it to work. Furthermore, I notice that it's not serving files in the DocumentRoot mentioned in httpd.conf…
Claudiu
  • 1,207
  • 5
  • 21
  • 28
48
votes
7 answers

Cable Management Policy

We've all seen good and bad examples of cable management. What are objective, measurable requirements that can be used in a policy to maintain cabling order in the rack/server room/data center? I'm not looking for "Don't do spaghetti wiring!" but…
47
votes
6 answers

Does HTTPS use TCP or UDP?

Does HTTPS use TCP or UDP?
Steven
  • 617
  • 2
  • 6
  • 7
47
votes
7 answers

Recursive text search with grep and file patterns

Given this example folder structure: /folder1/file1.txt /folder1/file2.djd /folder2/file3.txt /folder2/file2.fha How do I do a recursive text search on all *.txt files with grep from "/"? ("grep -r *.txt" fails when run from "/", since…
Anders Sandvig
  • 649
  • 2
  • 9
  • 10
47
votes
3 answers

What are the merits of SAS vs SATA drives?

What are the merits of buying SAS drives over SATA drives, or vice versa?
username
  • 4,755
  • 19
  • 55
  • 78
47
votes
3 answers

systemd: Grant an unprivileged user permission to alter one specific service

I'm running a private game server on a headless linux box. Because I'm not an idiot, said server is running as its own unprivileged user with the bare minimum access rights it needs to download updates and modify the world database. I also created a…
Shadur
  • 1,337
  • 1
  • 11
  • 20
47
votes
5 answers

How many requests should my webserver be able to handle?

Not going into specifics on the specs since I know there is no real answer for this. But I've been doing load testing today with the ab command in apache. And got to the number of 70 requests per second (1000 requests with 100 concurrent users), on…
Ólafur Waage
  • 676
  • 1
  • 7
  • 10
47
votes
3 answers

Use HTTP/2.0 between nginx reverse-proxy and backend webserver

I use nginx as a reverse-ssl-proxy in front of a backend webserver that is capable of doing HTTP/2.0. I noticed that nginx proxies the requests to the backend server via HTTP/1.1 rather than HTTP/2.0. Is it possible to tell nginx to use an…
S1lentSt0rm
  • 1,039
  • 1
  • 9
  • 11
47
votes
2 answers

What does the at-sign "@" mean in nginx location blocks?

I've encountered a few questions and answers on here that use this syntax: location @default { # ... } location /somewhere { try_files $uri @default; } I've searched high and low on the Googles and I can't seem to find any documentation of…
ccnokes
  • 709
  • 1
  • 6
  • 9