Closed santipadilla closed 1 week ago
No big changes detected for logcolector code: https://github.com/wazuh/wazuh/compare/v4.7.4...4.8.0
Just a change from using fopen
to use wfopen
, which is the same in Linux.
Function:
FILE * wfopen(const char * pathname, const char * mode) {
#ifdef WIN32
...
#else
return fopen(pathname, mode);
#endif
}
I've found similar results for 4.7.1 and 4.7.3 versions:
This is for sure a random behavior. The OS assigns memory at the start of the test that may not always be the same. If this test is re-run, it will probably show different results. The important thing here is that the memory usage doesn't increase during the test, in all versions it keeps a nearly constant value.
@vikman90 I think we can close this one.
Description
During the testing in Release 4.8.0 - RC 1 - Footprint Metrics - LOGCOLLECTOR, SYSCOLLECTOR (2.5d) it has been detected a relevant increase of Wazuh-logcollector in RSS, PSS and USS on centOS.
The plots have been compared to Release 4.7.4 - RC 2 - Footprint Metrics - LOGCOLLECTOR, SYSCOLLECTOR (2.5d).