[unixODBC-support] odbc.ini is zero bytes
nick.gorham at easysoft.com
Fri Oct 8 01:57:00 BST 2004
Lopez David E-r9374c wrote:
>did not find this error msg in lists
>solaris 8, unixodbc 2.2.7, mysql driver 3.5.6, domino 6.02
>sometimes (once/qtr or so), odbc.ini file is zero bytes.
>we replace it from backup, everything is ok again. during
>this process, we must restart the application (a pain).
>this am, the same zero length problem on odbcinst.ini.
>high loads (4 cpu's, 16G, load=6 to 8)
>the same problem was discussed in mysql odbclist this
>week. this person had same issue under high loads. maybe
>this is how the error occurs...
Yes, this should be fixed in later builds. Its a bug where if the app
runs out of available file handles, it assumes it can't open the ini
file because it doesn't exist, and creates another one.
I will check the fix has made it into the 2.2.10 release.
More information about the unixODBC-support