<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>onozaty</author_name>
  <author_url>https://blog.hatena.ne.jp/onozaty/</author_url>
  <blog_title>Enjoy*Study</blog_title>
  <blog_url>https://blog.enjoyxstudy.com/</blog_url>
  <categories>
    <anon>[programming]</anon>
  </categories>
  <description>Linux上でhttpd(Apache)をRPMで入れた場合、logrotate設定(/etc/logrotate.d/httpd)におけるhttpdの再起動は、たいてい下記のようになってます。 kill -HUP `cat /var/run/httpd.pid`これだと、logrotateタイミングで接続中のリクエストがあっても、見事に切断されてしまいます。 (通常のWEBサイトならそれほど問題とならないのかもしれません)ちょっと困るので、apachectlのgracefulを使うように変更します。(apachectlのパスは適宜変えてください) /usr/sbin/apachectl gr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.enjoyxstudy.com%2Fentry%2F20060726%2Fp1&quot; title=&quot;logrotateのタイミングで、処理中のリクエストが切断されて困る場合の対処 - Enjoy*Study&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-07-26 00:00:00</published>
  <title>logrotateのタイミングで、処理中のリクエストが切断されて困る場合の対処</title>
  <type>rich</type>
  <url>https://blog.enjoyxstudy.com/entry/20060726/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
