It seems to me that iodbc or the virtuoso odbc driver leak unix sockets. This is very easy to test:
Take the example app from http://docs.openlinksw.com/virtuoso/odbcimplementation.html and add getchar(); calls after the SQLConnect and SQLDeconnect statements, Then whenever the application waits for input check the open sockets and see that SQLConnect (in my case SQLDriverConnect) opens 2 sockets while SQLDisconnect only closes one of them. This is really a showstopper for KDE since it makes the storage service crash after a few hundred connects. Cheers, Sebastian
