docker-library/drupal

Constant queries to __lastCheckTime.txt

Closed this issue · 3 comments

Dorus commented

I've set up the docker image on microsoft azure. I'm using an app service to host the image, a storage account to mount

/var/www/html/modules
/var/www/html/sites
/var/www/html/profiles
/var/www/html/themes

Also i'm using an Azure Database for MySQL flexible server as database. This one was hard to set up, but i managed to do it.

Since (i think), the 4th this month, i suddenly had a huge spike in usage of the storage account. Cost of the storage account jumped up to almost half my total running cost.

Checking the logs, there is a constant ongoing attempt to query gsite\__lastCheckTime.txt, profiles\__lastCheckTime.txt and themes\__lastCheckTime.txt (but not modules). It's just a constant repeating of queryInfo, Create and Close calls (aka QueryAllInformation, FileOpen and FileClose), around 200 per minute. Notice the modules dir is missing.

This has been ongoing for almost 2 weeks now. And i dont remember doing anything special with the site when it started. Possibly i did reboot and update the image? Subsequent reboots haven't solved it.

Seems like something specific to Azure
image

Can't find anything drupal related with that filename
image

And there's nothing in the container with that name

$ docker run -it --rm drupal bash
root@40340d7855b7:/opt/drupal# find / | grep -i lastchecktime
root@40340d7855b7:/opt/drupal#

But I can't find anything more about it other than unrelated help issues

Dorus commented

Well thanks for looking anyway. I couldn't find anything at all myself so far.

Only place i've ever seen __lastCheckTime.txt before is in the /LogFiles folder on the app storage sftp

afbeelding

I've already tried various things like disabling the file logs, adding the __lastCheckTime.txt to the storage account.

Also i've now removed the empty profile and theme fileshare to save cost. I just noticed the /modules/__lastCheckTime.txt call is there, just less often.

Possible i need to raise an report with azure.

Dorus commented

Update: Microsoft is looking into this one, seems to be something wrong on their side. I'm closing this :)