Tag Info

Hot answers tagged

2

Ansible is indeed directly callable from your own python script. The Ansible API is fully documented. I have not used it myself but you should be able to write your own python script to leverage Ansible and do what you want. According to their documentation is as simple as this: import ansible.runner runner = ansible.runner.Runner( ...


1

this happens because wfastcgi has a pretty specific section of code handling a watcher over the application directory for files changes. Unfortunately it trips up if a new file is added during the execution of a request. By default it restarts the process (in quite an abruptively way) for any *.py or *.config changes. It can be set, though, to watch only ...


1

Windows will only give memory to a process if and when the process asks for it. Windows won't give away memory to processes that don't ask for it, even if it has plenty of free memory. Looks to me like Python isn't asking for any more than 243MB of memory. Why do you feel like this Python script should be requesting more memory from the operating system? ...



Only top voted, non community-wiki answers of a minimum length are eligible