High utilization of MongoDB (/var/lib/mongo) partition

Bug #1832197 reported by Jan Wasilewski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Oleksiy Molchanov

Bug Description

We faced an issue when /var/lib/mongo partition is almost full, even when ceilometer configuration is set to store meters and events only from last two days:
# grep live /etc/ceilometer/ceilometer.conf
metering_time_to_live=172800
event_time_to_live=172800

however inside mongodb we're able to find older meters/events.
From logs which we have, it seems mongo is showing tons of errors like:
TTLMonitor] error processing ttl for db: ceilometer 0 assertion src/mongo/db/storage/extent_manager.cpp:109

I asked to provide further data and outputs from commands:
mongo
use ceilometer
show dbs
db.meter.dataSize()
db.event.dataSize()
db.resources.dataSize()
db.system.indexes.dataSize()
db.event.totalSize()
db.event.totalIndexSize()
db.event.storageSize()
db.meter.getIndexes()
db.stats()
db.meter.stats()
db.event.stats()
db.serverStatus()
db.getSiblingDB('admin').runCommand({getParameter: 1, ttlMonitorEnabled: 1})
db.event.find({"timestamp" : {$lt : ISODate("2019-05-25T01:20:00Z")}})

As I'm not sure if TTLMonitor is still enabled, but anyway it can suggest some strange crush of that.

I'm raising that ticket as I'm lack of other ideas which can help with further troubleshooting.
Thanks in advance for help here.

Best regards,
Jan

Changed in fuel:
assignee: nobody → Oleksiy Molchanov (omolchanov)
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to packages/trusty/mongodb (9.0)

Fix proposed to branch: 9.0
Change author: Roman Lubianyi <email address hidden>
Review: https://review.fuel-infra.org/41356

Changed in fuel:
status: New → In Progress
Changed in fuel:
importance: Undecided → High
status: In Progress → Fix Committed
status: Fix Committed → In Progress
milestone: none → 9.2-mu-13
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to packages/trusty/mongodb (9.0)

Reviewed: https://review.fuel-infra.org/41356
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0

Commit: dbfd860fc84022ef29f10255c1f19bc298b8da8d
Author: Roman Lubianyi <email address hidden>
Date: Wed Jun 12 11:45:07 2019

Add fix SERVER-16348 prohibit renaming a collection with bg indexes in progress

The source of the patch: https://github.com/mongodb/mongo/commit/a029932768cdc12dd86a0afee4a7411065230c5a

Closes-Bug: #1832197

Change-Id: I46d307ff903da8aecc210421afabb67faf9bb3a2

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Pavel Glazov (pglazovv) wrote :

Verivied:
  Version table:
     1:2.6.10-0u~u14.04+mos5 0
       1050 http://eu.mirror.fuel-infra.org/mos-repos/ubuntu/snapshots/9.0-2019-07-26-180320/
 mos9.0-proposed/main amd64 Packages

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.