wazuh-modulesd WARNING Response buffer size limit reached.

94 views
Skip to first unread message

Robby Hunters

unread,
Feb 25, 2026, 3:06:46 AMFeb 25
to Wazuh | Mailing List
Hi Wazuh Team,

I have an issue about  wazuh-modulesd WARNING  Response buffer size limit reached. in my wazuh, 

To address this issue, I have already increased the response buffer size by setting:

wazuh_modules.response_buffer_size=10485760 

However, the warning message is still appearing in the logs. Any recommended troubleshooting steps to properly resolve this warning?  

Thank you

Regards,
Robby
Message has been deleted
Message has been deleted

Md. Nazmur Sakib

unread,
Feb 25, 2026, 3:51:19 AMFeb 25
to Wazuh | Mailing List

Hi Robby,


The "Response buffer size limit reached" warning appears in wazuh-modulesd when it generates results too large to fit in the transmission buffer.

I am unable to find the configuration you have mentioned. Can you share any reference to this configuration, like a document or the config file path?

I am discussing this with the internal team. I will get back to you soon.

Meanwhile, can you share the ossec.log from your agent or manager where you are getting this error? So that I can review them as well.

cat /var/ossec/logs/ossec.log | grep -i -E "error|warn"

Robby Hunters

unread,
Feb 25, 2026, 4:07:57 AMFeb 25
to Wazuh | Mailing List
Hi Nazmur,

 Sorry... Since I couldn’t find a solution in the documentation, I asked ChatGPT, and it suggested adding the following configuration to:

/var/ossec/etc/internal_options.conf

However, I believe this guidance may be incorrect.

I am seeing the following error in the Wazuh manager logs:

Screenshot 2026-02-25 160313.png

Additionally, I notice there is a time mismatch in the logs and in the Wazuh real-time monitoring.

Thankyou,

Regards,

Robby  

Robby Hunters

unread,
Feb 26, 2026, 11:42:14 PMFeb 26
to Wazuh | Mailing List
Hi Nazmur,

Any update ?

Thanks,

Rgrds,
Robby

Md. Nazmur Sakib

unread,
Feb 26, 2026, 11:45:45 PMFeb 26
to Wazuh | Mailing List
The warning "Response buffer size limit reached" comes from the WriteMemoryCallback function in src/shared/url.c:37, which is used by the HTTP download functions with libcurl.

Modules that can generate this warning:

This warning can come from any of these 3 modules:
  1. office365 - Office365 module
  2. ms-graph - Microsoft Graph module
  3. github - GitHub module


Solution - Increase buffer size:

The buffer size is configurable for all these modules using the curl_max_size parameter in ossec.conf: https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/ms-graph-module.html#curl-max-size

Alternative recommendations:We also recommend trying to reduce the amount of data returned by the API calls by:
  • Limiting by date range - Configure more frequent scan intervals to fetch smaller chunks of data
  • Enabling only_future_events - This option (available in some modules) prevents fetching historical data and only collects new events going forward
  • Filtering by specific content types - Only subscribe to the event types you actually need

Let me know if this solves your issue.
Reply all
Reply to author
Forward
0 new messages