|
发表于 2003-7-26 11:58:26
|
显示全部楼层
Most daemon programs (you can think them as background server program in MS-Windows) can run in two modes, standalone or inetd.
Daemon program has its own port for providing special server.
When a daemon run as standalone, it will listen the port by itself and occupy more system resources.
When a daemon run as inetd, the special port will be listen by inetd thread and call the daemon by inetd. Running in this method will use less system resource then in standalone mode. But the system will response the server request slower then in standalone mode.
So if you want to provide a server which will be in a busy role. You'd better run daemon in standalone mode. And on the other hand, you can run daemon in inetd mode for less system resource usage. |
|