我们使用 mod_proxy 模块作为负载均衡器配置了两个 Apache 服务器作为前端和 4 个 tomcat 服务器作为后端。现在,我们想从 mod_proxy 负载均衡器中排除单个 tomcat url。有什么办法或规则可以排除吗?
代理平衡器设置:
<Proxy balancer://backend-cluster1>
BalancerMember http://10.0.0.1:8080 loadfactor=1 route=test1 retry=10
BalancerMember http://10.0.0.2:8080 loadfactor=1 route=test2 retry=10
</Proxy>
Run Code Online (Sandbox Code Playgroud) 我在 Linux 服务器中有大量数据(300GB)。现在,我想使用rsync
over ssh传输到另一台 Linux 服务器。当我传输数据时,它会在服务器中产生巨大的负载。我可以知道在通过 ssh 传输大量数据时如何避免服务器中的负载吗?
当我执行 ps -aux 时,为什么我有一份 httpd 以 root 身份运行,其余的以 apache 身份运行?
ps -aux | grep httpd
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
root 2820 0.0 1.1 126740 13372 ? Ss 10:23 0:00 /usr/sbin/httpd
apache 2822 0.0 0.5 126804 6456 ? S 10:23 0:00 /usr/sbin/httpd
apache 2823 0.0 0.5 126804 6456 ? S 10:23 0:00 /usr/sbin/httpd
apache 2824 0.0 0.5 126804 6456 ? S 10:23 0:00 /usr/sbin/httpd
apache 2825 0.0 0.5 126804 6460 ? S 10:23 0:00 /usr/sbin/httpd
apache …
Run Code Online (Sandbox Code Playgroud) 我在我的系统中使用 debain 6,最近 dekstop 经常挂起。所以,当我查看硬盘健康时,我发现了很多坏扇区。那么,有没有人说要去除live系统的硬盘坏扇区。
linux ×2
apache-2.2 ×1
debian ×1
hard-drive ×1
http ×1
mod-proxy ×1
mod-rewrite ×1
rsync ×1
tomcat ×1