Ok, these commands are great, but still nothing. I add text field to Registration form and column for it to user table. I am not able to see it. I tried to restart docker, restart unicorn with sv, clear assets and precompile them again. And still nothing. I know there must be a way how to do it. Thanks and sorry for noob questions.
I need this “hack” only temporarily, because we need to run this forum ASAP. And it’s buy me some time to do it correct way.
Ok, thanks for the warning I have another question. On our forum we have very high load and our memory is swaping. We have 4GB, but we have on the server also a very visited web. So forum has ± 2GB Ram and we had same server failures caused by low memory. We run with 3 unicorn workers. Should I add more workers or remove one worker? thanks
If you have very high load on the forum (lots of visitors, lots of posts/topics, lots of logged in users) then I recommend running the forum with dedicated resources. It should be OK if you just have lots of anonymous users because of built-in caching.
In particular when you look at the PSS column (which is the only way to get accurate usage for a forked process we see only 500MB or so is used by discourse)
I would recommend
monitoring these numbers when you notice any out of memories
possibly adding another unicorn or 2 if capacity is an issue
explaining what is going on with apache on this server, why is it ever running, is anything it is running causing the runaway memory.
You appear to have plenty of swap space an a reasonable amount of free space (800MB or so)
There is kingdomcomerpg.com wordpress website running on the same server. Both sites forum and homepage has very high traffic. We have 4GB memory, but today we will add 4GB more. We have this dedicated server: http://www.a2hosting.com/flex-dedicated-hosting Leverage settings.
ad 2) As I ask earlier. How can I add more unicorn workers? In unicorn.conf or with ENV and restart docker or how? Thanks.