<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tgk</author_name>
  <author_url>https://blog.hatena.ne.jp/tgk/</author_url>
  <blog_title>極北データモデリング</blog_title>
  <blog_url>https://tgk.hatenadiary.org/</blog_url>
  <categories>
    <anon>悲しい話</anon>
  </categories>
  <description>かなりみっともない話を公開する。 この２週間ほど、24時間体制でやばいサイトのサーバ監視をやっていた。 どうやばいかというと、アクセスがピークになる時間帯に、アプリケーションサーバ(Resin3)がCPU100%になってだんまりになるのだ。 このときDBサーバ（MySQL）から接続状況を見ると、Resinのmax-connection数と同じ数の接続が張られていて、全接続がSleep状態になっている。 つまり、 アプリはDBに接続後、何かを全力で行っている。 DBは何もしていない。 という状態。 普通に考えるとアプリの中で無限ループしているということになるが、いったいどこでループしているのか。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftgk.hatenadiary.org%2Fentry%2F20060125%2F1138275832&quot; title=&quot;１リクエストで複数コネクションを取得してはならない（当たり前） - 極北データモデリング&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2006-01-25 20:43:52</published>
  <title>１リクエストで複数コネクションを取得してはならない（当たり前）</title>
  <type>rich</type>
  <url>https://tgk.hatenadiary.org/entry/20060125/1138275832</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
