HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Multiple instances of inetd...;-000
Operating System - HP-UX
1833323
Members
2979
Online
110051
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2001 06:15 AM
03-01-2001 06:15 AM
Multiple instances of inetd...;-000
Hi friends,
Last week I cam across a strage problem on one of my HP-UX 11 machines. To my surprise I found multiple instances of inetd running on the system and the system was still sunning very smoothly. Can anybody help me regarding the problem ?....
Rgds...
Suhas.
Last week I cam across a strage problem on one of my HP-UX 11 machines. To my surprise I found multiple instances of inetd running on the system and the system was still sunning very smoothly. Can anybody help me regarding the problem ?....
Rgds...
Suhas.
Never say "Die"
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2001 06:51 AM
03-01-2001 06:51 AM
Re: Multiple instances of inetd...;-000
This is normal behavior, inetd spawns multiple child inetd
processes when inetd gets very busy.
See the following diagram in UNIX Network Programming:
start inetd :
socket()
|
bind() (for each service in /etc/inetd.conf)
|
listen()
|
----> select() (for readability)
| |
| accept()
| |
| fork()
| / | / | parent child (second inetd)
| | |
| close() close() (all files other than socket)
|____| |
dup socket to STDIN STDOUT STDERR and close socket
|
setgid()
setuid()
|
exec() e.g. remshd, telnetd
You can verify it very easily.
1. If you use this script on OneMachine:
while true
do
echo "===========================" >> inetd.log
ps -ef|grep inetd |grep -v grep |grep -v tail >> inetd.log
done
2. From two other windows execute:
remsh OneMachine ls
3. In a third window run:
tail -f inetd.log
Then you will see that for a short time you have 2 inetd's.
This also occurs on the backup system. So your answer is yes
this does occur and this is the expected behavior.
processes when inetd gets very busy.
See the following diagram in UNIX Network Programming:
start inetd :
socket()
|
bind() (for each service in /etc/inetd.conf)
|
listen()
|
----> select() (for readability)
| |
| accept()
| |
| fork()
| / | / | parent child (second inetd)
| | |
| close() close() (all files other than socket)
|____| |
dup socket to STDIN STDOUT STDERR and close socket
|
setgid()
setuid()
|
exec() e.g. remshd, telnetd
You can verify it very easily.
1. If you use this script on OneMachine:
while true
do
echo "===========================" >> inetd.log
ps -ef|grep inetd |grep -v grep |grep -v tail >> inetd.log
done
2. From two other windows execute:
remsh OneMachine ls
3. In a third window run:
tail -f inetd.log
Then you will see that for a short time you have 2 inetd's.
This also occurs on the backup system. So your answer is yes
this does occur and this is the expected behavior.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP