You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marc Slemko <ma...@znep.com> on 2001/08/24 02:24:33 UTC

one byte reads of .var maps

open("/usr/local/apache2/error/HTTP_NOT_FOUND.html.var",0,0666) = 9 (0x9)
read(0x9,0xbfbfb1f0,0x1)                         = 1 (0x1)
read(0x9,0xbfbfb1f1,0x1)                         = 1 (0x1)
read(0x9,0xbfbfb1f2,0x1)                         = 1 (0x1)
read(0x9,0xbfbfb1f3,0x1)                         = 1 (0x1)
read(0x9,0xbfbfb1f4,0x1)                         = 1 (0x1)
read(0x9,0xbfbfb1f5,0x1)                         = 1 (0x1)
read(0x9,0xbfbfb1f6,0x1)                         = 1 (0x1)
read(0x9,0xbfbfb1f7,0x1)                         = 1 (0x1)
read(0x9,0xbfbfb1f8,0x1)                         = 1 (0x1)

(on and on and on...)

Erm... we definitely don't want to be doing that.  At the very least, the
file needs to be opened buffered.  Hmm.  Seems to be very little use of
APR_BUFFERED at all in 2.0... I was sure a lot more things were doing
buffered reads from files in 1.x.