VirtualBox

Opened 17 years ago

Last modified 5 years ago

#819 closed defect

vboxvfs seems to have problems with mmapped access to files — at Initial Version

Reported by: Jan Owned by:
Component: shared folders Version: VirtualBox 3.0.10
Keywords: vboxsf vboxvfs shared folder Cc:
Guest type: Linux Host type: other

Description

I've created a VM with a clone of my webserver's configuration to test my projects under "real" conditions. The Apache webroot is a shared folder mountpoint which is connected to the folder in the host system where I store my sources for the web development.

In the guest VM, I have no problems to access the documents with cat, but the Apache doesn't deliver the files if they're larger than 255 bytes. If I reconfigure Apache to use a handler (e.g. mod_php) to process the requested file before delivering, everything works as desired.

Up to my knowledge, Apache uses mmap() for fast access to static content. Probably this mechanism needs a special support of the underlying file system which vboxvfs doesn't provide.

Host:

  • Gentoo Linux (Sabayon) amd64
  • Kernel 2.6.23-sabayon
  • CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz

Guest:

  • uses VT
  • Gentoo Linux x86
  • Kernel 2.6.22-gentoo-r8
  • Apache 2.2

Change History (0)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use