TCP_KEEPIDLE Question

Started by Grant Fisherover 12 years ago2 messagesgeneral
Jump to latest
#1Grant Fisher
gfisher@pecanstreet.org

Hello,

I am running postgresql 9.3 (installed via the
apt.postgresql.orgrepository) on Ubuntu 12.10. I just upgraded from
9.2 on a dev machine, and
when looking through the logs, I noticed that there were a lot of entries
stating "LOG: setsockopt(TCP_KEEPIDLE) failed: Invalid argument".

I was wondering if anybody had seen this before, and what this was an
indication of.

Thanks,
Grant

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Grant Fisher (#1)
Re: TCP_KEEPIDLE Question

Grant Fisher <gfisher@pecanstreet.org> writes:

I am running postgresql 9.3 (installed via the
apt.postgresql.orgrepository) on Ubuntu 12.10. I just upgraded from
9.2 on a dev machine, and
when looking through the logs, I noticed that there were a lot of entries
stating "LOG: setsockopt(TCP_KEEPIDLE) failed: Invalid argument".

Hm, that's the kernel call corresponding to our GUC parameter
tcp_keepalives_idle --- have you set a nondefault value for that?
For implementation reasons, a bad setting for that is likely to
result in this log message and no other indication.

Another possibility is that your kernel doesn't allow this parameter
to be set ... but that seems pretty unlikely for a reasonably-vanilla
Linux kernel.

regards, tom lane

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