Unix Technical Forum

Re: [pgsql-es-ayuda] Error SSL en Postgresql

This is a discussion on Re: [pgsql-es-ayuda] Error SSL en Postgresql within the pgsql Hackers forums, part of the PostgreSQL category; --> Just got the report below in pgsql-es-ayuda. He says his logs files are filled with 50 MB of the ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-12-2008, 09:39 AM
Alvaro Herrera
 
Posts: n/a
Default Re: [pgsql-es-ayuda] Error SSL en Postgresql

Just got the report below in pgsql-es-ayuda. He says his logs files are
filled with 50 MB of the error message

LOG: SSL SYSCALL error: Unknown winsock error 10004

I looked up 10004 and apparently it's WSAEINTR, according to
http://msdn2.microsoft.com/en-us/library/aa924071.aspx

Interrupted function call. This error is returned when a socket
is closed or a process is terminated, on a pending Winsock
operation for that socket.

I wonder if the SSL code should be rather interpreting this error code
as one of those for which it must retry. It seems strange that it be
named EINTR (which sounds to me like "operation interrupted") and then
talk about closed sockets and terminated processes.

This is Windows XP, Postgres 8.2.3.


Henry escribió:
> hola ke tal,
> estoy en una bd de prueba con postgresql 8.2.3 y Winxp, y he generado un certificado SSL con nombre server.crt y server.key en la carpeta Data, y establecido la opcion a SSL=True
> no se como de la nada comenzo a darme malos resultados las funciones de postgres, me refiero a los valores de retorno
>
> cuando doy una ojeada en los log y me doy con la sorpresa que tengo como 5 archivos .txt que pesan 10MB
> y cada linea que ocupa un archivo dice:
>
> LOG: SSL SYSCALL error: Unknown winsock error 10004
> LOG: SSL SYSCALL error: Unknown winsock error 10004
> LOG: SSL SYSCALL error: Unknown winsock error 10004
> LOG: SSL SYSCALL error: Unknown winsock error 10004


--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-12-2008, 09:39 AM
Magnus Hagander
 
Posts: n/a
Default Re: [pgsql-es-ayuda] Error SSL en Postgresql

Alvaro Herrera wrote:
> Just got the report below in pgsql-es-ayuda. He says his logs files are
> filled with 50 MB of the error message
>
> LOG: SSL SYSCALL error: Unknown winsock error 10004
>
> I looked up 10004 and apparently it's WSAEINTR, according to
> http://msdn2.microsoft.com/en-us/library/aa924071.aspx
>
> Interrupted function call. This error is returned when a socket
> is closed or a process is terminated, on a pending Winsock
> operation for that socket.
>
> I wonder if the SSL code should be rather interpreting this error code
> as one of those for which it must retry. It seems strange that it be
> named EINTR (which sounds to me like "operation interrupted") and then
> talk about closed sockets and terminated processes.
>
> This is Windows XP, Postgres 8.2.3.


We've seen this one before, but it hasn't been fixed. See for example
bug report #2829.

Also, I wonder if this can be related to the just-reported bug #3266,
only with a different error code on win32?

//Magnus

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:00 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com