Reputation
241
Top tag
Next privilege 250 Rep.
View close votes
Badges
1 4 22
Impact
~38k people reached

  • 0 posts edited
  • 4 helpful flags
  • 81 votes cast
Feb
25
comment Passenger + nginx: application doesn't run in production mode
@Fernando, none of my ideas were right :(. I'm out of ideas about what's going wrong, it really looks like some file just got corrupted somehow. If I were in your shoes at this point, I'd try re-installing all the agents by copying them from a standalone installation. Do you know how to do that? If not, I'll post it as an answer (because it may solve your problem).
Feb
23
comment Passenger + nginx: application doesn't run in production mode
Also, please post the output of this command on the server machine: ls -la /tmp | wc -l (this will tell you how many files are in the /tmp directory)
Feb
23
comment Passenger + nginx: application doesn't run in production mode
@Fernando, I have some ideas, but I need more info. Can you post your full nginx.conf? (just erase any sensitive information)
Feb
23
comment Passenger + nginx: application doesn't run in production mode
@Fernando, look at your nginx.conf for a line that looks like passenger_debug_log_file. That will tell you where the log file is.
Feb
22
comment Passenger + nginx: application doesn't run in production mode
I find that the important log file to check to debug this kind of problem is passenger.log, not error.log
Feb
16
comment Machine always responds to 192.168.1.2 IP address, which is not set on the machine
@ethermal, try posting the answer now. With the reputation you've gotten from upvotes on the question, it may let you post an answer now.
Feb
12
awarded  Critic
Feb
10
awarded  Commentator
Feb
10
comment Is nginx suited for serving PDFs?
And @pauska, did you downvote this? I just noticed a downvote on it. The benchmark I used as an example was perfectly clear about what configuration it did for all servers, and was not sneaky about anything, so you can draw legitimate conclusions from it. The only real optimization for nginx it made was aligning the number of workers to the number of cores. I find the configuration choices the author made pretty acceptable for good comparison metrics.
Feb
10
comment Is nginx suited for serving PDFs?
There is plenty of information on this. Here's another one I just found on google: ruby-forum.com/topic/150120, and it further has links to others. My point isn't about the specific benchmark. My point is, when you don't know something about performance, use benchmarks, even if they are not your own. The one I put in my answer was just an example, but the other results I'm finding online all tend to be in line with this one that nginx is near the top for request/second and memory usage.
Feb
10
comment Is nginx suited for serving PDFs?
If you find the source unsatisfying, and don't have the time/inclination to do your own benchmark, you can always look for another.
Feb
10
comment Is nginx suited for serving PDFs?
I agree that personal benchmarks are better than trusting other sources (though I haven't done any benchmarks myself -- I use nginx to serve apps and static files and it works fine for my servers so I have no reason to switch or benchmark). But I don't see how looking at another benchmark is worse than just making a blanket assertion or assumption?
Feb
10
awarded  Teacher
Feb
10
comment Is nginx suited for serving PDFs?
Proof by forceful assertion?
Feb
10
revised Is nginx suited for serving PDFs?
deleted 1 characters in body
Feb
10
answered Is nginx suited for serving PDFs?
Jan
3
awarded  Scholar
Jan
3
accepted Compiling nginx with nginx-gridfs, getting mongo-c-driver errors during make
Jan
3
comment Compiling nginx with nginx-gridfs, getting mongo-c-driver errors during make
So far, no problems using the solution in my comment.
Jan
2
awarded  Student