Friday, August 12, 2005

Change Network parameters

e: Weblogic instance going down again and again

dp -
You didn't provide much information on your environment for the weblogic
servers. I don't think anyone out there could help you debug something we
don't have information for. Here's some things you can do on the OS side
to ensure your issue isn't related to bad system tunning. I'm not going
to list the tunables for each OS version, so I will assume it is running
Solaris 8.
1. You need to check your file descriptor limits !!! Solaris 8 is 8192
- check your open files, using lsof on the application directory with a
word count. Check it against your current file descriptor limits - uname
-a, uname -n. If the limit is not high enough, then bump it up. On second
thought, bump it up anyway, it could only hurt you keeping it too low.
* In /etc/system add line set rlim_fd_max=8192 and set
2. Here's some common tunables also in the system file
set tcp:tcp_conn_hash_size=32768
set autoup 900
set tune_t_fsflushr 1
3. You may also want to increase ( as long as enough shared memeory is
available ) the java memory -Xms128m -Xmx200m
4. finally set the tcp tunables. I'm including the one's I use, but
should only be used as guidelines for you. These will not be permanent,
so you need to include in a rc startup script.
/usr/sbin/ndd -set /dev/tcp tcp_time_wait_interval 60000
/usr/sbin/ndd -set /dev/tcp tcp_conn_req_max_q 16384
/usr/sbin/ndd -set /dev/tcp tcp_conn_req_max_q0 16384
/usr/sbin/ndd -set /dev/tcp tcp_ip_abort_interval 60000
/usr/sbin/ndd -set /dev/tcp tcp_keepalive_interval 320000
/usr/sbin/ndd -set /dev/tcp tcp_rexmit_interval_initial 4000
/usr/sbin/ndd -set /dev/tcp tcp_rexmit_interval_max 10000
/usr/sbin/ndd -set /dev/tcp tcp_rexmit_interval_min 3000
/usr/sbin/ndd -set /dev/tcp tcp_smallest_anon_port 32768
/usr/sbin/ndd -set /dev/tcp tcp_xmit_hiwat 131072
/usr/sbin/ndd -set /dev/tcp tcp_recv_hiwat 131072
/usr/sbin/ndd -set /dev/tcp tcp_naglim_def 1
/usr/sbin/ndd -set /dev/ce instance 0
/usr/sbin/ndd -set /dev/ce rx_intr_time 32



Post a Comment

<< Home