Getting Discovery error: "Sensor error: Payload length 6554566 exceeded limit of 5000000" with max_pattern_payload_size set higher than stated limit

Kevin Tyrrell
Kilo Contributor

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

5 REPLIES 5

sachin_namjoshi
Kilo Patron
Kilo Patron

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

Kevin Tyrrell
Kilo Contributor

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.

Sneha40
Kilo Contributor

Hi Kevin Tyrrell,

Did you get the answer for the error?

rail22
Tera Contributor

Did you ever get an answer?  I am receiving the same issue and it still errors as 

Payload length 5556041 exceeded limit of 5000000