Home  >  Article  >  Backend Development  >  c++程序 进程没有退出,驻留在linux系统中一般是什么原因

c++程序 进程没有退出,驻留在linux系统中一般是什么原因

WBOY
WBOYOriginal
2016-06-06 20:32:271164browse

这个程序是一个命令行程序,返回一个字符串,由php调用。运行一段时间以后,发现有大量的进程驻留。导致系统崩溃。情形如图所示,求大神帮忙分析原因。c++程序 进程没有退出,驻留在linux系统中一般是什么原因

回复内容:

这个程序是一个命令行程序,返回一个字符串,由php调用。运行一段时间以后,发现有大量的进程驻留。导致系统崩溃。情形如图所示,求大神帮忙分析原因。c++程序 进程没有退出,驻留在linux系统中一般是什么原因

进程内部还有线程在工作,所以进程不会退出

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn