RE: Interrupted system call and JDBC
От | Peter Mount |
---|---|
Тема | RE: Interrupted system call and JDBC |
Дата | |
Msg-id | 1B3D5E532D18D311861A00600865478CF1B445@exchange1.nt.maidstone.gov.uk обсуждение исходный текст |
Ответ на | Interrupted system call and JDBC ("Tsuchiya, Mitsy" <Mitsy.Tsuchiya@echostar.com>) |
Список | pgsql-interfaces |
InterruptedIOException is being thrown below JDBC, and most likely at the Linux kernel. Is your machine low on resources at the time this is thrown, or are you noticing that the postgresql backend is dying unexpectedly? ie: Can you reproduce the same query in psql (via tcp not unix sockets), and it also dies? Peter -- Peter Mount Enterprise Support Officer, Maidstone Borough Council Email: petermount@maidstone.gov.uk WWW: http://www.maidstone.gov.uk All views expressed within this email are not the views of Maidstone Borough Council -----Original Message----- From: Tsuchiya, Mitsy [mailto:Mitsy.Tsuchiya@echostar.com] Sent: Tuesday, October 17, 2000 4:24 PM To: 'pgsql-interfaces@postgresql.org' Subject: [INTERFACES] Interrupted system call and JDBC I've been using Postgres 6.5.2 on RH6.1, with JDBC driver 6.5.2. Often (not all the time) I get the following messages while executing my program and I've been trying to figure out what the problem is and how to fix it. An I/O error occured while reading from backend - java.io.InterruptedIOException: Interrupted system call at postgresql.PG_Stream.ReceiveChar(Compiled Code) at postgresql.Connection.ExecSQL(Compiled Code) at postgresql.jdbc2.Connection.commit(Compiled Code) at DB.deleteService(Compiled Code) at Impl.deleteService(Compiled Code) at java.lang.reflect.Method.invoke(Native Method) at sun.rmi.server.UnicastServerRef.dispatch(Compiled Code) at sun.rmi.transport.Transport$1.run(Compiled Code) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Compiled Code) at sun.rmi.transport.tcp.TCPTransport.handleMessages(Compiled Code) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Compiled Code) at java.lang.Thread.run(Compiled Code) I've updated my Postgres server and JDBC to 7.0.2, but seems like the problem still exists. Is this some bug or I'm missing something I need to do in my program? Any suggestion will be very appreciated. Thank you!
В списке pgsql-interfaces по дате отправления: