Operating System - HP-UX
1757738 Members
2051 Online
108863 Solutions
New Discussion юеВ

Re: Any limitation on number of socket files in HP-UX

 
avsrini
Trusted Contributor

Any limitation on number of socket files in HP-UX

Hi,

Is there any limitations in number of socket files created in HP-UX?

I belive these files are written to /tmp fs.

Thanks in advance
Srini

Be on top.
6 REPLIES 6
Arunvijai_4
Honored Contributor

Re: Any limitation on number of socket files in HP-UX

Hi Srini,

These files are not written in /tmp.

Take a look at this thread,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=941184
You can check out /var/spool/sockets/

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: Any limitation on number of socket files in HP-UX

socket files can be written temporarily in /tmp fs. Generally they are written in,

/var/spool/sockets/ location too.

Check as,

find / -type s to get socket files.

--
Muthu


Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: Any limitation on number of socket files in HP-UX

Socket related parameters are as,

# ndd -h supported | grep socket
ip_enable_udp_bcastrecv - Controls receiving of broadcast packets by UDP sockets
socket_buf_max - Sets maximum socket buffer size for AF_UNIX
sockets.
socket_caching_tcp - Controls socket caching for TCP sockets.
socket_qlimit_max - Sets maximum number of connection requests
for non-AF_INET sockets.
socket_udp_rcvbuf_default - Sets the default receive buffer size for
UDP sockets.
socket_udp_sndbuf_default - Sets the default send buffer size for
UDP sockets.

--
Muthu
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: Any limitation on number of socket files in HP-UX

For tuning or collecting information then,

# collect information
# ndd -get /dev/sockets socket_buf_max
262144

# Tuning:
# ndd -set /dev/sockets parameter

For permanent effect set it with /etc/rc.config.d/nddconf

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: Any limitation on number of socket files in HP-UX

Arunvijai_4
Honored Contributor

Re: Any limitation on number of socket files in HP-UX

Hi again,

HP DSPP is great resource,

http://h21007.www2.hp.com/dspp/topic/topic_DetailSubHeadPage_IDX/1,4946,2-10002-TECHDOCUMENT,00.html

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"