Re: [users@httpd] Solaris SIGBUS and core on changes to mmap'd files

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

 



On Thu, Jan 19, 2006 at 06:08:21PM -0000, Matt Willsher wrote:
> I have a set up where by Apache serves static content from an NFS share.
> This works ok most of the time but we have been getting occasional BUS
> signals, resulting in core dump, when reading files. This apparently occurs
> because the requested file changes between it being mmap'd and the memcpy. 

This is a known issue with 1.3.  Upgrade to 2.0, and the server will 
usually use sendfile(), which avoids the problem, and the EnableMMAP and 
EnableSendfile directives are available to control it precisely.

In general if files on your site are modified in-place you will 
sometimes be serving corrupt content, so this situation is generally 
better avoided in the first place.

Regards,

joe

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux