> On 29 Aug 2017, at 11:19 pm, Dave Williams <[email protected]> wrote: > > Hi Graham, > > All the settings I quoted (including those invoked by using --include rather > than --include-file) ARE making it through.
Don't use --include, use --include-file. The latter is the official option name. The only reason it works is that it seems that the option parser in Python is tolerant in being able to match an incomplete option so long as there are no conflicts. I would not rely on that though, because if I were to later add a new option --include-stuff, your --include would then stop working and would fail to startup. > I had been exec'ing into the container and looking the /tmp dir already to > check - I was doing a ps to pick up the command line for the process > parameters - I hadn't spotted the apachectl file explicitly - so thank you > for that! > > I have now fixed my exception issue and ran for 4 hours to successful > completion - but still need to work out which aspect of the --debug-mode > actually fixed the Truncated/Oversize packet and unexplained service restarts > issue I was suffering. You didnt advise on how to set the ONE_PROCESS mode > properly if that IS indeed the fix for those symptoms. It isn't really intended that you ever run in single process mode, except for debugging. By doing that you loose many features which make running Python web applications with Apache more robust. It is better you do not rely on that mode for a production system. > Should I be setting threads/processes instead or is the root cause and fix > best done elsewhere? Show me all the options you are currently using. > You were earlier talking about not using onbuild. As I said I followed your > instructions on https://hub.docker.com/r/grahamdumpleton/mod-wsgi-docker/ > (ie the README.rst from the repo). You use onbuild in all your demos too. Are > there alternate instructions/examples you can point me at? That docker image is effectively deprecated and is no longer being developed further. Anything in there is from over 2 years ago and not what I would regard as best practice anymore. Anyway, provide what options you are using so can see where things are at. Can worry about other images you might use later. Graham -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
