Operating System - HP-UX
1848804 Members
8343 Online
104037 Solutions
New Discussion

Re: tcpip tuning for hp apche 2.0.55.03

 
Shivkumar
Super Advisor

tcpip tuning for hp apche 2.0.55.03

Hi,

We are planning to install hp apache 2.0.55.03 on pa-risc hpux 11.11i.

We would be using this for a soap based web application with weblogic9.1 on hpux.

Can anyone suggest tcpip parameters which should be tuned as best practices for hp apache 2.0.55.03 ?

Thanks,
Shiv
2 REPLIES 2
inventsekar_1
Respected Contributor

Re: tcpip tuning for hp apche 2.0.55.03

HI shivkumar,

Q: What kernel and network parameters should I use for high loads?
The following is a guide to setting parameters on HP-UX 11.0 and later systems. A specific system may vary from these guidelines. See your HP sales representative for HP Consulting options.

kernel parameters STRMSGSZ 65535
dnlc_hash_locks 512
create_fastlinks 1
dbc_max_pct 15
dbc_min_pct 15
eqmemsize 2048
max_thread_proc 2048
maxdsiz 0X40000000
maxdsiz_64bit 0X40000000
maxfiles 2048
maxfiles_lim 2048
maxssiz 0X17f00000
maxssiz_64bit 0X40000000
maxswapchunks 16384
maxtsiz 0X40000000
maxtsiz_64bit 0X40000000
maxuprc 512
maxusers 2048
maxvgs 64
msgmax 32768
msgmnb 65535
msgmni 3200
msgseg 32767
msgssz 32
msgtql 32000
nflocks 2000
npty 60
nstrpty 60
nstrtel 60
o_sync_is_o_dsync 1
semmni 4096
semmns 4096
semmnu 2048
semume 64
semvmx 32768
shmmax 0X40000000
shmmni 1024
shmseg 512
swchunk 4096
vps_ceiling 64


network parameters tcp_time_wait_interval 60000
tcp_conn_req_max 1024 -- 4096
tcp_ip_abort_interval 60000
tcp_keepalive_interval 900000
tcp_rexmit_interval_initial 1500
tcp_rexmit_interval_max 60000
tcp_rexmit_interval_min 500
tcp_xmit_hiwater_def 32768
tcp_recv_hiwater_def 32768


The "ndd" command is used for network tuning.
To check the current setting of the system listen queue:
ndd -get /dev/tcp tcp_conn_request_max
For example to adjust the system listen queue size to 256:
ndd -set /dev/tcp tcp_conn_request_max 256

========================================
this contains all you want:
http://www.hp.com/products1/unix/webservers/apache/faqs/index.html#perf
========================================
Tuning notes: HP Apache-based Web Server v.2.0.0 technology preview on HP-UX 11.0 and 11i (PA-RISC)

http://www.hp.com/products1/unix/webservers/apache/techtips/hpapache_20_perf.html

more info:
http://httpd.apache.org/docs/2.0/misc/perf-tuning.html

HP-UX Web Server Suite faq:
http://www.hp.com/products1/unix/webservers/apache/faqs/index.html

HP-UX Web Server Suite technical tips
http://www.hp.com/products1/unix/webservers/apache/techtips/index.html

Be Tomorrow, Today.
bhupesh m
Frequent Advisor

Re: tcpip tuning for hp apche 2.0.55.03

hi shivkumar,
if u have found the document for that, just reply the link where found.. our team also going to do the same.
and for others also it will be useful.

thanks and best regards,
Bhupesh