Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Deadlock (kind of) at Server shutdown: msg#00002

java.hsqldb.user

Subject: Re: Deadlock (kind of) at Server shutdown

I can second this; in fact, I have noticed it in previous versions as
well (1.8.0.5 I believe). This is a _serious_ problem, are there any
work arounds?

Marc


Francois Valdy wrote:
> Deadlock can occur at server shutdown (with remote SHUTDOWN command)
> with 1.8.0.7, see locked stack traces below.
> I don't believe you'll need more details (cause I easily found this
> race condition reason in Server code), but if you do, feel free to
> ask.
>
> The server doesn't answer the shutdown command, keeps connection open,
> and doesn't exit.
> This is quite serious as it prevents the client application from shuting down.
>
> Thanks in advance.
>
> Francois.
>
> "HSQLDB Server @1df8b99" prio=6 tid=0x4918a058 nid=0x1330 waiting on
> condition [0x4957f000..0x4957fc68]
> at java.lang.Thread.sleep(Native Method)
> at org.hsqldb.Server.shutdown(Unknown Source)
> - locked <0x07a04560> (a org.hsqldb.Server)
> at org.hsqldb.Server.run(Unknown Source)
> at org.hsqldb.Server.access$000(Unknown Source)
> at org.hsqldb.Server$ServerThread.run(Unknown Source)
>
> "HSQLDB Connection @9b8ff9" prio=6 tid=0x4918e3f0 nid=0x318 waiting
> for monitor entry [0x4a61f000..0x4a61fbe8]
> at org.hsqldb.Server.print(Unknown Source)
> - waiting to lock <0x07a04560> (a org.hsqldb.Server)
> at org.hsqldb.Server.printWithThread(Unknown Source)
> at org.hsqldb.Server.releaseServerSocket(Unknown Source)
> at org.hsqldb.Server.stop(Unknown Source)
> at org.hsqldb.Server.notify(Unknown Source)
> at org.hsqldb.DatabaseManager.notifyServers(Unknown Source)
> at org.hsqldb.DatabaseManager.removeDatabase(Unknown Source)
> at org.hsqldb.Database.close(Unknown Source)
> at org.hsqldb.DatabaseCommandInterpreter.processShutdown(Unknown Source)
> at org.hsqldb.DatabaseCommandInterpreter.executePart(Unknown Source)
> at org.hsqldb.DatabaseCommandInterpreter.execute(Unknown Source)
> at org.hsqldb.Session.sqlExecuteDirectNoPreChecks(Unknown Source)
> - locked <0x07a0f9b8> (a org.hsqldb.Database)
> at org.hsqldb.Session.execute(Unknown Source)
> - locked <0x07a0f9b8> (a org.hsqldb.Database)
> at org.hsqldb.ServerConnection.run(Unknown Source)
> at java.lang.Thread.run(Thread.java:595)
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Hsqldb-user mailing list
> Hsqldb-user@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/hsqldb-user
>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation