Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a difference between a daemon or a service?

or are they both basically an application that is resident in memory, and is bound to a specific port and listens/responds to requests?

share|improve this question
up vote 6 down vote accepted

Daemons and Services are not the same.

A "Service" could refer to either a Daemon or a Service.

A daemon is a subset of services that always run in memory waiting to service a request.

A non-daemon service generally is handled by xinetd. xinetd listens for the request, then starts the required service to handle the request. After the request has been serviced the service is then stopped again.

Typical non-daemon services: rsync vsftpd

Typical daemonized services: MySQL Apache

share|improve this answer
xinetd was created to serve other services to conserve resources, but doesn't make them non-daemons. your example of non-daemons includes a deaemon...vsftpd ends in d because it's convention (but not required) to name unix deamons with a d at the end to stand for Daemon....the vsftp-daemon :-) – Bart Silverstrim Apr 3 '10 at 20:06
Also see – Pacerier Dec 24 '14 at 13:54

daemons and services are one in the same.

However, neither have to be bound to a port. HALd is a daemon, that monitors plugged in hardware and mounts it properly. crond is a daemon that keeps the trains on time.

share|improve this answer
so then they are usually bound to a port, or OS level events? – Blankman Apr 3 '10 at 14:29
@Blankman: a daemon has a job to do - you don't run one if it doesn't. It has to get inputs from somewhere; a common source is the network, but it could be elapsed time (cron) or the various peripheral connection buses (HALd) or ... – Jonathan Leffler Apr 3 '10 at 14:37

Yes - daemons run on Unix-like boxes, and services run on Windows.

Once upon a decade ago, daemons kept going indefinitely and services didn't.

Once upon a couple of decades ago, daemons didn't keep going indefinitely either.

So, really, I meant No - there isn't a significant difference between services and daemons.

Note that 'cron' is a daemon; it is not bound to the network at all.

share|improve this answer
conceptually they're the same. System programs that perform some background task not attached to a particular logged-in user... – Bart Silverstrim Apr 3 '10 at 14:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.