problem with using O_DIRECT

Started by Ye Qinover 19 years ago2 messages
#1Ye Qin
brian.qin@gmail.com

I tried to use O_DIRECT on Linux (SuSe) Kernel 2.6, but failed to make it run.
For example, if I added the option in the "open" of BasicOpenFile(),
I got the following error after typing "psql -l",

psql: could not connect to server: Connection refused
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

Any advice?

Thanks,

Brian

#2Jim C. Nasby
jim@nasby.net
In reply to: Ye Qin (#1)
Re: Subject: problem with using O_DIRECT

On Thu, Oct 12, 2006 at 12:19:07AM -0400, Ye Qin wrote:

I tried to use O_DIRECT on Linux (SuSe) Kernel 2.6, but failed to make it
run.
For example, if I added the option in the "open" of BasicOpenFile(),
I got the following error after typing "psql -l",

psql: could not connect to server: Connection refused
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

That only shows that the server's not running, which doesn't tell us
much. Are there errors in the server log? Did it dump core?
--
Jim Nasby jim@nasby.net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)