- 博客(3)
- 收藏
- 关注
原创 腾讯云Docker中毒-‘Kirito666‘解决过程记录
参考自大神的博客https://blog.csdn.net/weixin_43590389/article/details/109259526问题描述这几天阿里云学生服务器总是莫名被卡爆,cpu飙升100%内存占用满了,没想什么,重启后继续跑,然后过段时间又飙升100%,我以为是docker内应用跑太多了,学生机配置不够用,就升级了腾讯云的2核4G,过段时间依然 cpu飙升100%内存占用满了,发觉出问题,在docker中发现如下镜像和容器。原因和上面大神的情况不同的是,并不是redis被攻击。
2021-02-26 13:09:05
331
原创 int和Integer互转结果不等的原因 反编译class后对自动装箱的理解
public class Solution0125 { public static void main(String[] args) { Integer a=100; Integer b=100; Integer c=200; Integer d=200; System.out.println(a==b); System.out.println(c==d); }}这段代码结果是truef
2021-01-25 11:35:40
108
1
原创 关于跨域访问Zuul和gateway,Session不一致的问题
问题描述之前运行良好的项目,使用Zuul作为网关负责请求的转发与负载均衡,这段时间修改了项目突然发现不支持session跨域了,sensitive-headers:也设置了,withCredentials: true也加了,但是每次请求sessionId都不一致,很苦恼,两天之后发现问题,Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute原因新版的Chrome
2021-01-14 21:00:27
1288
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人