apache 访问日志有一个奇怪的问题。我收到了该网站的条目
/var/log/apache2/access.log
Run Code Online (Sandbox Code Playgroud)
和
/var/log/apache2/other_vhosts/access.log
Run Code Online (Sandbox Code Playgroud)
我正在使用 Debian 6,在 repo 中有最新的 Apache。当我查看文件时
/etc/apache2/conf.d/other-vhosts-access-log
Run Code Online (Sandbox Code Playgroud)
它说
# Define an access log for VirtualHosts that don't define their own logfile
CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log vhost_combined
Run Code Online (Sandbox Code Playgroud)
但是当我查看该站点的 VirtualHost 声明时,它有
CustomLog ${APACHE_LOG_DIR}/access.log vhost_combined
</VirtualHost>
Run Code Online (Sandbox Code Playgroud)
在文件底部。所以我已经声明了日志文件,那么为什么apache仍然向other_vhosts_access.log写入一个条目?
最后,我注释掉了 apache/conf.d 文件中的这一行,但我觉得这不是最好的方法。
我错过了什么?
我正在调查我们遇到的性能问题。我们目前有一个 4 驱动器 RAID5(3+1 故障转移),读取性能很差。
查看带有 2 个驱动器的 RAID1(也许更多,有什么好处?)但从我所阅读的内容来看,带有女士的 RAID1 似乎并没有比单个驱动器提供更多的读取性能,例如它会将读取拆分为 2驱动器。
linux 软件 RAID1 的性能是否比单个驱动器更好?