Network Connection Freezing



Hello,

We have a fairly busy web server runnning 5.4-STABLE and the ethernet
connection seems to drop offline during the peak times daily. We have seen
errors such as this:

Jan 29 17:06:00 web kernel: sis0: initialization failed: no memory for rx
buffers
Jan 29 17:13:01 web kernel: sis0: initialization failed: no memory for rx
buffers

Logging into the console and doing an ifconfig sis0 down and then up would
bring the server back online. The FreeBSD OS never crashed. I saw other
sis0 cable fix errors so yesterday I removed this sis0 card and replaced
it with an Intel card (fxp0). Much to my dismay the network connection
died again this morning.

The fxp0 card reported no errors on the console however when I did the
usual ifconfig down then back up this error came up on the console:

Jan 31 17:51:10 web kernel: in_cksum_skip: out of data by 15320

After the first set of errors I modified certain sysctl variables:

kern.maxfiles=32768
kern.maxfilesperproc=16384
kern.ipc.shmall=16384
kern.ipc.nmbclusters=65535
kern.ipc.somaxconn=8192
net.inet.ip.dummynet.hash_size=2048
net.inet.ip.fw.one_pass=1
net.inet.ip.rtexpire=2
net.inet.ip.rtminexpire=2
net.inet.ip.redirect=0
net.inet.tcp.delayed_ack=0

This web server is a music download server which is has a varying ipfw per
destination IP download limit depending on the time of day to control
bandwidth usage. This causes httpd to run 500, 600, 700 times. RAM is not
an issue since we upgraded to 2 GB.

Does anyone have any idea how to solve this problem? Perhaps there's other
sysctl variables we can increase? Any kernel options?

Thank you very much in advance!

Holt G.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: When not to log
    ... >> never get any probes during the 5-20 minutes of collecting mail and news, ... Connection from unprivileged to my 80? ... Is it impossible for a compromised web server to pass client IPs ...
    (comp.os.linux.security)
  • Re: Retrieving state information from a middle tier
    ... which I imagine means multiple sets of connection information. ... can store as many Connection Strings, etc. in the Registry that you want. ... > (web server). ... > IISIntrinsics to retrieve Session information (where I store the server/db ...
    (microsoft.public.dotnet.framework.aspnet)
  • Kerberos timout with IIS6, ASP.Net and SQLServer
    ... We have a traditional ASP.Net 1.1 web site accessing a SQL2000 database ... using delegation and a trusted connection. ... fully authenticated through Kerberos and Integrated ... The connection with the web server works fine, ...
    (microsoft.public.inetserver.iis.security)
  • Re: Encryption of Connection String
    ... SSL or IPSEC to secure the connection between the Web Server ... > If the connection string is for the session state server, ... Use the ASP.NET Utility to Encrypt Credentials and Session ...
    (microsoft.public.sqlserver.security)
  • Re: TNS could not resolve the connect identifier
    ... the connectionString in web.config suggests that the provider I ... built-in web server, and the web application works great with this ... connection specification for ASP pages on my IIS server for roughly the ... pages (MYODBC_CONNECTION is an ODBC connection that uses the Oracle ...
    (comp.databases.oracle.server)