0

I have multiple WSGI instances running each on it's own user account.

I'm trying to give the users to reload their own HTTPD processes only on Python/DJango code update, without impacting the other users (as full Apache restart would do).

Any way to accomplish this?

SyRenity
  • 3,179
  • 11
  • 57
  • 79

1 Answers1

0

I don't know of a way to restart individual processes without having multiple different apache installs (which is a perfectly sensible way to do it, especially if people are breaking things). However, you might want to look at the graceful restart directive...Basically, it's a restart that waits for running processes to complete, before it cycles the server.

I work on a lot of really large websites, and this is commonly used in production with very little user impact.

Satanicpuppy
  • 5,946
  • 1
  • 17
  • 18