处理方法: 在 /etc/sysctl.conf文件中加入下面的配置: fs.inotify.max_user_watches=1048576fs.inotify.max_user_instances=1048576 sysctl -p /etc/sysctl.conf 使修改生效。再次执行 tai ...
分类:
其他好文 时间:
2020-05-08 09:48:45
阅读次数:
60
Recently when I do self study on Vue I find many articles in the internet with full of praise on "Vue" ‘s reactive Two Way Data binding trait. This fa ...
分类:
其他好文 时间:
2020-05-07 22:47:49
阅读次数:
138
tar GNU `tar' saves many files together into a single tape or disk archive, and can restore individual files from the archive. tar命令可以将多个文件或目录打包成一个大文件 ...
分类:
系统相关 时间:
2020-05-06 21:32:59
阅读次数:
93
问题: C and C++ have many differences, and not all valid C code is valid C++ code. C和C ++有很多区别,并非所有有效的C代码都是有效的C ++代码。(By "valid" I mean standard code wi ...
分类:
编程语言 时间:
2020-05-05 23:21:45
阅读次数:
68
Mooncake is a Chinese bakery product traditionally eaten during the Mid-Autumn Festival. Many types of fillings and crusts can be found in traditional ...
分类:
其他好文 时间:
2020-05-03 21:57:42
阅读次数:
87
前言 怀疑昨天晚上考试的时候没带脑子。。。 Solution 这道题可以直接暴力 $QwQ$。(我是来证一波时间复杂度的 我们注意到一个很重要的条件 $1 include using namespace std; int n, m, q, a[55], b[55], c[55], d[55], A[ ...
分类:
其他好文 时间:
2020-05-03 12:33:17
阅读次数:
54
title: linux打开文件数 too many open files 解决办法 date: 2020 05 03 08:30:45 tags: linux categories: linux 阿里巴巴Java开发手册中规定: 调大服务器所支持的最大文件句柄数(File Descriptor,简 ...
分类:
系统相关 时间:
2020-05-03 10:55:58
阅读次数:
95
当服务器出现“open too many files”错误时,应该怎么处理? 答:服务器出现这个错误时,可能是并发连接数太大 File Descriptor(简称fd)太小。 主流操作系统的设计是将TCP/UDP连接采用与文件一样的方式去管理,就是一个连接对应一个fd。 主流Linux系统服务器默认 ...
分类:
其他好文 时间:
2020-05-01 12:31:34
阅读次数:
68
How Many Answers Are Wrong 原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=3038 题目大意: 在一个长度为n的区间上,给出m个区间和,当遇到给出的这个区间与前面的区间有矛盾时,认为新给出的区间是错误的,不更新区间,问有多少错 ...
分类:
其他好文 时间:
2020-04-25 14:16:50
阅读次数:
55
项目好好的,某天启动疯狂报错: 报错很明显,数据库太多链接,应该是关闭项目后资源没有及时释放。 解决方法如下: 首先,重启MySQL服务。 进入MySQL,输入命令: show variables like 'max_connections'; 最大连接数修改大一点: set global max_ ...
分类:
数据库 时间:
2020-04-22 13:33:14
阅读次数:
1215