We are experiencing an issue where Zabbix enters an infinite loop during BulkRequest processing when a user carries out the following steps:
1. Using an SNMP template to a host
2. Checks item and LLD rule values with the 'Test' function
3. Changes the monitoring interval to 1 hour
4. Starts monitoring
5. Manually retrieves monitoring data using 'Execute Now'
We've tried to reproduce the issue following the same steps as the user, we have been unsuccessful. However, this issue has already occurred twice in the user's environment, suggesting that there is some degree of reproducibility.
Due to this issue, the task manager enters an infinite loop, and we have not found any recovery method other than a restart.
We suspect the issue arises when a request is made with max_vars=0. The current source code does not handle this scenario, causing the task manager to become trapped in an infinite loop.