SUMMARY: Sockets & Netscape's httpd

From: David Pope (pope@vicinity.com)
Date: Fri Aug 09 1996 - 16:55:46 CDT


Once again.... this group is _GREAT_!

Thanks goes out to:

John R Worachek
"Daniel J Blander" <Daniel.Blander@ACSacs.Com>
Craig Ledbetter <cledbett@homeaccount.com>
Brion Leary <bleary@state.ma.us>
Pete Teklinski <syspt@admin.njit.edu>

Original Question:

> We are running Solaris 2.5.1 w/ Netscape's HTTP server. Can anyone point
> me towards information that would help optimize our system for handling a
> large number of open sockets? Someone mentioned that they had heard
> something about adjusting the TIME_WAIT value on Web Servers.(?)
>

I had a couple of references to

 http://www.sun.com - Sun on the Web Icon at upper left corner.....

There's some good information there.

other replies:
--------------------------------------------------------------------------
On Thu, 8 Aug 1996, Craig Ledbetter wrote:

> Check your MAXUSERS varible in /etc/services. This value directly
> relates to the number of TCP connections the OS allows. Be careful
> though, the higher the MAXUSERS value the more memory will be needed to
> do networking.

--------------------------------------------------------------------------
On Fri, 9 Aug 1996, Pete Teklinski Telecom and Networks-x2908 wrote:
>
> This is what I do on Solaris 2.3 and 2.4. I have not tested on solaris 2.5.
> This has not been fully tested and it may affect other things. Use at your
> own risk. I have run this on servers that get up to 60000 hits a day.
> One server is netscape and the other is cern.
>
> The symptom is heavily used servers slow down to a crawl. netstat gives a long
> list that has not timed out yet.
>
> First save and write down the original values:
>
> /usr/sbin/ndd /dev/tcp tcp_close_wait_interval
> /usr/sbin/ndd /dev/tcp tcp_conn_req_max
> /usr/sbin/ndd /dev/tcp tcp_fin_wait_2_flush_interal
>
> Do manually or at startup, from file in /etc/rc3.d:
>
> # the following 3 ndds are not an official fix. we are reducing ip timeouts
> # to improve netscape performance
> # comment them out to go back to factory defaults
>
> /usr/sbin/ndd -set /dev/tcp tcp_close_wait_interval 24000
>
> # tcp_fin_wait_2_flush_interal not in s2.3
> /usr/sbin/ndd -set /dev/tcp tcp_fin_wait_2_flush_interal 67500
>
> # tcp_conn_req_max may be able to go larger on Sol2.5
> /usr/sbin/ndd -set /dev/tcp tcp_conn_req_max 32
>
>
> Then I run a script that does a netstat -n once a minute sending output
> to /dev/null
>
>

Thanks again....

-dave pope
  _____
  \ | /icinity Corp. * David Andrew Pope
 _ \_/ (408) 732-5948 * pope@vicinity.com _
 [____________________|____________________]
                                           
 

     
 

Status: RO



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:07 CDT