<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: System load increased due to error query on DB in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/system-load-increased-due-to-error-query-on-db/m-p/4000356#M28305</link>
    <description>If a user purposely drops out of a CLI session, or a network failure of some sort occurs, then query will continue to run.&lt;BR /&gt;&lt;BR /&gt;They shouldn't be zombie's, they should just be queries-that-close-when-they-finish.&lt;BR /&gt;&lt;BR /&gt;Using 'mysqladmin processlist' will help you pinpoint this, as they query time will increase, whilst other queries come and go.&lt;BR /&gt;&lt;BR /&gt;Using 'mysqladmin kill &lt;QUERY-ID&gt;' will clear the individual queries.&lt;BR /&gt;&lt;BR /&gt;That being said, automating the killing off of rogue/bad queries might not be in your best interest, especially if you have some long running queries.&lt;BR /&gt;&lt;BR /&gt;Do not *NOT* just 'kill -KILL' anything.  You *WILL* corrupt your tables that way.&lt;/QUERY-ID&gt;</description>
    <pubDate>Wed, 16 May 2007 23:00:09 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2007-05-16T23:00:09Z</dc:date>
    <item>
      <title>System load increased due to error query on DB</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-load-increased-due-to-error-query-on-db/m-p/4000353#M28302</link>
      <description>Hi guys,&lt;BR /&gt;&lt;BR /&gt;I have a query regarding system resources. I recently discover that my load on my system is very high. This is caused by user making accidentally making very big query on my system mysql service and thereafter their connection are broken thus this query remain as zombi. Should this be prevented by editing mysql query set on the webpage or write a script to kill detect and kill those zombi?&lt;BR /&gt;&lt;BR /&gt;Hope that you can help&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Henry</description>
      <pubDate>Tue, 15 May 2007 09:07:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-load-increased-due-to-error-query-on-db/m-p/4000353#M28302</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2007-05-15T09:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: System load increased due to error query on DB</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-load-increased-due-to-error-query-on-db/m-p/4000354#M28303</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;The connection should not terminate. You might want to update your system and see if mysql patches help.&lt;BR /&gt;&lt;BR /&gt;More likely this is a user education issue. They need to properly terminate their sessions on mysql and stop writing system killing queries.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 15 May 2007 09:41:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-load-increased-due-to-error-query-on-db/m-p/4000354#M28303</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-05-15T09:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: System load increased due to error query on DB</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-load-increased-due-to-error-query-on-db/m-p/4000355#M28304</link>
      <description>You can just write a script for killing long-running queries - for example, &amp;gt;3 minutes.</description>
      <pubDate>Wed, 16 May 2007 01:42:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-load-increased-due-to-error-query-on-db/m-p/4000355#M28304</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2007-05-16T01:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: System load increased due to error query on DB</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-load-increased-due-to-error-query-on-db/m-p/4000356#M28305</link>
      <description>If a user purposely drops out of a CLI session, or a network failure of some sort occurs, then query will continue to run.&lt;BR /&gt;&lt;BR /&gt;They shouldn't be zombie's, they should just be queries-that-close-when-they-finish.&lt;BR /&gt;&lt;BR /&gt;Using 'mysqladmin processlist' will help you pinpoint this, as they query time will increase, whilst other queries come and go.&lt;BR /&gt;&lt;BR /&gt;Using 'mysqladmin kill &lt;QUERY-ID&gt;' will clear the individual queries.&lt;BR /&gt;&lt;BR /&gt;That being said, automating the killing off of rogue/bad queries might not be in your best interest, especially if you have some long running queries.&lt;BR /&gt;&lt;BR /&gt;Do not *NOT* just 'kill -KILL' anything.  You *WILL* corrupt your tables that way.&lt;/QUERY-ID&gt;</description>
      <pubDate>Wed, 16 May 2007 23:00:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-load-increased-due-to-error-query-on-db/m-p/4000356#M28305</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2007-05-16T23:00:09Z</dc:date>
    </item>
  </channel>
</rss>

