niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Oracle
How can I interrupt the blocking call when API call timeout?
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Rauf Sarwar
*nix forums Guru


Joined: 03 May 2005
Posts: 353

PostPosted: Mon Feb 07, 2005 11:35 pm    Post subject: Re: How can I interrupt the blocking call when API call timeout? Reply with quote

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

PostPosted: Sat Feb 05, 2005 7:36 am    Post subject: How can I interrupt the blocking call when API call timeout? Reply with 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?
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 2:38 am | All times are GMT
navigation Forum index » Databases » Oracle
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts random timeout / delivery temporarily suspended unarcher Postfix 0 Fri Jun 13, 2008 12:33 pm
No new posts can I call a internal function directly? minrobin@gmail.com shell 2 Fri Jul 21, 2006 2:17 am
No new posts CGI-Timeout causing "internal server error"???? Carl Lafferty Perl 6 Thu Jul 20, 2006 8:58 pm
No new posts SOAP::Lite and complex client call parameter gelbeiche Perl 0 Thu Jul 20, 2006 7:37 pm
No new posts socket read modifies third parameter after the call: Very... jainarunk@gmail.com networking 1 Thu Jul 20, 2006 3:47 pm

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
[ Time: 0.1341s ][ Queries: 20 (0.0606s) ][ GZIP on - Debug on ]