logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: Bunch of [cache_disk:error] in logs
Author
bagu



Joined: 06 Jan 2011
Posts: 187
Location: France

PostPosted: Sun 16 Dec '18 14:21    Post subject: Bunch of [cache_disk:error] in logs Reply with quote

Hello,

I have a bunch of [cache_disk:error] in my logs.
E.g. :
Quote:
[Sat Dec 08 11:01:26.635902 2018] [cache_disk:error] [pid 4840:tid 5636] (OS 2)Le fichier spécifié est introuvable. : [client 17.58.103.231:36468] AH00708: Cannot open data file X:/Temp/BP/cSkzIvGE9keOvhl6WuEg.header.vary/DG/ESEcbN9fqS0mzDYqTljg.data
[Mon Dec 10 04:51:57.122227 2018] [cache_disk:error] [pid 4840:tid 5696] (OS 2)Le fichier spécifié est introuvable. : [client 213.136.75.74:47812] AH00708: Cannot open data file X:/Temp/BP/cSkzIvGE9keOvhl6WuEg.header.vary/wZ/7myY5SjhJDmZ4syn34cw.data
[Tue Dec 11 11:17:35.218318 2018] [cache_disk:error] [pid 4840:tid 5408] (OS 2)Le fichier spécifié est introuvable. : [client 95.163.255.19:54676] AH00708: Cannot open data file X:/Temp/BP/cSkzIvGE9keOvhl6WuEg.header.vary/Ex/H9ZhRPg188jj4qkZoTKQ.data
[Tue Dec 11 12:51:43.353965 2018] [cache_disk:error] [pid 4840:tid 5456] (OS 2)Le fichier spécifié est introuvable. : [client 54.36.148.35:28622] AH00708: Cannot open data file X:/Temp/BP/cSkzIvGE9keOvhl6WuEg.header.vary/wb/Z0XhaqelV_wDQnA@A5MA.data
[Sat Dec 15 06:15:59.101581 2018] [cache_disk:error] [pid 4544:tid 5288] (OS 2)Le fichier spécifié est introuvable. : [client 37.9.113.65:58136] AH00708: Cannot open data file X:/Temp/BP/cSkzIvGE9keOvhl6WuEg.header.vary/lB/o27XAr3Ha9wnd3PenR7g.data
[Sun Dec 16 03:12:47.305682 2018] [cache_disk:error] [pid 4544:tid 5600] (OS 2)Le fichier spécifié est introuvable. : [client 66.249.65.221:47714] AH00708: Cannot open data file X:/Temp/BP/cSkzIvGE9keOvhl6WuEg.header.vary/rd/0J4y0VCZik6duVO3_veg.data
[Sun Dec 16 11:08:55.327475 2018] [cache_disk:error] [pid 4544:tid 5420] (OS 2)Le fichier spécifié est introuvable. : [client 54.226.36.60:37954] AH00708: Cannot open data file X:/Temp/BP/cSkzIvGE9keOvhl6WuEg.header.vary/sg/bRpBl3A4r@aoAOeIldHw.data


Here is my cache module configuration :
Code:
<IfModule cache_disk_module>
   # Description:   The directory root under which cache files are stored
   # Syntax:   CacheRoot directory
   CacheRoot X:/Temp

   # Enable caching of specified URLs using a specified storage manager
   CacheEnable disk /

   # Do not store the given HTTP header(s) in the cache.
   CacheIgnoreHeaders Set-Cookie

   # Description:   The minimum size (in bytes) of a document to be placed in the cache
   # Syntax:   CacheMinFileSize bytes
   # Default:   CacheMinFileSize 1
   CacheMinFileSize 1

   # Description:   The maximum size (in bytes) of a document to be placed in the cache
   # Syntax:   CacheMaxFileSize bytes
   # Default:   CacheMaxFileSize 1000000
   CacheMaxFileSize 1000000

   # Description:   The number of levels of subdirectories in the cache.
   # Syntax:   CacheDirLevels levels
   # Default:   CacheDirLevels 3
   CacheDirLevels 1

   # Description:   The number of characters in subdirectory names
   # Syntax:   CacheDirLength length
   # Default:   CacheDirLength 2
   CacheDirLength 2
</IfModule>


Is there a way to avoid these messages ?
Thanks
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7288
Location: Germany, Next to Hamburg

PostPosted: Mon 17 Dec '18 20:29    Post subject: Reply with quote

Le fichier spécifié est introuvable translates to file not found.

From what I read of the source code in mod_cache_disk.c it is the part from sendfile.
The error you get is from Line 555 [1]

So I think you want to play with EnableSendfile Off [2]


Please let us know if that works for you.


[1] http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/modules/cache/mod_cache_disk.c?view=markup#l555
[2] https://httpd.apache.org/docs/current/mod/core.html#enablesendfile
Back to top
bagu



Joined: 06 Jan 2011
Posts: 187
Location: France

PostPosted: Mon 17 Dec '18 20:31    Post subject: Reply with quote

I'll try it this night.
If it work, i'll say it here Wink

Many thanks.
Back to top
bagu



Joined: 06 Jan 2011
Posts: 187
Location: France

PostPosted: Wed 19 Dec '18 2:13    Post subject: Reply with quote

It seem it work.

I had :
Code:
#EnableMMAP off
#EnableSendfile off


in my httpd.conf, and now i have :
Code:
#EnableMMAP off
EnableSendfile off


And i don't have error anymore.

Thanks again
Back to top
bagu



Joined: 06 Jan 2011
Posts: 187
Location: France

PostPosted: Thu 20 Dec '18 10:50    Post subject: Reply with quote

Argh, i spoke too fast.

Errors are still here.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7288
Location: Germany, Next to Hamburg

PostPosted: Thu 27 Dec '18 11:58    Post subject: Reply with quote

Is it still the same error number?
Back to top
bagu



Joined: 06 Jan 2011
Posts: 187
Location: France

PostPosted: Thu 27 Dec '18 12:23    Post subject: Reply with quote

yes

Quote:
[Mon Dec 17 23:19:07.425882 2018] [cache_disk:error] [pid 6596:tid 5452] (OS 2)Le fichier spécifié est introuvable. : [client 66.249.64.58:61434] AH00708: Cannot open data file X:/Temp/Q8/Z6vPJfOYH06ZYsBbLZtA.header.vary/ch/9VROAIfDDShY0l4NCNpg.data
[Tue Dec 18 03:36:10.701993 2018] [cache_disk:error] [pid 6596:tid 5488] (OS 2)Le fichier spécifié est introuvable. : [client 66.249.64.36:12906] AH00708: Cannot open data file X:/Temp/Q8/Z6vPJfOYH06ZYsBbLZtA.header.vary/ch/9VROAIfDDShY0l4NCNpg.data
[Tue Dec 18 09:54:36.316040 2018] [cache_disk:error] [pid 6596:tid 5448] (OS 2)Le fichier spécifié est introuvable. : [client 66.249.64.39:49982] AH00708: Cannot open data file X:/Temp/Q8/Z6vPJfOYH06ZYsBbLZtA.header.vary/ch/9VROAIfDDShY0l4NCNpg.data
[Wed Dec 19 07:47:27.576132 2018] [cache_disk:error] [pid 6596:tid 5708] (OS 2)Le fichier spécifié est introuvable. : [client 151.80.39.31:13914] AH00708: Cannot open data file X:/Temp/Q8/Z6vPJfOYH06ZYsBbLZtA.header.vary/yR/HhCVEEGRaRl6Ut@vfiTw.data
[Wed Dec 19 09:06:25.215383 2018] [cache_disk:error] [pid 6596:tid 5376] (OS 2)Le fichier spécifié est introuvable. : [client 172.68.59.25:42012] AH00708: Cannot open data file X:/Temp/Q8/Z6vPJfOYH06ZYsBbLZtA.header.vary/ch/9VROAIfDDShY0l4NCNpg.data
[Wed Dec 19 15:55:00.435813 2018] [cache_disk:error] [pid 6596:tid 5392] (OS 2)Le fichier spécifié est introuvable. : [client 172.68.59.25:27980] AH00708: Cannot open data file X:/Temp/Q8/Z6vPJfOYH06ZYsBbLZtA.header.vary/ch/9VROAIfDDShY0l4NCNpg.data
[Wed Dec 19 19:02:22.721604 2018] [cache_disk:error] [pid 6596:tid 5520] (OS 2)Le fichier spécifié est introuvable. : [client 172.69.194.17:29790] AH00708: Cannot open data file X:/Temp/Q8/Z6vPJfOYH06ZYsBbLZtA.header.vary/Cs/lW0IQOzFivxpsbHkqW9g.data
[Wed Dec 19 19:10:52.218240 2018] [cache_disk:error] [pid 6596:tid 5392] (OS 2)Le fichier spécifié est introuvable. : [client 172.68.59.25:60162] AH00708: Cannot open data file X:/Temp/Q8/Z6vPJfOYH06ZYsBbLZtA.header.vary/ch/9VROAIfDDShY0l4NCNpg.data
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7288
Location: Germany, Next to Hamburg

PostPosted: Fri 04 Jan '19 9:51    Post subject: Reply with quote

Under which user do you run apache service?
Back to top
bagu



Joined: 06 Jan 2011
Posts: 187
Location: France

PostPosted: Fri 04 Jan '19 10:11    Post subject: Reply with quote

An user with admin rights.
Back to top
gossamer



Joined: 24 Feb 2019
Posts: 2
Location: US, Newark

PostPosted: Sun 24 Feb '19 16:28    Post subject: Reply with quote

I'm also experiencing this problem with httpd-2.4.34 on fedora28. It appears to happen every few minutes. I have no idea what could be causing it.

This is a joomla-3.8 host (linuxsecurity.com). I believe this started after we changed the site name from webstage to www, although it could be a coincidence.

I've tried setting EnableSendfile to off, but it hasn't helped. The document root is not on an NFS share or any of the other issues explained in the Apache docs here:
https://httpd.apache.org/docs/current/mod/core.html#enablesendfile

Code:
[Sun Feb 24 09:05:14.882412 2019] [cache_disk:error] [pid 24070:tid 140295157044992] (2)No such file or directory: [client 173.212.225.134:47834] AH00708: Cannot open data file /var/cache/httpd/HRx/pOb/xK7/mTz/tMN/ioVCrxg.header.vary/ULG/TWv/f_X/eCj/Q5X/QCqsi_Q.data


Below is my config as it relates to caching:

Code:
CacheQuickHandler off
CacheLock on
CacheLockPath /tmp/mod_cache-lock
CacheLockMaxAge 5
CacheIgnoreHeaders Set-Cookie
CacheRoot "/var/cache/httpd"
# Enable the X-Cache-Detail header
CacheDetailHeader on

CacheEnable disk "/"
CacheHeader on
CacheDefaultExpire 800
CacheMaxExpire 64000
CacheIgnoreNoLastMod On
ExpiresActive on
ExpiresDefault A300
CacheDirLevels 5
CacheDirLength 3
Back to top


Reply to topic   Topic: Bunch of [cache_disk:error] in logs View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules