[MCOL-379] system down and high memory alarm set after install Created: 2016-10-27 Updated: 2023-10-26 Resolved: 2017-05-31 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ? |
| Affects Version/s: | 1.0.4 |
| Fix Version/s: | 1.0.10, 1.1.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | David Hill (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
saw on the aws systems and the corp system |
||
| Sprint: | 2017-11 |
| Description |
|
did a new install and logged into the mcsadmin console and saw these 2 alarms. need to investigate why the alarm is issues and why the module is black system is up and the memory usage is normal AlarmID = 7 AlarmID = 23 |
| Comments |
| Comment by David Hall (Inactive) [ 2016-10-31 ] |
|
I'm seeing the SYSTEM_DOWN_MANUAL, but not the MEMORY_USAGE_HIGH. Just a datapoint. |
| Comment by David Hill (Inactive) [ 2016-12-04 ] |
|
fixed the empty "Reporting Module" AlarmID = 7 commit 0aa0ecfb56bf88a00c7b0ce1d4fe2182a807109a oamapps/alarmmanager/alarmmanager.cpp | 2 +- |
| Comment by David Hill (Inactive) [ 2017-03-28 ] |
|
seeing the MEMORY_USAGE_HIGH on google cloud centos 7 instances in testing 1.0.8 and 1.1.0AlarmID = 7 mcsadmin> getsystemres System Resource Usage per Module Module 'pm1' Resource Usage CPU: 0% Usage |
| Comment by David Hill (Inactive) [ 2017-05-26 ] |
|
fix checked in and tested on 1.0.10. will check into 1.1.0 as part of the testing, I used the following script to get memory usage up over 90% to test that the alarms gets report and clear when script exits. here is the test script to use memory and how to use it, the value to enter will vary based on the amount of memory. [root@ip-172-30-0-56 ~]# cat memUser.sh import sys if len(sys.argv) != 2: count = int(sys.argv[1]) megabyte = (0,) * (1024 * 1024 / 8) data = megabyte * count while True: [root@ip-172-30-0-56 ~]# ./memUser.sh 13800 results from the test showing after teh script starts and stops: mcsadmin> getSystemMemoryUsers System Process Top Memory Users per Module Module 'pm1' Top Memory Users (in bytes) Process Memory Used Memory Usage % mcsadmin> getSystemMemory System Memory Usage per Module (in K bytes) Module Mem Total Mem Used Cache Mem Usage % Swap Total Swap Used Swap Usage % Active Alarm List: AlarmID = 7 mcsadmin> getSystemMemoryUsers System Process Top Memory Users per Module Module 'pm1' Top Memory Users (in bytes) Process Memory Used Memory Usage % mcsadmin> getSystemMemory System Memory Usage per Module (in K bytes) Module Mem Total Mem Used Cache Mem Usage % Swap Total Swap Used Swap Usage % Active Alarm List: mcsadmin> |
| Comment by David Hill (Inactive) [ 2017-05-26 ] |
|
develop-1.0 commit commit ccbdb07007dfde95c610fcead008b62e30d7411f oam/install_scripts/post-install | 2 +- |
| Comment by David Hill (Inactive) [ 2017-05-26 ] |
|
fixed in 1.1.0 commit 9c7434ba52dc4ef8a27d4c7b33d4b0e53981174e oam/install_scripts/post-install | 2 +- |
| Comment by David Hill (Inactive) [ 2017-05-30 ] |
|
additional code changes made to make it more versatile. Original code worked on centos 6, but no the newer OSs. change to work on all OS, since the proc/meminfo is different between centos 6 and centos 7 develop commit commit 2cc5fc7195a76ce6ff475ba85f67123ec94b9fbe utils/common/cgroupconfigurator.cpp develop-1.0 commit 22191d908890ecf6dc4e911d70c14b8336bc693a utils/common/cgroupconfigurator.cpp |
| Comment by Daniel Lee (Inactive) [ 2017-05-31 ] |
|
Build verified: Github source 1.0.0 and 1.1.0 1.1.0 [root@localhost mariadb-columnstore-server]# git show [root@localhost mariadb-columnstore-engine]# git show 1.0.0 [root@localhost mariadb-columnstore-server]# git show [root@localhost mariadb-columnstore-engine]# git show mcsadmin> getsystemmemory System Memory Usage per Module (in K bytes) Module Mem Total Mem Used Cache Mem Usage % Swap Total Swap Used Swap Usage % No alarms issued |