Getting Discovery error: "Sensor error: Payload length 6554566 exceeded limit of 5000000" with max_pattern_payload_size set higher than stated limit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2019 09:43 AM
When running a discovery schedule, I'm getting many discovery errors of the type: "Sensor error when processing Horizontal Pattern: Payload length 6554566 exceeded limit of 5000000." The associated MID server's properties have mid.discovery.max_pattern_payload_size set to 10000000 (10 million), which is twice as large as reported by this error. I've tried setting the max payload size to various large sizes, did a Pattern Sync to Mid and restarted the MID after each property update. I get the same error each time. Google searches yielded no answers. Anyone have any wisdom for me?
Thanks,
Kevin
- Labels:
-
Discovery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2019 10:54 AM
Update value of mid.discovery.max_pattern_payload_size to -1 which is no restriction and restart mid server after updating property value.
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2019 04:49 PM
Thanks, Sachin. I had tried the -1 (no limit) trick based on another post. I am still getting "exceeded limit of 5000000" and also received a large number of "out of memory" internal errors, so I had to revert the change back.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2020 10:29 AM
Hi Kevin Tyrrell,
Did you get the answer for the error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 11:20 AM
Did you ever get an answer? I am receiving the same issue and it still errors as
Payload length 5556041 exceeded limit of 5000000