We configured Zabbix to send all events to a custom php script dealing with all notifications. Thus there are a lots' of action linked to our problems.
Steps to reproduce:
- configure your account to display ~150 rows on the same page
- Navigate to problem.view
White page/error 500/out of memory
see memory profile.png - it seems CAlert::get is leading to very large memory consumption.
within include/actions.inc.php, function getEventsAction, when calling API::Alert()->get(), I added a new options: 'time_from' => time()-86400 .
This limit the number of Action it fetch and make everyting working again.
The best solution would probably be to fetch max n actions of each event where n would be configurable somewhere.
Thanks for all your great work!