Problem with JDBC -- Eating up Ports/Processes!
- From: "Orwell" <orwellnelson@xxxxxxx>
- Date: 15 Feb 2006 13:33:37 -0800
We are using JDBC to connect to a SQL Server 2000 database using JDBC.
We're having an odd problem, and I cannot find anybody else who is
having this issue. The application server machine (WAS 6.0) is eating
up ports and generating SQL Server processes like there is no tomorrow.
SQL Server is listening on port 1433, but if I do a "netstat" I see
something like this:
TCP 127.0.0.1:4479 127.0.0.1:1433 ESTABLISHED
TCP 127.0.0.1:4480 127.0.0.1:1433 ESTABLISHED
TCP 127.0.0.1:4481 127.0.0.1:1433 ESTABLISHED
TCP 127.0.0.1:4482 127.0.0.1:1433 ESTABLISHED
TCP 127.0.0.1:4483 127.0.0.1:1433 ESTABLISHED
TCP 127.0.0.1:4484 127.0.0.1:1433 ESTABLISHED
TCP 127.0.0.1:4485 127.0.0.1:1433 ESTABLISHED
TCP 127.0.0.1:4486 127.0.0.1:1433 ESTABLISHED
TCP 127.0.0.1:4487 127.0.0.1:1433 ESTABLISHED
TCP 127.0.0.1:4488 127.0.0.1:1433 ESTABLISHED
TCP 127.0.0.1:4489 127.0.0.1:1433 ESTABLISHED
There are dozens -- sometimes hundreds, thousands -- of these
connections. On SQL Server, each of these connections is generating a
SQL Server process (visible under "Process Info" in Enterprise Manager)
with a status of "sleeping." Eventually, these processes "go away" if
there's no activity, but if not, the connections eventually choke the
machine and we need to reboot.
I know we're not generating excess connections, because if I change the
JDBC driver to DB2, we only get one connection.
Does anybody have any idea what might be happening? Is there a SQL
Server or JDBC setting I am not aware of? Any help would be
appreciated, we're going nuts over here!!!
Thanks in advance!
.
- Follow-Ups:
- Re: Problem with JDBC -- Eating up Ports/Processes!
- From: Joe Weinstein
- Re: Problem with JDBC -- Eating up Ports/Processes!
- Prev by Date: Connect client to server
- Next by Date: Re: Problem with JDBC -- Eating up Ports/Processes!
- Previous by thread: Connect client to server
- Next by thread: Re: Problem with JDBC -- Eating up Ports/Processes!
- Index(es):
Relevant Pages
|
Loading