Solaris TCP settings
Hi all,
I remember there was a recommendation for the Solaris TCP settings like
tcp_time_wait_interval and tcp_conn_req_max_q. I can't seem to find it now.
Is it still relevant? If so where? I have heard that it is nolonger required
for WLS5.1. Is this correct?
thanks
-lucio
Lucio,
If you are using Solaris - then I strongly recommend this document -
http://www.rvs.uni-hannover.de/people/voeckler/tune/EN/tune.html in
particular section 5.1
regards,
-Rob
Robert Castaneda [email protected]
CustomWare http://www.customware.com
"Lucio Piccoli" <[email protected]> wrote in message
news:[email protected]..
Hi all,
I remember there was a recommendation for the Solaris TCP settings like
tcp_time_wait_interval and tcp_conn_req_max_q. I can't seem to find itnow.
Is it still relevant? If so where? I have heard that it is nolongerrequired
for WLS5.1. Is this correct?
thanks
-lucio
Similar Messages
-
If you are running Weblogic on Solaris you'll need to change some of the
default TCP configuration parameters.
Sun's default TCP settings are not correct for a web server.
We noticed the server was stalling during certain peak periods. netstat
showed that many sockets opened to port 80 were in CLOSE_WAIT or
FIN_WAIT_2.
The following url is a great resource for tuning Solaris TCP/IP
http://www.rvs.uni-hannover.de/people/voeckler/tune/EN/tune.html
Changing the following TCP params solved our stalling problem. Also make
sure you up the ulimit as stated in the weblogic doc.
# to display the TCP values.
ndd /dev/tcp tcp_close_wait_interval tcp_fin_wait_2_flush_interval
tcp_keepalive_interval
# set tcp_close_wait_interval from 2400000 to 60000
ndd -set /dev/tcp tcp_close_wait_interval 60000
# set tcp_fin_wait_2_flush_interval from 675000 to 67500
ndd -set /dev/tcp tcp_fin_wait_2_flush_interval 67500
#set tcp_keepalive_interval from 7200000 to 300000
ndd -set /dev/tcp tcp_keepalive_interval 300000Hi Victor,
We are facing similar problems as you are while running load testing using Load runner simulating a load of 100 concurrent users.
We have Oracle 8.1.7.4 client running on WebLogic 6.1 SP4 on Solaris 2.6 connecting to Oracle OPS 8.1.7 running on Solaris 2.6. We are getting core dumps while running stress testing using Load Runner for 100 concurrent users. The performance is very good for a while in the beginning of the test with CPU and memory utilization low and all of a sudden we see requests for connections queueing up on the WLS and the server crashes.
If you have found a solution to your problem Please send us details of it. Also it will be very helpful if you can send us the fix applied.
You can send your reply to my email at [email protected]
Regards,
Raj -
Hello all,
On different sites in different threads I read that many people have problems getting the JIMM messenger software running because of the network settings. I am one of them. The problem is, that there are some hints which I all tried, but there is no real solution. Perhaps someone here can help.
The problem should be the same for any other software using direct internet connection.
What I already managed: It runs using sockets connection via the APN "web.vodafone.de", which I entered in Options - TCP.
Since I'm additionally charged for this APN I would like to have it work using the blackberry APN "blackberry.net". I entered it in the TCP settings.
So here are my questions:
1) Do I need login information for the APN "blackberry.net" (user / password)?
2) Does this APN only support HTTP or also sockets? Both does not work on my BB. I get errors 118 or 125.
3) I using HTTP, which are the correct settings for port, user agent and profile in the JIMM software? If you cannot enter the correct strings, please tell me where I can copy them. (Service books etc.?)
4) Are there any additional settings I have to change?
Thanks a lot in advance.
Joerg.I doubt you can do something about this from within Java. The TCP/IP stack is not a part of Java. It is handled by the operating system. Sorry...
/Michael -
Where are the TCP settings on an 8330m? I've looked through everything under 'options'(and that includes all the subcategories) and can't find it.
this settings are OK but (minimal), when you say "going forward" is this for performance or growth?
tcp_conn_req_max_q 128
tcp_conn_req_max_q0 1024
tcp_xmit_hiwat 16384
tcp_recv_hiwat 24576
tcp_conn_hash_size 512 -
I tried to write program, that will listen to the opening new tcp connections in the Solaris system.
Fot the target I try to overwrite the <code>pr_usrreq()</code> function from the <code>protosw<code>
protocol switch table struct. The <code>pr_usrreq</code> function gets first parameter socket, according to the documentation from the include file /usr/include/sys/protosw.h, the parameter from the <code>struct socket</code> type. I cannot find the definition of the <code>struct socket </code> in the include files
of the Solaris system. I cannot to pass the compilation of the my module.
May be:
Anyone tried to resolve the problem ?
The protocol switch table is not relevanted in the Solaris system?
The first parameter has another type ?
The there is another solution ?
Thanks in advance.
P.S. I found the <code>struct sonode</code> type in the /usr/include/sys/socketvar.h file, that like to the <code>struct socket</code>.I tried to write program, that will listen to the
opening new tcp connections in the Solaris system.
Fot the target I try to overwrite the
<code>pr_usrreq()</code> function from the
<code>protosw<code>
protocol switch table struct. The
<code>pr_usrreq</code> function gets first parameter
socket, according to the documentation from the
include file /usr/include/sys/protosw.h, the parameter
from the <code>struct socket</code> type. I cannot
find the definition of the <code>struct socket </code>
in the include files
of the Solaris system. I cannot to pass the
compilation of the my module.Solaris TCP/IP doesn't use pr_usrreq() or protosw struct. Can you describe in more detail
what are you trying to achieve? -
Hi, i am having SUN Ultra 2 machine with solaris 9.
Right now i want to change the display settings of screen resolution
but i dont know how to change the resolution of the screen.
Note: the monitor is Samtron Monitor, NOT SUN MONITOR.
can any body help
when i cd to /dev/fbs
it is showing that only one entry - cgsix0
how to find out which graphic card right now we are using
can any body help.
thans in advance.
kamalWithout opening the case the only way you will know what video card is in your Ultra 2 is to log in as root and enter
# fbconfig -list
This command will display the video system but not the card part number.
The command to change the resolution to 24 bit color, 8 bit color is the default setting, plus the resolution is:
# fbconfig -res 1024x768x60 -depth 24
This command sets the resolution to 1024x768 at a refresh reate of 60hz and the color depth is 24bit.
The command to view the various resolutions for a video card is:
# fbconfig -propt | more
The list is rather long so I included the pipe through more so you can see all of them 1 page at a time.
The command to view the current resolution is:
# fbconfig -list
The command to reset the video resolution back to it's default setting is:
# fbconfig -default
Sun recommends all resolution and color depth changes be done with Xwindow not running. This can be done by either booting into standalone or, from the CDE login prompt select 'command line' from the drop down session menu. Available video memory can restrict the color depth
The part number for the video card is located on the video cards plug. It normally is written on an orange label and pressed onto the video cards plug.
The 3 possible low resolution video card that may come with the Ultra 2 are:
1. TurboGX 8-Bit Frame Buffer
2. TurboGXplus 8-Bit Frame Buffer
3. SunVideo Board
If you have a default low end video card, you can upgrade to a FFB2. However, it's important for you to know that is not all FFB2's will work in an Ultra 2 with a single or dual 300mhz processor. My advice is for your to review the system handbook manual for the Ultra 2 available on www.sunsolve.sun.com. This manual can be downloaded as a pdf file and read off-line.
To recap, the only way to know what type of video card you have installed in your Ultra 2 is to open the case and look at the video card itself. Copy down the part number which should start with '501' and then cross reference this Sun part number with the information contained on Sun Solve's handbook pages for the Ultra 2. To assist you getting to the Sun Solve Handbook page for the Ultra 2 I have included the url link.
http://sunsolve.sun.com/handbook_pub/Systems/U2/U2.html
Michael -
Unix(Sun Solaris)-Servlet settings
Hi all,
Iam a new user to unix and trying to compile a servlet in unix(sun solaris)platform.getting error as follows
"Package javax.servlet.http not found in import"
i assume that this is a problem with classpath setting.Can anybody help me how to set classpath and what is the command for it for servet package.
the basic java classes are compiling fine.
Expecting a reply soon.
regards
saraI imagine that your are including the lines:
import javax.servlet.*;
import javax.servlet.http.*;
in your servlet. If that is the case, when you compile your project try:
javac -classpath .:<path to servlet.jar>:<path to server.jar>: YourServlet.java
I hope this helps.
Regards
Cardwell -
hi
how to change the language in solaris 10 x86. i have installed the hindi language. i want to change to englishCheck this link: http://developers.sun.com/dev/gadc/faq/locale.html
Cheers
Andy -
NIC and TCP settings in 10.4.9
All,
I am having troubles with the Yukon Gigabit Adapter 88E8053 on my MBP 17, generation 1.
I want to change the settings for the NIC, like checksum oboard, but I can't find how to do it. I have googled this, but nothing comes up. I am thinking of something like ethtool, kstat, etc. Or even the config file for the NICs.
Can anyone help?
Cheers,
JohnIt's managed by sysctl:
<pre class=command>sysctl net.link.ether.inet.applehwcksumrx</pre>
(or _tx) will tell you what your current recieve (transmit) setting is.
Use sysctl -w to change the value:
<pre class=command>sudo sysctl -w net.link.ether.inet.applehwcksumrx=1</pre> -
WAAS: TCP-Settings with ADSL
Hello,
it is recomanded to change the values of tcp-buffer, if the edge wae is connected with adsl?
download/upload: 6000/512 kBit/s.
Kind RegardsVolker,
It depends on the RTT latency. Buffers in 4.0 should only be changed when the bandwidth-delay product exceeds the default buffer allocation.
Zach -
What RFC:s are implemented in Solaris�s TCP stack?
I am trying to find out wich of the following TCP related RFC:s are implemented in the Solaris TCP stack:
RFC0793
RFC1122
RFC2581
RFC1323
RFC2081
RFC1191
RFC1981
RFC2414
RFC2481
RFC2884Hi Jeny,
refer this URL:
http://www.rvs.uni-hannover.de/people/voeckler/tune/EN/tune.html
Thanks.
regards,
senthilkumar
SUN - DTS -
Hello,
A couple of questions on the tunable TCP parameters:
1. How "dynamic" are the dynamic parameters? Will a change (via ndd) affect existing connections, new connections from that point on, etc? Would a server process (servicing connection requests) need to be re-started? Is a re-boot required (assuming persistence of the settings in a service init file)?
2. I'm seeing differing opinions between the web server crowd and the Sun documentation with regard to the various abort, keepalive and rexmit settings. Most of postings I see from server side folks have something close to the following:
/usr/sbin/ndd -set /dev/tcp tcp_ip_abort_cinterval 60000
/usr/sbin/ndd -set /dev/tcp tcp_ip_abort_interval 60000
/usr/sbin/ndd -set /dev/tcp tcp_keepalive_interval 90000
/usr/sbin/ndd -set /dev/tcp tcp_rexmit_interval_max 10000
/usr/sbin/ndd -set /dev/tcp tcp_rexmit_interval_min 3000
Sun recommends:
Set tcp_rexmit_interval_max to at least eight times the value of tcp_rexmit_interval_min
Set tcp_ip_abort_interval to at least four times the value of tcp_rexmit_interval_max.
tcp_keepalive_interval should not be set below 15 minutes.
Our particular environment is Solaris 10 running Weblogic Server 9.2.2. Machines are typically sun4u with 32GB of memory.
Any insight is appreciated.
Thanks,
BobMany web server recommendations are very aggressive. The Sun recommendations are more conservative. If your server is only talking to LAN clients, then many of the TCP settings which are necessary for the internet can be tweaked quite a bit and will probably never cause a problem. If you're communicating with internet clients, then I would be careful moving things too far from default.
Darren -
Unknownhost exception in Solaris 8 while using URLConnection
My application connects to an external URL and streams that data to the browser.
This program works fine in Win 2000 but keeps on throwing unknownhost exception in Solaris.
I am using jdk1.3 with iplanet as web server.Yes, IP address works fine.
When I "ping" to the machine, the request goes through a gateway to the external URL.
Is there any solaris-specific settings that need to be done for my application to work ? -
Solaris 10 introduces project-based roles within the OS-- we have configured a project for oracle but weren't able to find definitive instructions as to what should be set and, more importantly, what each parameter being set is actually doing for Oracle's database.
Take a look at metalink notes:
429191.1 - Kernel setup for Solaris 10 using project files
435464.1 - ENABLING SOLARIS PROJECT SETTINGS FOR CRS -
Tcp_reass_timer in Solaris 11
Hi,
in Solaris 11 TCP code there is a timer for the reassembly queue (tcp_reass_timer). If out-of-order data sits in the reassembly queue for 100*SECONDS (default timeout value for tcp_reass_timeout) and no data is read from the reassembly queue during this period, all the out-of-order data and related SACK information is deleted (data reneging) using the tcp_reass_timer() function defined in common/inet/tcp/tcp_timers.c. Such a timer is not specified in TCP RFC and to my knowledge there is no other OS that implements such a timer. Could you please clarify why Solaris TCP stack have a reassembly queue timer? How does it help to the OS to delete successfully received out-of-order data?
Regards,
nasif ekiztcp_reass_timeout was implemented as result of Bugfix for 6759500 which addressed TCP security vunerabilties
Maybe you are looking for
-
When you try to delete a row in an editable table using the built-in functions, it no longer works. We use this function regularly and just noticed this problem today. The "create row above" and "create row below" functions work, just not the delete.
-
In Purchase A/P, after Goods Return is new PO required ... ?
Hello Experts, Scenario: I made a PO and Received the Goods against the said PO. Now there are 2 items out of 10 which were faulty. I returned two of them (through Goods Return) now PO is Closed and GRPO is Closed too. Now I can't make new PO for the
-
Material Ledger to be activated for a Plant in Live system
The scenario is as under: The Company is already live with about 10 Plants under the Company Code. For one of the Plant we want to activate Actual Costing /Material Ledger. Are there any risks or likely issues? Thanks, Sanjay
-
Is it possible to do multiselection in LOV
Hi, Is it possible to do multi selection of values from the LOV (List of Values) drop down list in Oracle Reports or Oracle apps. Thanks, Rohit
-
Some problem that I don't understand
I have the next program int i = 0; int j = 0; String[] pila = new String[10]; String[] pila1 = new String[10]; cadbase = prog2; dirmemo = prog3[i]; do { if (cadbase.equals("MVI B")) { vpc ++; vciclos = vciclos + 7; j = i + 1; cadena2 = cadbase; regb.