摘要:
List<T> l = new List<T>(); l = l.Select(a => new { a, newID = Guid.NewGuid() }).OrderBy(b => b.newID).Select(c=>c.a).ToList(); List<string> iList = ne 阅读全文
摘要:
List<T> l = new List<T>(); l = l.Select(a => new { a, newID = Guid.NewGuid() }).OrderBy(b => b.newID).Select(c=>c.a).ToList(); List<string> iList = ne 阅读全文
摘要:
Module ngx_http_proxy_module http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_http_version Syntax: proxy_http_version 1.0 | 1.1; Default 阅读全文
摘要:
问题描述后台server服务响应时间正常,但是请求没有打到服务器,在nginx很慢才看到error日志,如下: 2018/07/26 10:17:42 [error] 45762#0: *7489 upstream timed out (110: Connection timed out) whil 阅读全文
摘要:
在使用Nginx做转发时遇到了连接不上的情况,查看error日志发现一堆的Too many open files报错 2020/06/10 12:47:49 [crit] 21453#21453: *77340 open() "/usr/share/nginx/html/50x.html" fail 阅读全文
摘要:
make uninstall 阅读全文
摘要:
百度搜索User-Agent: 百度 PC UA Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html) Mozilla/5.0 (compatible; Baiduspider-rend 阅读全文
摘要:
解决方法: 临时降低 echo 100 > /sys/module/ipmi_si/parameters/kipmid_max_busy_us 永久生效(系统重启生效): echo "options ipmi_si kipmid_max_busy_us=100">/etc/modprobe.d/ip 阅读全文
摘要:
查找进程 ps -ef|grep nginx 2杀死进程 killall -9 nginx 1. centos下 如果出现: -bash: killall: command not found yum install psmisc -y 1 2. debian、ubuntu系统下 apt-get i 阅读全文
摘要:
当磁盘大小超过标准时会有报警提示,这时如果掌握df和du命令是非常明智的选择。 df可以查看一级文件夹大小、使用比例、档案系统及其挂入点,但对文件却无能为力。 du可以查看文件及文件夹的大小。 两者配合使用,非常有效。比如用df查看哪个一级目录过大,然后用df查看文件夹或文件的大小,如此便可迅速确定 阅读全文
|