标签 - debian

文章 feed - 评论 feed

debian9 升级到10

apt update
apt upgrade
nano source.list
deb http://mirrors.163.com/debian buster main contrib non-free
deb http://mirrors.163.com/debian buster-updates main contrib non-free
deb http://mirrors.163.com/debian-security/ buster/updates main contrib non-free
apt update
apt upgrade
apt dist-upgrade

 

root@Gate:/etc/apt# cat /etc/debian_version
10.0

debian下eAccelerator.shm_size设置过大apache2无法启动

阿里云服务器内存升级后设置eAccelerator.shm_size为64M,结果apache2无法启动,

在Linux下,单个进程的最大内存使用量受/proc/sys/kernel/shmmax中设置的数字限制(单位为字节) /proc/sys/kernel/shmmax = 33554432 (32M)

nano /etc/sysctl.conf
kernel.shmmax = 128000000
syscatl -p
service apache2 restart

Powered by Dotclear | Original theme by N.Design Studio - Adapted by Pixials and Pierre Van Glabeke

文章 feed 评论 feed