Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

If I have a server that is running Nginx + Passenger (mod_rails) how would I figure out how many requests a second are coming in?

share|improve this question
    
Have you looked at the logs? –  John Gardeniers Dec 4 '12 at 5:25

1 Answer 1

up vote 4 down vote accepted

Have your favorite monitoring system monitor nginx's status or just spot-check it yourself for a snapshot of what's going on now.

share|improve this answer
    
Do you have a recommendation for your first suggestion? And out of curiosity can you explain the second suggestion? Thank you. –  Daniel Fischer Dec 4 '12 at 0:32
    
Also if I don't have the ability to recompile nginx to enable nginx's stub status is there anything else I can do? –  Daniel Fischer Dec 4 '12 at 0:33
    
Use the monitoring system you have now. If you don't have one, you probably need to drop everything and set one up. (Note that Stack Exchange sites really don't do product recommendations.) As for the second one, just load the status page in your browser and look at it. –  Michael Hampton Dec 4 '12 at 0:34
    
If you can't reconfigure nginx, you need to talk to the person who can. –  Michael Hampton Dec 4 '12 at 0:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.