SSL connection abort screws up logger pipe

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: SSL connection abort screws up logger pipe
Date: 2004-07-18 11:44:47
Message-ID: 40FA62AF.7070001@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

While testing the logger subprocess, I found that I get a
"could not read from system logger pipe: Too many open files" if I abort
a SSL connection.

After that, the ereport(FATAL) will screw up the backend, semctl etc (To
fix this, I'm using ereport(COMMERROR) and exit(1) now, logger will
restart gracefully).

It appears that the SSL connection cleanup code does some harmful stuff
to the logger pipe, while the normal cleanup code will leave the pipe
workable.

Regards,
Andreas

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruno Wolff III 2004-07-18 13:29:41 Re: pg_dump bug fixing
Previous Message Christopher Kings-Lynne 2004-07-18 11:42:09 Re: pg_dump bug fixing