Hello, I was reaching the connection limit on my site and discovered that when downloading a file, wp-filebase open a thread to mysql which doesn't close until the file completes downloading.
This issue can be duplicated by running
SHOW PROCESSLIST; on the MySQL server while a download is occurring.
This is quite a problem, for if several people are downloading than my site quickly goes offline.
I tried adding a
mysql_close() in the
SendFile method before the
while loop (line 464), but the thread remained open.