gyselroth / balloon

High performance, feature rich document management system written for the cloud
GNU General Public License v3.0
18 stars 7 forks source link

Fixed php extension versions in docker file (and apt dependencies) #409

Closed raffis closed 4 years ago

raffis commented 4 years ago

Describe the change

Currently the latest releases of pecl modules get installed. There is also no way to install the latest minor version of a certain major version as far as I am aware.

Should

Install specific minor releases?

Additional context

We have maybe a case where the mongodb driver 1.6 shipped with balloon v2.6.6 docker image results in random high cpu load on the mongodb replset primary.

MongoDB: 3.4.23 (replset 3 nodes). Balloon: v2.6.7 MongoDB php driver: v1.6.0

The high load occurs since the upgrade to balloon v2.6.6 from v2.6.5 while 2.6.5 is shipped with the latest 1.5.x driver.

The cpu usage goes from the usual ~2-3GHz to over 9GHz over a time of 1-2hours and normalizes after. There are not many connections, ~60 and no slow queries at all.

I've been looking for the problem on the MongoDB replset but could not find an explanation for the high load.

raffis commented 4 years ago

Reverted back to balloon 2.6.5 on our own deployment to verify this.

raffis commented 4 years ago

This was an environment based issue and not a bug.