大规模Windows环境下,采用Nginx反向代理服务后,操作系统会产生较多TIME_WAIT的TCP(Transmission Control Protocol)连接,操作系统默认TIME_WAIT的TCP连接回收时间是4分钟,TCP默认动态端口范围为开始端口49152,结束端口65535。这样会 ...
跨域来源:(前端站点和后端API布署到不同的站点) 解决方案 一.服务端设置 1.配置允许跨域请求 public class BaseAction { /** * 支持跨域请求 * @author fxd * @param response * @since JDK 1.6 */ protected ...
分类:
其他好文 时间:
2020-05-30 01:35:21
阅读次数:
109
Published as a conference paper at ICLR 2018 Tero Karras、Timo Aila、Samuli Laine and Jaakko Lehtinen NVIDIA and Aalto University 一、论文翻译 ABSTRACT We des ...
Win7下C盘无法创建文件解决办法: To fix it, just turn off the User Account Control (UAC). In Windows 8, do not turn off the UAC via control panel, it must go throug ...
DNS and Bind Sockets: C/S: Client:发起应用请求的程序; Server:响应请求(提供服务)的程序; LISTEN: Socket 传输层协议: TCP, UDP, SCTP TCP: Transmission Control Protocol 面向连接的协议:双方通 ...
分类:
其他好文 时间:
2020-05-29 19:37:49
阅读次数:
67
一,为什么要修改docker的cgroup driver? 1,什么是cgroups? cgroups(Control Groups) 是 linux 内核提供的一种机制 它可以限制、记录任务组所使用的物理资源 它是内核附加在程序上的hook, 使程序运行时对资源的调度触发相应的钩子, 达到资源追踪 ...
分类:
系统相关 时间:
2020-05-29 17:56:22
阅读次数:
179
<div class="df mb20"> <input type="text" readonly placeholder="请选择图片" class="form-control col-sm-6"> <input type="text" style="width: 100px;" readonly ...
分类:
Web程序 时间:
2020-05-29 12:08:25
阅读次数:
76
书籍: 1. Student Solutions Manual for Nonlinear Dynamics and Chaos, 2nd edition http://93.174.95.29/main/B0EFCAD73D8C6552F24DCC7BBE380318 2. Nonlinear D ...
分类:
其他好文 时间:
2020-05-29 09:19:53
阅读次数:
135
使用Ajax跨域请求资源,Nginx作为代理,出现:The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed 错误。 服务端允许跨域配置: #region 设置允 ...
分类:
数据库 时间:
2020-05-28 19:33:40
阅读次数:
290
今天重启mysql发现报错如下: $ sudo service mysqld restart Redirecting to /bin/systemctl restart mysqld.service Job for mysqld.service failed because the control ...
分类:
数据库 时间:
2020-05-28 16:13:34
阅读次数:
115