PowerFlex 3.x eventlog.db file filling up and not rotating
Summary: PowerFlex versions 3.0.1.6, 3.5.1.4, and 3.6.0.2 and lower have a bug that causes the rotation mechanism of the eventlog.db file to not work at all, which causes a continuous increase in the file size. ...
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
The file size gets too big over time, never rotates, and historical datafile never get deleted.
The /opt mount point gets filled up and when reaches 100% used capacity might cause an MDM service to crash.
[root@test_largedb ~]# cd /opt/emc/scaleio/mdm/logs [root@test_largedb logs]# ls -lrth total 35G -rw-------. 1 root root 0 Oct 5 2021 umt.0 -rw-r--r--. 1 root root 387 Oct 5 2021 emc-scaleio-mdm-install.log -rw-------. 1 root root 2.1K Oct 6 2021 license.key -rw-r--r--. 1 root root 32K Nov 22 2021 eventlog.db_2021_11_22_20_31_05_300 -rw-r--r--. 1 root root 59M Nov 23 2021 eventlog.db_2021_11_23_09_13_02_696 -rw-r--r--. 1 root root 8.9M Nov 23 2021 eventlog.db_2021_11_23_22_33_39_606 -rw-r--r--. 1 root root 24K Nov 23 2021 eventlog.db_2021_11_23_22_33_41_609 -rw-r--r--. 1 root root 17M Nov 26 2021 eventlog.db_2021_11_26_20_38_37_371 -rw-r--r--. 1 root root 12K Nov 26 2021 eventlog.db_2021_11_26_20_38_38_217 -rw-------. 1 root root 3.3M Feb 15 2022 volume_migration.0 -rw-------. 1 root root 51M Sep 24 01:05 trc.z.4 -rw-------. 1 root root 51M Sep 25 16:59 trc.z.3 -rw-------. 1 root root 51M Sep 27 09:02 trc.z.2 -rw-------. 1 root root 32K Sep 28 19:26 cmatrix_00.0 -rw-------. 1 root root 2.7M Sep 28 19:27 balance_00.0 -rw-------. 1 root root 189 Sep 28 19:37 signal.0 -rw-------. 1 root root 389 Sep 28 19:37 exp.0 -rw-------. 1 root root 2.6K Sep 28 19:37 trc.z.rescue.0 -rw-------. 1 root root 1.3K Sep 28 20:00 trc.0 -rw-r--r--. 1 root root 35G Sep 28 20:00 eventlog.db <<< -rw-------. 1 root root 51M Sep 30 05:46 trc.z.1 -rw-------. 1 root root 9.3M Oct 3 08:52 trc.z.0 [root@test_largedb logs]# df -kh /opt Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_data_os-lv_opt 40G 35G 5G 87.5% /opt <<<
Cause
eventlog.db is the script handling the rotation mechanism of eventlog.db.
The script is written with Python version 2 syntax.
With operation systems where the default Python version is Python3, (e.g Red Hat 8, which runs only Python3), the script will always fail with a syntax error, which results in failing to rotate the eventlog.db file and it increases in size endlessly, until the service is terminated.
The script is written with Python version 2 syntax.
With operation systems where the default Python version is Python3, (e.g Red Hat 8, which runs only Python3), the script will always fail with a syntax error, which results in failing to rotate the eventlog.db file and it increases in size endlessly, until the service is terminated.
Resolution
Upgrade to a fixed version with Python compatibility issue resolved - PowerFlex versions 3.0.1.7, 3.5.1.5, and 3.6.0.3
Affected Products
PowerFlex rack, PowerFlex Appliance, PowerFlex custom node, PowerFlex SoftwareArticle Properties
Article Number: 000205077
Article Type: Solution
Last Modified: 17 Feb 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.