Sybase ASE is terminating this process. Connection died while writing to socket
<p>In Sybase, we are <strong>intermittent</strong> exception like</p>

<pre><code>System.Data.OleDb.OleDbException (0x80004005): [08S01]
[ASEOLEDB]ASE is terminating this process.
   at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr)
   at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForMultpleResults(tagDBPARAMS dbParams, Object&amp; executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object&amp; executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
   at System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior)
</code></pre>

<p>or</p>

<pre><code>System.Data.OleDb.OleDbException (0x80004005): [08S01]
[ASEOLEDB]Sybase  Connection died while writing to socket. Socket returned error code 10053.
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr)
   at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForMultpleResults(tagDBPARAMS dbParams, Object&amp; executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object&amp; executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
   at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
</code></pre>

<p>The number of records in the table is less than 200K and queries are typically <code>inline inserts</code> or <code>select with temporary tables</code> </p>

<p>After the disconnection, we need to recycle the thread or bounce the process.</p>

<p>Do we need to change at Sybase configuration end? Or inside the application process?</p>