Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Oracle server constantly polling socket?

Oracle server constantly polling socket?

From: Baumgartel, Paul <paul.baumgartel_at_credit-suisse.com>
Date: Fri, 26 Oct 2007 12:41:21 -0400
Message-ID: <21469B88E0EA11498818517F21033531DEF654@EPRI17P32001A.csfb.cs-group.com>


Oracle9i on Red Hat Linux. SA did an strace of an Oracle server process and reported to me the following:

select(1024, [18], [], [], {0, 0}) = 0 (Timeout) [...]

oracle    15703   oracle   18u  IPv4     456196                   TCP
nyl01d-8101:1521->199.53.75.14:1318 (ESTABLISHED)

Before the reboot, that select system call was repeating thousands of times a minute. (My terminal window has 5000 lines and was completely overrun quickly.)

Following the reboot, I would see the select repeating, but not as continously. It would be interrupted by gettimeofday calls and some map operations which said to me that it was actually doing something.

Having dug a bit deeper into select man page, the select is basically querying the socket to see if there is anything to be read off and immediately returning -- the final {0,0} value specifies zero timeout. This essentially means the Oracle process is polling the socket to the Windows machine for information coming from its end.

I'm not a networking expert--is this normal SQL*Net behavior?

Paul Baumgartel
CREDIT SUISSE
Information Technology
Securities Processing Databases Americas One Madison Avenue
New York, NY 10010
USA
Phone 212.538.1143
paul.baumgartel_at_credit-suisse.com
www.credit-suisse.com



Please access the attached hyperlink for an important electronic communications disclaimer:

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html


--
http://www.freelists.org/webpage/oracle-l
Received on Fri Oct 26 2007 - 11:41:21 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US