Search Postgresql Archives

Re: What happens when syslog gets blocked?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



decibel <decibel@xxxxxxxxxxx> writes:
> We recently had a problem with a database where the /var filesystem  
> got corrupted. This appears to have seriously impacted the ability of  
> STDERR from Postgres to get put out to disk, which ended up blocking  
> backends.

> Because of this we want to switch from using STDERR to using syslog,  
> but I'm not sure if syslog() can end up blocking or not.

syslog (at least in the implementations I'm familiar with) has the
opposite problem: when the going gets tough, it starts losing messages.
I do not think you'll really be making your life better by switching.

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux