<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Postgres 连接池满了，应用日志却只说 timeout]]></title><description><![CDATA[<p dir="auto">今天排一个问题，应用只报 timeout，最后发现 Postgres 连接池满。有没有办法更早发现？</p>
]]></description><link>https://localaihub.com/topic/224/postgres-连接池满了-应用日志却只说-timeout</link><generator>RSS for Node</generator><lastBuildDate>Wed, 03 Jun 2026 19:21:26 GMT</lastBuildDate><atom:link href="https://localaihub.com/topic/224.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 16 May 2026 16:50:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Postgres 连接池满了，应用日志却只说 timeout on Sun, 17 May 2026 07:40:00 GMT]]></title><description><![CDATA[<p dir="auto">已经把插件关了，准备加 pg 连接监控。</p>
]]></description><link>https://localaihub.com/post/2554</link><guid isPermaLink="true">https://localaihub.com/post/2554</guid><dc:creator><![CDATA[小吴]]></dc:creator><pubDate>Sun, 17 May 2026 07:40:00 GMT</pubDate></item><item><title><![CDATA[Reply to Postgres 连接池满了，应用日志却只说 timeout on Sun, 17 May 2026 05:00:00 GMT]]></title><description><![CDATA[<p dir="auto">生产化就是这些不起眼的指标。用户只看到慢，内部要知道慢在哪。</p>
]]></description><link>https://localaihub.com/post/2553</link><guid isPermaLink="true">https://localaihub.com/post/2553</guid><dc:creator><![CDATA[阿航]]></dc:creator><pubDate>Sun, 17 May 2026 05:00:00 GMT</pubDate></item><item><title><![CDATA[Reply to Postgres 连接池满了，应用日志却只说 timeout on Sun, 17 May 2026 04:48:00 GMT]]></title><description><![CDATA[<p dir="auto">所以插件上线也要观测，不是 UI 功能点一下就完。</p>
]]></description><link>https://localaihub.com/post/2552</link><guid isPermaLink="true">https://localaihub.com/post/2552</guid><dc:creator><![CDATA[Grace]]></dc:creator><pubDate>Sun, 17 May 2026 04:48:00 GMT</pubDate></item><item><title><![CDATA[Reply to Postgres 连接池满了，应用日志却只说 timeout on Sun, 17 May 2026 04:15:00 GMT]]></title><description><![CDATA[<p dir="auto">这次是一个统计插件查询太重，慢慢把连接拖住。</p>
]]></description><link>https://localaihub.com/post/2551</link><guid isPermaLink="true">https://localaihub.com/post/2551</guid><dc:creator><![CDATA[小吴]]></dc:creator><pubDate>Sun, 17 May 2026 04:15:00 GMT</pubDate></item><item><title><![CDATA[Reply to Postgres 连接池满了，应用日志却只说 timeout on Sun, 17 May 2026 03:39:00 GMT]]></title><description><![CDATA[<p dir="auto">有可能，插件如果查库不当，会放大问题。</p>
]]></description><link>https://localaihub.com/post/2550</link><guid isPermaLink="true">https://localaihub.com/post/2550</guid><dc:creator><![CDATA[林小北]]></dc:creator><pubDate>Sun, 17 May 2026 03:39:00 GMT</pubDate></item><item><title><![CDATA[Reply to Postgres 连接池满了，应用日志却只说 timeout on Sun, 17 May 2026 02:24:00 GMT]]></title><description><![CDATA[<p dir="auto">NodeBB 插件会造成这种吗？</p>
]]></description><link>https://localaihub.com/post/2549</link><guid isPermaLink="true">https://localaihub.com/post/2549</guid><dc:creator><![CDATA[小蓝]]></dc:creator><pubDate>Sun, 17 May 2026 02:24:00 GMT</pubDate></item><item><title><![CDATA[Reply to Postgres 连接池满了，应用日志却只说 timeout on Sun, 17 May 2026 01:33:00 GMT]]></title><description><![CDATA[<p dir="auto">看连接状态。idle in transaction 很多就要查代码。</p>
]]></description><link>https://localaihub.com/post/2548</link><guid isPermaLink="true">https://localaihub.com/post/2548</guid><dc:creator><![CDATA[melo]]></dc:creator><pubDate>Sun, 17 May 2026 01:33:00 GMT</pubDate></item><item><title><![CDATA[Reply to Postgres 连接池满了，应用日志却只说 timeout on Sat, 16 May 2026 22:57:00 GMT]]></title><description><![CDATA[<p dir="auto">不一定。可能是泄漏、慢查询、事务没关。盲目加大只是拖后。</p>
]]></description><link>https://localaihub.com/post/2547</link><guid isPermaLink="true">https://localaihub.com/post/2547</guid><dc:creator><![CDATA[rootless]]></dc:creator><pubDate>Sat, 16 May 2026 22:57:00 GMT</pubDate></item><item><title><![CDATA[Reply to Postgres 连接池满了，应用日志却只说 timeout on Sat, 16 May 2026 21:04:00 GMT]]></title><description><![CDATA[<p dir="auto">连接池满是不是加大 max_connections 就行？</p>
]]></description><link>https://localaihub.com/post/2546</link><guid isPermaLink="true">https://localaihub.com/post/2546</guid><dc:creator><![CDATA[普通网友A]]></dc:creator><pubDate>Sat, 16 May 2026 21:04:00 GMT</pubDate></item><item><title><![CDATA[Reply to Postgres 连接池满了，应用日志却只说 timeout on Sat, 16 May 2026 20:07:00 GMT]]></title><description><![CDATA[<p dir="auto">应用侧也要打点：获取连接耗时、查询耗时分开。</p>
]]></description><link>https://localaihub.com/post/2545</link><guid isPermaLink="true">https://localaihub.com/post/2545</guid><dc:creator><![CDATA[阿白]]></dc:creator><pubDate>Sat, 16 May 2026 20:07:00 GMT</pubDate></item><item><title><![CDATA[Reply to Postgres 连接池满了，应用日志却只说 timeout on Sat, 16 May 2026 19:22:00 GMT]]></title><description><![CDATA[<p dir="auto">监控 pg_stat_activity，连接数、等待、慢查询都要有。</p>
]]></description><link>https://localaihub.com/post/2544</link><guid isPermaLink="true">https://localaihub.com/post/2544</guid><dc:creator><![CDATA[林小北]]></dc:creator><pubDate>Sat, 16 May 2026 19:22:00 GMT</pubDate></item></channel></rss>