<?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: Cannot kill single SDE connections with sdemon -o kill command in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/cannot-kill-single-sde-connections-with-sdemon-o/m-p/190980#M10815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using ArcSDE 10 SP 1 with Oracle 11G on Windows Server 2003.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My map services use direct connection, but all the users use an application connection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you mean by raising the # of connections?&amp;nbsp; I guess I don't know how to do that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jun 2011 22:49:47 GMT</pubDate>
    <dc:creator>StephanieSnider</dc:creator>
    <dc:date>2011-06-09T22:49:47Z</dc:date>
    <item>
      <title>Cannot kill single SDE connections with sdemon -o kill command</title>
      <link>https://community.esri.com/t5/data-management-questions/cannot-kill-single-sde-connections-with-sdemon-o/m-p/190978#M10813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have a lot of problems with hanging connection in ArcSDE.&amp;nbsp; I try to remind users to disconnect from their SDE connections before closing ArcGIS, but sometimes they forget (and I do too sometimes).&amp;nbsp; This causes hanging connections (phantom connections).&amp;nbsp; Since our site license maxes out at 50 SDE connections (and hanging connections are counted), this is problem.&amp;nbsp; I have a scheduled process setup to restart the ArcSDE service once a week, which remove these hanging connections.&amp;nbsp; Unfortunately, a once a week restart may not be enough.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the point of this post is that I want to be able to kill individual connections.&amp;nbsp; We are supposed to be able to do this using the sdemon -o kill command.&amp;nbsp; Unfortunately, whenever I try to do this, I get a message that says, "Operation failed, unable to kill server xxxx".&amp;nbsp; So the kill command doesn't seem to work.&amp;nbsp; Arg...&amp;nbsp; Any suggestions or advice on why I can't kill single connections?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Documents and Settings\ssnider&amp;gt;sdemon -o kill -t 7236 -s NDEP-24 -u SDE -p xxxxx -i 5151&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcSDE Instance 5151 Process Management on NDEP-24 at Thu Jun 09 15:32:39 2011&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kill Server Task 7236?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ARE YOU SURE (Y/N)?: y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Operation Failed, Unable to kill server 7236&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 21:35:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/cannot-kill-single-sde-connections-with-sdemon-o/m-p/190978#M10813</guid>
      <dc:creator>StephanieSnider</dc:creator>
      <dc:date>2011-06-09T21:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot kill single SDE connections with sdemon -o kill command</title>
      <link>https://community.esri.com/t5/data-management-questions/cannot-kill-single-sde-connections-with-sdemon-o/m-p/190979#M10814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What version of ArcSDE are you using?&amp;nbsp; Which service pack?&amp;nbsp; With which RDBMS?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are your connections application server or Direct Connect?&amp;nbsp; Have you tried raising the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;number of connections?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 22:16:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/cannot-kill-single-sde-connections-with-sdemon-o/m-p/190979#M10814</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-06-09T22:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot kill single SDE connections with sdemon -o kill command</title>
      <link>https://community.esri.com/t5/data-management-questions/cannot-kill-single-sde-connections-with-sdemon-o/m-p/190980#M10815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using ArcSDE 10 SP 1 with Oracle 11G on Windows Server 2003.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My map services use direct connection, but all the users use an application connection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you mean by raising the # of connections?&amp;nbsp; I guess I don't know how to do that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 22:49:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/cannot-kill-single-sde-connections-with-sdemon-o/m-p/190980#M10815</guid>
      <dc:creator>StephanieSnider</dc:creator>
      <dc:date>2011-06-09T22:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot kill single SDE connections with sdemon -o kill command</title>
      <link>https://community.esri.com/t5/data-management-questions/cannot-kill-single-sde-connections-with-sdemon-o/m-p/190981#M10816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/geodatabase/10.0/admin_cmds/support_files/serveradmin/sdeconfig.htm"&gt;'sdeconfig' command&lt;/A&gt;&lt;SPAN&gt; is used to change the CONNECTIONS parameter, but with on a &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Windows server, you probably want to go through the registry changes listed in the final &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;example in the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_java_help/index.html#//002q00000043000000.htm"&gt;troubleshooting guide&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've occassionally seen sites that had problems with stale connections, but have never had &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a site that needed weekly reboots -- You should probably take this issue to Tech Support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 00:13:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/cannot-kill-single-sde-connections-with-sdemon-o/m-p/190981#M10816</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-06-10T00:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot kill single SDE connections with sdemon -o kill command</title>
      <link>https://community.esri.com/t5/data-management-questions/cannot-kill-single-sde-connections-with-sdemon-o/m-p/190982#M10817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for this information.&amp;nbsp; I bumped up the connections to 60, but my understanding is that the ArcGIS Server Standard license only allows 50 concurrent connections to ArcSDE.&amp;nbsp; Is that right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also I tried to do a "kill all" but it said I didn't have the right permission.&amp;nbsp; Does it need the SDE user or the sysdba user?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\&amp;gt;sdemon -o kill -t all -s NDEP-24 -u SDE -p xxxxx -D SDE24 -i 5151&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcSDE I/O Manager Process Management on Fri Jun 10 14:14:33 2011&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kill All Servers?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ARE YOU SURE (Y/N)?: y&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Insufficient permissions, Unable to kill servers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 20:16:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/cannot-kill-single-sde-connections-with-sdemon-o/m-p/190982#M10817</guid>
      <dc:creator>StephanieSnider</dc:creator>
      <dc:date>2011-06-10T20:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot kill single SDE connections with sdemon -o kill command</title>
      <link>https://community.esri.com/t5/data-management-questions/cannot-kill-single-sde-connections-with-sdemon-o/m-p/190983#M10818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The documentation &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_java_help/index.html#//002n0000002v000000.htm"&gt;details the needed privileges&lt;/A&gt;&lt;SPAN&gt; (way down at the bottom).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not recommending you violate your license terms (though if you don't have more than&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;50 *real* users, I don't see an ethical quandry).&amp;nbsp; I *am* recommending a work-around&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;until you can get Tech Support in the loop (you really shouldn't need to reboot the server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;weekly; quarterly maybe, but that's just good practice on Windows anyway).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 21:04:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/cannot-kill-single-sde-connections-with-sdemon-o/m-p/190983#M10818</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-06-10T21:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot kill single SDE connections with sdemon -o kill command</title>
      <link>https://community.esri.com/t5/data-management-questions/cannot-kill-single-sde-connections-with-sdemon-o/m-p/190984#M10819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ESRI Tech support recommend that I set the ArcSDE TCPKEEPALIVE parameter to 'true'.&amp;nbsp; This setting tests the SDE connections every 2 hours to see if they are active.&amp;nbsp; If they aren't (such as a hanging connection), ArcSDE will kill the connection.&amp;nbsp; I'm going to see how this goes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I learned the reason I was not able to kill an individual connection.&amp;nbsp; The ArcSDE instructions say to use the PID # to kill a connection.&amp;nbsp; However, for me anyway, I had to use the SID # to kill the connection using SDE command line.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also kill a connection by ending the gsrvr.exe process in the task manager that is associated with the PID.&amp;nbsp; To see the PID in the task manager under the processes tab, select View &amp;gt; Select Columns, then check PID.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 19:29:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/cannot-kill-single-sde-connections-with-sdemon-o/m-p/190984#M10819</guid>
      <dc:creator>StephanieSnider</dc:creator>
      <dc:date>2011-06-24T19:29:48Z</dc:date>
    </item>
  </channel>
</rss>

