<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>totem_3</author_name>
  <author_url>https://blog.hatena.ne.jp/totem_3/</author_url>
  <blog_title>エンジニアですよ！</blog_title>
  <blog_url>https://totem3.hatenablog.jp/</blog_url>
  <categories>
    <anon>php</anon>
    <anon>http</anon>
  </categories>
  <description>XML RPC でサーバとやり取りしている PHP のバッチで、fwrite(): send of xx bytes failed with errno=32 Broken pipe のエラーが起きて原因がわからず困ってたことがあった。 そのバッチでは XML RPC のクライアントを最初に作って、それをずっと使いまわしていた。 その場合サーバとの接続はkeepaliveで維持される。 されるんだけど、あるリクエストを投げてから次のリクエストを投げるまでにとても時間がかかっているところがあった。（数分とか？） エラーはそこで起きていた。 tcpdumpを眺めていると最後に通信してから90秒くら…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftotem3.hatenablog.jp%2Fentry%2F2020%2F10%2F29%2F225851&quot; title=&quot; fwrite(): send of xx bytes failed with errno=32 Broken pipe のエラーはkeepaliveが切れちゃうせいだった - エンジニアですよ！&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>2020-10-29 22:58:51</published>
  <title> fwrite(): send of xx bytes failed with errno=32 Broken pipe のエラーはkeepaliveが切れちゃうせいだった</title>
  <type>rich</type>
  <url>https://totem3.hatenablog.jp/entry/2020/10/29/225851</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
