Indexer Job Health status time is in the future?
This is a weird little issue. The Indexer Job status on the health page is showing time in the future. I've double checked the system clock via bash, and tested php's date(); function, both are correct. I'm not sure where it's getting this time from.
Indexer job Last: 2014.07.11 03:35, Next: 2014.07.11 04:05
(It's currently 09:39 EDT on 2014.07.10)
It does seem to update, every 30 minutes, it changes, but it's always in the future.
Comments (9)
-
repo owner -
repo owner - changed status to resolved
Perhaps this is more annoying than supporting, so probably I'll remove this feature, not sure yet.
-
reporter Sorry for the late response- I missed the email notification (oops!)
Actually it isn't that the next job is in the future, that makes sense. The issue is that the previous job is also in the future. The times change, so I think the indexer IS running, but I can't figure out where it's getting it's times from. Running php's date, or date in bash both show the correct time. It also doesn't match up with UTC to my timezone either.
-
reporter - changed status to open
more info.
-
repo owner Well, the logic behind is that there's a beacon file, called /var/piler/stat/indexer, and it's updated when the indexer runs. Then the gui uses the stat() call to figure out the mtime (=last modification time) of it, that should be the previous or past time, and the next time should have an offset 30*60sec. So please check (by using the stat command) if the beacon file is updated properly.
-
repo owner - changed status to resolved
If it's still not ok, then reopen the issue.
-
Hello Janus SUTO,
I have almost the same issue, but mine in the admin gui, it shows
Indexer job Last: 1970-01-01 08:00, Next: 1970-01-01 08:10
I checked the beacon file using stat and yes it is updated when indexer runs.
I also have an error that says:
Warning: stat(): stat failed for /var/piler/stat/indexer in /var/piler/www/model/health/health.php on line 232
Looking forward for your answer. Thanks
-
repo owner What piler version do you have?
-
version 1.3.4 build 994, OS is CentOS7
- Log in to comment
The indexer job runs every 30 mins. So the "next" value indicates when the indexer will run next time (ie. in the future).