Code
zfs+freebsd,小手一抖写错启动参数怎么办
freebsd 下摆弄启动参数,不小心把 /etc/rc.conf 改错了,怎么办? 每次登录都启动直接执行rc中的内容,然后就跑飞了,这个怎么整是好.
启动后首先使用single mode,可以进入文件系统. 但是直接修改是不行的,它说是readonly file system,需要挂载下才行. (more…)
FreeBSD is an advanced computer operating system used to power modern servers, desktops and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.
freebsd 下摆弄启动参数,不小心把 /etc/rc.conf 改错了,怎么办? 每次登录都启动直接执行rc中的内容,然后就跑飞了,这个怎么整是好.
启动后首先使用single mode,可以进入文件系统. 但是直接修改是不行的,它说是readonly file system,需要挂载下才行. (more…)
使用到mongo,redis等数据库的时候,往往会遇到这样一个坑。某mongo跑着跑着突然没了,某redis启动先给个warning,仔细一看log说最大文件打开数不够..
# You requested maxclients of 10000 requiring at least 10032 # max file descriptors. # Redis can't set maximum open files to 10032 because of OS error: # Operation not permitted. # Current maximum open files is 1024. # maxclients has been reduced to 4064 # to compensate for low ulimit. # If you need higher maxclients increase 'ulimit -n'.