View Single Post
Old 02-23-2012, 08:00 AM   #22
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by knc1 View Post
Either inetd or one of the more modern "improved versions" of the Internet Super Server

This standard *nix utility starts network services (daemons) "on demand" - if/when they are not in use, they don't run.

Ref: http://www.netbsd.org/docs/guide/en/chap-inetd.html

A use case:

You want an httpd daemon (service in en_M$) to run for changing settings remotely, but you don't want to take up the RAM or CPU cycles of having it idling in the background.
This is a good case of using inetd - the httpd daemon doesn't run until you try to connect to it - then inetd kicks in and fires up a copy for your connection to use.

Can be used for any "on demand" network service.
Seems it has been included in Busybox for awhile now:
Code:
Author: Glenn L McGrath <bug1@ihug.co.nz>
Date:   Sun Feb 9 06:51:14 2003 +0000

    New applet, inetd, make httpd features more configurable, update authors, last_patch_80
    from Vladimir N. Oleynik
Which doesn't mean it was included in the Kindle Busybox build - but re-building Busybox with that feature enabled would be the smallest memory footprint way to provide it.
knc1 is offline   Reply With Quote