Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I deployed a application a while ago and it is currently in production. I learned about and attempted to set up code reloading. I read and followed the documentation. and now I'm looking for a way to check to see if I have configured everything correctly without making an obvious change to the production website.

How can I go about testing this?

share|improve this question
up vote 1 down vote accepted

Clone a production environment to a test environment and do all the testing and checking there.

If use sane approach to things and application is deployed in production, never do tests, checks on it, unless required when troubleshooting the application stack in the middle of the night. Please make it a habit. It makes live of sysadmins and ops so much easier when developers do not go after deployment and say:

"Listen bro can i hop on that prod server we rolled out an app to yesterday pretty quick, it seems I forgot to check one minor thing". - This believe me leads to all kind of problems. Advising from lots of similar situations.

share|improve this answer
Alright, the production servers on a VM so this will actually be pretty simple to do. I'll just make a clone and set up a new host name. This feels pretty obvious (in a "ooooooh... crap" kind of way) now that you've said it. – AlexLordThorsen Oct 9 '13 at 19:20
Do not forget change the hostname and ip addressing, I also tend to have isolated vlans for dev, test just for sanity sake. – Danila Ladner Oct 9 '13 at 19:25

You shouldn't use the background code monitor given at the end of that document in production.

Either way, you can see whether mod_wsgi restarts processes because of code changes by ensuring that LogLevel in Apache is set to 'info'. Then check the Apache error log.

share|improve this answer

Your Answer


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.