I suspect I'm missing a timeout somewhere.
I have a medium sized setup running 3.0.2rc on ubuntu 15.40. I screwed up a template, but had a copy of the template exported and tried to import.
Blank screen.
Tried to delete/clear first - blank screen after a couple minutes (not precisely 2 minutes, maybe a bit less).
Stopped zabbix server to see if it was either a blocking issue, or load issue.
Tried deleting a bunch one by one from the host, worked fine, tried again to do a delete-clear - failed with blank screen.
Kept doing that until I could get a delete-clear to work, then re-did the import and it imported fine.
So... what it's not:
It's not an error in the import template nor lack of xml support or anything like that, because it worked before and after.
It's not any interaction with zabbix-server because it wasn't running.
I have checked logs:
- /var/log/apache2/error and /access - no entries other than the "200" for hitting the page.
- /var/log/syslog - nothing
- /var/log/postgresql/postgressql-9.4-main.log - nothing new, errors normally shown ehre.
I've got the following timeouts set:
/etc/php5/apache2/php.ini:
max_execution_time = 900
max_input_time = 900
/etc/apache2/apache2.conf
Timeout 900
What I didn't set in the above was default_socket_timeout, it is set at 60 (I see as I write this) but I didn't think it would impact this, maybe it was?
Incidentally the log level on Apache2 is set to "debug" and normally gives me a lot of clues, but it gave absolutely nothing for this failure, whatever failure it was (the last entry is a 200 for access of the page via POST).
What makes this a bit more interesting is I fixed the template as above, then just for grins with the zabbix server running, I tried importing the (exact same) template again.
It's still running -- maybe 500 seconds into it. The others failed much sooner. So maybe it's some other error not timeout.
But nothing is showing in any log I can think of.
Anyone have any idea what can make a template import, or template delete, just give a blank screen without any errors in any logs?
Or conversely, what log may I not be thinking of to look in?
This rerun is still running and I have to leave for the afternoon, so thought I would post this for anyone's ideas while out. Even if it works this time (the template is absolutely identical this time, same file), I'm not sure what I learned, other than that long running operations will run a long time.
I have a medium sized setup running 3.0.2rc on ubuntu 15.40. I screwed up a template, but had a copy of the template exported and tried to import.
Blank screen.
Tried to delete/clear first - blank screen after a couple minutes (not precisely 2 minutes, maybe a bit less).
Stopped zabbix server to see if it was either a blocking issue, or load issue.
Tried deleting a bunch one by one from the host, worked fine, tried again to do a delete-clear - failed with blank screen.
Kept doing that until I could get a delete-clear to work, then re-did the import and it imported fine.
So... what it's not:
It's not an error in the import template nor lack of xml support or anything like that, because it worked before and after.
It's not any interaction with zabbix-server because it wasn't running.
I have checked logs:
- /var/log/apache2/error and /access - no entries other than the "200" for hitting the page.
- /var/log/syslog - nothing
- /var/log/postgresql/postgressql-9.4-main.log - nothing new, errors normally shown ehre.
I've got the following timeouts set:
/etc/php5/apache2/php.ini:
max_execution_time = 900
max_input_time = 900
/etc/apache2/apache2.conf
Timeout 900
What I didn't set in the above was default_socket_timeout, it is set at 60 (I see as I write this) but I didn't think it would impact this, maybe it was?
Incidentally the log level on Apache2 is set to "debug" and normally gives me a lot of clues, but it gave absolutely nothing for this failure, whatever failure it was (the last entry is a 200 for access of the page via POST).
What makes this a bit more interesting is I fixed the template as above, then just for grins with the zabbix server running, I tried importing the (exact same) template again.
It's still running -- maybe 500 seconds into it. The others failed much sooner. So maybe it's some other error not timeout.
But nothing is showing in any log I can think of.
Anyone have any idea what can make a template import, or template delete, just give a blank screen without any errors in any logs?
Or conversely, what log may I not be thinking of to look in?
This rerun is still running and I have to leave for the afternoon, so thought I would post this for anyone's ideas while out. Even if it works this time (the template is absolutely identical this time, same file), I'm not sure what I learned, other than that long running operations will run a long time.
Comment