mongodb如何每次关机安全退出
PHP中文网
PHP中文网 2017-04-22 08:56:08
0
1
580

我在自己的机器上开发程序并安装mongodb,但是经常遇到的问题是:每天开开关关,不出多少天,mongodb就会不自动启动了,然后去检查一下,多半是mongodb没安全退出导致死锁了。

有没有办法可以根治老死锁。

谢谢。

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(1)
大家讲道理

If it is Linux, refer to the script starting with K below /etc/rc*.d. Init will automatically call it when shutting down.

For Windows, you can add a shutdown and run command in the Group Policy Editor.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!