HP3000-L Archives

February 2000, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
Mark Bixby <[log in to unmask]>
Date:
Fri, 11 Feb 2000 15:10:34 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (66 lines)
"Newton, Tony" wrote:
>
> (IGNORANCE)
>
> Then how do they get FTP to run under the inetd?
>
> (/IGNORANCE

The 6.0 implementation of FTP was designed to run under inetd.  Inetd listens
on the ftp socket for new connections, and then spawns an ftp server process,
which runs until the user finishes transferring files and then terminates.

Syslog is designed as a single always running process that listens to its own
socket.  If you tried to configure it into inetd, inetd would listen to that
socket, then spawn a syslog process, which would then try to start listening to
the same socket that inetd is listening to, thus producing a socket in use
error.

On a busy system with lots of syslog messages, it's more efficient to be using
a single always-running process, rather than having inetd spawning a new
process for every message.

- Mark B.

>
> ____
> Tony Newton  |  [log in to unmask]
> HP Systems Admin  |  (503) 574-5831
> Providence Health Plan  |  www.providence.org
>
> > -----Original Message-----
> > From: Ron Horner [SMTP:[log in to unmask]]
> > Sent: Friday, February 11, 2000 12:55 PM
> > To:   'Newton, Tony'; [log in to unmask]
> > Subject:      RE: Can syslog run under inetd?
> >
> > I don't think so.  The reason being is that in each job stream, there is a
> >
> > program run.  The program does not exit and another copy of the job stream
> >
> > gets streamed.  Each of these programs requires a separate process.  Now
> > if
> > you had a (I'm giving you a hint) Multi-process job stream, you could have
> >
> > a single job for both processes.
> >
> > Ron Horner
> > Consulting Computer Specialist
> > http://horner.horner.home.mindspring.com
> >
> >
> > -----Original Message-----
> > From: Newton, Tony [SMTP:[log in to unmask]]
> > Sent: Friday, February 11, 2000 2:39 PM
> > To:   [log in to unmask]
> > Subject:      Can syslog run under inetd?
> >
> > > Can the syslog background process be run under the inetd background job?
> > > ____
> > > Tony Newton  |  [log in to unmask]
> > > HP Systems Admin  |  (503) 574-5831
> > > Providence Health Plan  |  www.providence.org
> > >
> > >
> > >

ATOM RSS1 RSS2