Disadvantage of fork linux环境下, JBoss中调用curl下载文件, 发现curl占用的内存和JBoss一样多. Historical Background and Problem Description Traditionally, Unix has had only one way to create a new process: using a fork() system call, often followed by an exec() system cal…
man vfork: NAME vfork - create a child process and block parent SYNOPSIS #include <sys/types.h> #include <unistd.h> pid_t vfork(void); DESCRIPTION Standard description (From POSIX.1) The vfork() function has the same effect as fork(2), except…