Hello zabbix team!
I have encountered strange problem with housekeeper process in my zabbix server, the situation is as following: During the day the housekeeper is pretty efficient up to ~ 20 max, but during the night starting from 1 AM it's running and taking longer than 1h which is max ~3h and min ~1,5h. Today it was the same situation where my all pm.max_children for php-fpm was reached its max number, I increased it and restarted php-fpm, but it was the same again. In my mariadb database I found several SQL queries from houseekeeping job which took more than 700s to complete the query and there were several of them. We decided to kill those sql queries using their process ID, after that it started to work but I was expecting by the next housekeeper cycle i will face the same problem again because I killed those queries and the data was not deleted properly, but the next housekeeper process didn't took more than 11m to finish its job. How can I determine why every night houskeeper is taking long hours to finish ?
Thanks in advance!
I have encountered strange problem with housekeeper process in my zabbix server, the situation is as following: During the day the housekeeper is pretty efficient up to ~ 20 max, but during the night starting from 1 AM it's running and taking longer than 1h which is max ~3h and min ~1,5h. Today it was the same situation where my all pm.max_children for php-fpm was reached its max number, I increased it and restarted php-fpm, but it was the same again. In my mariadb database I found several SQL queries from houseekeeping job which took more than 700s to complete the query and there were several of them. We decided to kill those sql queries using their process ID, after that it started to work but I was expecting by the next housekeeper cycle i will face the same problem again because I killed those queries and the data was not deleted properly, but the next housekeeper process didn't took more than 11m to finish its job. How can I determine why every night houskeeper is taking long hours to finish ?
Thanks in advance!
Comment