Description:
Receiving errors accessing pages that perform queries to MySQL DB (Version 4.1, InnoDB). Seems to work after a little while, then fails again...
Stack trace
MySql.Data.MySqlClient.MySqlException: Operation on non-blocking socket would block ---> System.Net.Sockets.SocketException: Operation on non-blocking socket would block
in [0x0003c] (at /usr/src/redhat/BUILD/mono-1.1.8/mcs/class/System/System.Net.Sockets/Socket.cs:1359) System.Net.Sockets.Socket:Receive_nochecks (System.Byte[] buf, Int32 offset, Int32 size, SocketFlags flags)
in [0x00050] (at /usr/src/redhat/BUILD/mono-1.1.8/mcs/class/System/System.Net.Sockets/Socket.cs:1344) System.Net.Sockets.Socket:Receive (System.Byte[] buf, Int32 offset, Int32 size, SocketFlags flags)
in <0x00060> MySql.Data.Common.SocketStream:Read (System.Byte[] buffer, Int32 offset, Int32 count)--- End of inner exception stack trace ---
in <0x0010c> MySql.Data.Common.SocketStream:Read (System.Byte[] buffer, Int32 offset, Int32 count)
in [0x00160] (at /usr/src/redhat/BUILD/mono-1.1.8/mcs/class/corlib/System.IO/BufferedStream.cs:233) System.IO.BufferedStream:Read (System.Byte[] array, Int32 offset, Int32 count)
in [0x00011] (at /usr/src/redhat/BUILD/mono-1.1.8/mcs/class/corlib/System.IO/BufferedStream.cs:172) System.IO.BufferedStream:ReadByte ()
in <0x0004c> MySql.Data.MySqlClient.PacketReader:ReadHeader ()
in <0x000dc> MySql.Data.MySqlClient.PacketReader:OpenPacket ()
in <0x0033c> MySql.Data.MySqlClient.NativeDriver:Open ()
in <0x0004c> MySql.Data.MySqlClient.Driver:Create (MySql.Data.MySqlClient.MySqlConnectionString settings)
in <0x000d4> MySql.Data.MySqlClient.MySqlPool:CreateNewPooledConnection ()
in <0x0007c> MySql.Data.MySqlClient.MySqlPool:GetPooledConnection ()
in <0x00060> MySql.Data.MySqlClient.MySqlPool:GetConnection ()
in <0x00188> MySql.Data.MySqlClient.MySqlPoolManager:GetConnection (MySql.Data.MySqlClient.MySqlConnectionString settings)
in <0x00068> MySql.Data.MySqlClient.MySqlConnection:Open ()
How to repeat:
Seems to work perfect on Windows (.Net 1.1, Win XP) Only problem on Linux (FC4, Latest Mono build)