遭遇kthreaddk

刚才突然发现网站打开很慢,一直在转,不知道哪里出了问题,赶紧登录服务器,发现服务器上执行命令也要好一会才出结果,top一下,发现CPU飙到300%多,而且一直维持在这么高,执行的命令是kthreaddk。 百度了一下,呃,挖矿病毒,不过都是kthreaddi,这个是kthreaddk,难道是升级版? 继续百度一下处理方案, 好像也没有特别简明和确切的。 都是查看一下,删除文件以及kill进程: ls -l /proc/[pid]/exe — 这里pid就是top命令最左侧列的数值,即进程ID(process identifier ) sudo kill -9 [pid] 使用ls命令查看的时候,也都是后面有(deleted)标识,并且相关目录也是为空。 kill后随机又出现一个新的同样是执行kthreaddk命令的进程,CPU又是飙升不降。 crontab -l 命令或者 crontab -e 命令似乎没有什么信息。 后来一通搜索后懵懵懂懂的就认为是gitlab的问题,有了方向就好办了,由于gitlab是使用docker来运行的,直接 docker stop gitlab, 停止后居然CPU就恢复正常了,意外之喜。那么后面怎么办?要不要删掉实例重新创建? 由于打算研究一下,于是重启实例,居然没事了。好吧,有惊无险糊里糊涂的处理了病毒问题,也不知道会不会再出现,只能有碰到再继续研究了。 另外,登录gitlab后,在右侧问号图标处下拉菜单选择help可以查看当前gitlab版本。

VOCABULARY – TEST 6

题目 The viper was ensnared and put in a cage. Her heart was frigid as the weather outside. The ferry to France will leave from quay 6 at 4:35 p.m. Causing much discontent, his regime didn’t remain in power for long. He continued to hew at the gigantic tree with his axe. We should all […]

Redis cluster 官方文档(选摘)

Redis cluster tutorial This tutorial tries to provide information about the availability and consistency characteristics of Redis Cluster from the point of view of the final user, stated in a simple to understand way. Note this tutorial requires Redis version 3.0 or higher. Redis Cluster 101 Redis Cluster provides a way to run a Redis […]

volatile 以及同步相关内容

volatile Fields The Java programming language allows threads to access shared variables (§17.1). As a rule, to ensure that shared variables are consistently and reliably updated, a thread should ensure that it has exclusive use of such variables by obtaining a lock that, conventionally, enforces mutual exclusion for those shared variables. The Java programming language provides […]

TypeScript 学习(一)

TypeScript Documentation TypeScript for the New Programmer What is JavaScript? A Brief History JavaScript (also known as ECMAScript) started its life as a simple scripting language for browsers. At the time it was invented, it was expected to be used for short snippets of code embedded in a web page — writing more than a […]

VOCABULARY – TEST 5

题目 The entrance to the cave was through a large cleft in the rock. A) 绳索 B) 栈道 C) 圆洞 D) 裂缝 His guile earned him the contempt of the other villagers. A) 恐吓 B) 奸诈 C) 骚扰 D) 乞讨 The shirt gaped open to reveal his chest. A) 掉下 B) 破洞 C) 敞开 D) […]

2022. Convert 1D Array Into 2D Array

题目 You are given a 0-indexed 1-dimensional (1D) integer array original, and two integers, m and n. You are tasked with creating a 2-dimensional (2D) array with m rows and n columns using all the elements from original. The elements from indices 0 to n – 1 (inclusive) of original should form the first row […]

VOCABULARY – TEST 4

题目 Weather in mountainous areas is quite mutable. A) 寒冷的 B) 易变的 C) 潮湿的 D) 阴暗的 It is always gusty here on our prarie farm. A) 有风的 B) 多雨的 C) 干燥的 D) 炎热的 Many great classical composers completed their symphonies with grand finales. A) 诙谐曲 B) 序曲 C) 小夜曲 D) 终曲 It isn’t fair to […]

ESLint

官网 Find and fix problems in your JavaScript code Find Problems ESLint statically analyzes your code to quickly find problems. ESLint is built into most text editors and you can run ESLint as part of your continuous integration pipeline. Fix Automatically Many problems ESLint finds can be automatically fixed. ESLint fixes are syntax-aware so you […]

小程序开发初步印象(一)

需要先到微信公众平台 进行注册并选择小程序开发。 进入发布流程完善信息: 补充小程序基本信息: 下载微信开发者工具 安装后用微信账户登录开发者工具,使用官方模板创建小程序项目 由于使用微信云开发,项目创建后,微信会收到资源开通成功通知,这里自动开通了云开发免费版资源,不需要收费。 上传小程序代码: 上传后,到微信公众平台小程序主页,点击左侧版本管理项,打开版本管理页面,将此次上传设置为体验版本: 使用微信扫描弹出窗口的二维码即可打开小程序。 一些问题: 一个用户只能开发一个小程序吗? 设置小程序名称和头像后,右上角用户名称和头像就变成了小程序名称和小程序的头像