Skip to content

Commit

Permalink
Merge pull request #1120 from wazuh/3.7-6.5-ram-fix
Browse files Browse the repository at this point in the history
Less strict memory check
  • Loading branch information
Jesús Ángel committed Jan 3, 2019
2 parents 7afd612 + cc4ca6d commit 5d310bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "wazuh",
"version": "3.7.2",
"revision": "0415",
"code": "0415-3",
"code": "0415-4",
"kibana": {
"version": "6.5.4"
},
Expand Down
4 changes: 2 additions & 2 deletions public/services/resolves/check-ram.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ export async function totalRAM(genericReq, errorHandler) {
try {
const data = await genericReq.request('GET', '/utils/memory');
const totalRAM = data.data.ram;
if (totalRAM < 3072 && totalRAM > 2048) {
if (totalRAM < 1600 && totalRAM > 1024) {
errorHandler.handle(
`Kibana server has ${totalRAM}MB of RAM, performance will suffer. Please increase it.`,
'RAM',
true
);
} else if (totalRAM <= 2048) {
} else if (totalRAM <= 1024) {
errorHandler.handle(
`Kibana server has ${totalRAM}MB of RAM, performance will suffer. Please increase it.`,
'RAM'
Expand Down

0 comments on commit 5d310bc

Please sign in to comment.