|
|
|
|
|
|
| Author |
Message |
Rauf Sarwar *nix forums Guru
Joined: 03 May 2005
Posts: 353
|
Posted: Mon Feb 07, 2005 11:35 pm Post subject:
Re: How can I interrupt the blocking call when API call timeout?
|
|
|
Ricky wrote:
| Quote: | Hi,Guys
I wrote an application server(daemon process) to talk with oracle
server
continuous which used oracle9 OCCI lib, each 5 min it executes the
procedure
on the DB server.
Now I have come cross a problem:
If the network is blocked, app server will blocked at occi call and
would
never pass, and no exception was catched :-(
for e.g.
1. Oracle server reboot without shutdown oracle process
2. udp broadcast message storm blocked the connection between app
server and
oracle DB.
I consider maybe it's because OCCI using the blocking mode of
connection
that caused this problem.
How can I interrupt the blocking call when call timeout?
|
Have you tried using non blocking option?
Regards
/Rauf |
|
| Back to top |
|
 |
Ricky *nix forums beginner
Joined: 17 Mar 2005
Posts: 7
|
Posted: Sat Feb 05, 2005 7:36 am Post subject:
How can I interrupt the blocking call when API call timeout?
|
|
|
Hi,Guys
I wrote an application server(daemon process) to talk with oracle server
continuous which used oracle9 OCCI lib, each 5 min it executes the procedure
on the DB server.
Now I have come cross a problem:
If the network is blocked, app server will blocked at occi call and would
never pass, and no exception was catched :-(
for e.g.
1. Oracle server reboot without shutdown oracle process
2. udp broadcast message storm blocked the connection between app server and
oracle DB.
I consider maybe it's because OCCI using the blocking mode of connection
that caused this problem.
How can I interrupt the blocking call when call timeout? |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Jan 08, 2009 2:38 am | All times are GMT
|
|
Credit Cards UK | Credit Cards | Credit Cards | Car salvage | Learn real Kung Fu
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|