Apache error_log has hundreds of "[warn] (22)Invalid argument: setsockopt:(TCP_NODELAY)" (Doc ID 563936.1)

Last updated on AUGUST 08, 2016

Applies to:

Oracle Applications Technology Stack - Version 11.5.9 to 11.5.10.0 [Release 11.5]
All Platforms

Symptoms

A major, recurring problem in the Apache error_log, especially common on Solaris 9 and 10, is the following warning message:

[warn] (22)Invalid argument: setsockopt: (TCP_NODELAY)

This warning can generally be ignored if it happens only sporadically, but in some customer cases the warning is repeated so often that it fills the error_log and therefore MUST be dealt with.

For example, in one case this repeating error message accounted for 77% of the lines in the error_log and was therefore too voluminous to simply ignore.

grep TCP_NODELAY error_log | wc -l
79,142 (lines containing this warning)

cat error_log | wc -l
103,279 (total lines)

 

Changes

httpd.conf - LogLevel at warn or higher verbosity

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms