我使用以下方法创建了一项服务:
storage.Client(project='project_name',credentials=credentials)
https://googleapis.dev/python/storage/latest/client.html
我可以上传、删除和列出用户 Google Cloud 存储桶中的文件。我看到了将文件下载到服务器的选项,但是是否有任何选项可以获取可下载链接?
我的 keepalived 配置遇到了一些问题,并在这篇文章中找到了答案:Keepalived for more 20 virtual paths
但我不确定 virtual_ipaddress 和 virtual_ipaddress_excluded 之间的区别?谁能向我解释一下吗?医生说:
virtual_ipaddress_excluded { # 从 VRRP 数据包中排除的 VRRP IP
一些 apache httpd 进程的内存和 cpu 使用率过高,被内核杀死,但我不知道为什么 httpd 使用这么多内存。我需要一些方法来分析或一些方法来重现。
关于 apache 和 syslog 的一些消息
Server version: Apache/2.2.34 (Unix)
Server built: Aug 17 2017 15:49:40
Run Code Online (Sandbox Code Playgroud)
系统日志消息
Oct 19 15:28:20 kernel: httpd invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0, oom_score_adj=0
Oct 19 15:28:20 kernel: httpd cpuset=/ mems_allowed=0-1
Oct 19 15:28:20 kernel: Pid: 7446, comm: httpd Not tainted 2.6.32_1-12-0-0 #1
Oct 19 15:28:20 kernel: Call Trace:
Oct 19 15:28:20 kernel: [<ffffffff8108acf6>] ? dump_header+0x7c/0x187
Oct 19 15:28:20 kernel: [<ffffffff8108b24b>] ? oom_kill_process+0x6c/0x17b
Oct 19 15:28:20 kernel: [<ffffffff8108b784>] ? …Run Code Online (Sandbox Code Playgroud)