DragonFly BSD
DragonFly users List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: apache and file's access time


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 12 Nov 2004 15:14:57 -0800 (PST)

:AFAIK, Apache will only use mmap for selected "frequently used" files -- it
:can't keep more than a total of 2Gb mmap-ed anyway.
:
:http://httpd.apache.org/docs-2.0/mod/mod_file_cache.html.en#mmapfile
:
:In any case, I tried to shut the httpd down completely and re-request the
:file upon restart. atime did not change. It even survived the system reboot
:-- re-requesting the file from the freshly booted machine did not change
:any of the file's timestamps either :-\
:
: -mi

    Well, if you 'cat' the file and the atime changes, and you http it and
    it doesn't change, then apache is almost guarenteed to be mmap()ing the
    file.

    You could ktrace the apache process(es), issue the request, and see what
    apache actually does with it.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]