[GENERAL] problem with using O_DIRECT

2006-10-13 Thread Ye Qin

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

---(end of broadcast)---
TIP 5: don't forget to increase your free space map settings


Re: [GENERAL] problem with using O_DIRECT

2006-10-14 Thread Andrew Sullivan
On Thu, Oct 12, 2006 at 12:13:02AM -0400, Ye Qin wrote:
> 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?

Presumably, the server doesn't start?  What does your logfile say? 
(Not every method works on every platform, and you might have run
into an incompatible combination.)

A

-- 
Andrew Sullivan  | [EMAIL PROTECTED]
Unfortunately reformatting the Internet is a little more painful 
than reformatting your hard drive when it gets out of whack.
--Scott Morris

---(end of broadcast)---
TIP 6: explain analyze is your friend