Subject: | |
From: | |
Reply To: | |
Date: | Fri, 11 Feb 2000 15:10:34 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
"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
> > >
> > >
> > >
|
|
|