- 博客(5)
- 收藏
- 关注
转载 Nginx内部线程与进程
Nginx会按需同bai时运行多个du进程:一个主进程(master)和几个工作zhi进程(worker),配置了dao缓存时还zhuan会有缓存加载器进程(cache loader)和缓存管理shu器进程(cache manager)等。Nginx主要通过“共享内存”的机制实现进程间通信。主进程以root用户身份运行,而worker、cache loader和cache manager均应以非特权用户身份运行。在工作方式上,Nginx分为单工作进程和多工作进程两种模式。在单工作进程模式下,除主进程外,还
2020-12-31 11:12:21 863
原创 linux学习网站和Clear RAM Memory Cache, Buffer and Swap Space on Linux
1.https://www.cyberciti.biz/faq/2.https://www.cyberciti.biz/faq/linux-kernel-tuning-virtual-memory-subsystem/
2020-12-29 08:34:39 165
转载 Get memory usage
As Tensibai mentioned, you can extract this info fromthe/procfilesystem, but in most cases you need to determine the trending yourself. There are several places which could be of interest:/proc/[pid]/statm Provides information about memory...
2020-12-28 21:16:18 187
转载 释放linux的swap内存
如上图,一般情况下不会用到swap的,一般物理内存使用在90%以上(默认是这个数,可以自行在/etc/sysctl.conf里设置vm.swappiness参数),但有的时候,内存会被缓存占用,导致系统开始使用swap空间,此时就需要清理下swap了这里先说下vm.swappiness参数,设置成vm.swappiness=10:就是说当内存使用90%以上才会使用swap空间风险:机器必须有足够多的物理内存,否则贸然swapon/swapoff会导致OOM随机kill掉进程从而出现问题;T..
2020-12-28 21:08:09 298 1
原创 active directory fatal: Access denied for user by PAM account configuration
There is 8 Linux servers configed with SSSD for AD user login auth. Please find the sssd, pam system_auth, password_auth & sshd config file from the attached. But the issue is I can not use all AD user to ssh login server, here is AD user "jsun" for...
2020-12-18 17:41:45 3775 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人