Dr. Galati recently launched his Your Health First site upgrade with a fresh, mobile-responsive layout to make his podcasts readily accessible and to cross-promote his practice and his book. His website’s beautiful new theme was chosen to align the branding sites for his podcast, blog, new book Eating Yourself Sick, and his practice – The Liver Specialists of Texas. This ensures consistent branding, which is key to recognition!
Tendenci – The Open Source Association Management System – amongst other AMS systems – is the leading open source software. OUR MISSION IS TO CONNECT AND ORGANIZE THE WORLD’S PEOPLE. DO GOOD.
Check out the new study released by HTF MI on Global Association Management Software Market, which covers key business segments and wide scope geographies to get deep dive analyzed market data -and a historical data from 2013 to 2018 forecasted till 2025.
Developers and programmers are frequently (ok, almost always) asked to accomplish the impossible yesterday. So this post is for the Tendenci developers and anyone else who uses docker containers, cgroups, jailed name spaces or similar.
Situation: You have a server that is spiking when it previously did not.
Let’s just assume you already have something like OSSEC and the ElasticSearch Stack (ELK Stack) installed and are using a WAF/IDS/IPS endpoint. You are on top of your game. You see the errors from writing to the file system in dockers using the overlayfs file system (please no aufs, just don’t.) How to diagnose it:
“htop” is very good at showing you the issue. It (htop) is also frequently replaced by malware so double check yourself with “ctop” which most variants of common malware omit. Regardless, in this case, we can clearly see we have a stuck process. Enter “ctop” (open source like Tendenci at https://ctop.sh/ and on github at https://github.com/bcicen/ctop .
Running ctop you can quickly identify the container that is using the resources and then enter that container for further trouble shooting. “ctop” look like this:
The solution to a container over utilizing its resources is up to you and your developers. ctop is however a great way to zero in on at least which container is the problem.
In our case, a quick stop/start of the container removed the load and allowed us to do more debugging to figure out the cause. Tendenci is a mature and large codebase for association management (AMS Software) so it’s an iterative process to zero in on issues. And it can be done with the right tools.
This is what one of the Tendenci Cloud docker servers looked like after debugging and killing the process causing the problem. “Yes” of course there is no replacement for “grep”. But with containers the debugging is a new art even for experienced programmers.