Обсуждение: problem with using O_DIRECT

Поиск
Список
Период
Сортировка

problem with using O_DIRECT

От
"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
onUnix domain socket "/tmp/.s.PGSQL.5432"?
 

Any advice?

Thanks,

Brian


Re: Subject: problem with using O_DIRECT

От
"Jim C. Nasby"
Дата:
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)