What happens if the database is unreachable? I'm totally out on a limb here, but ioFTPD might get pretty confused if threads started blocking for any length of time... There are some simple changes I could make if this ends up being the case, but without looking at the code it just occurred to me this might be a problem.
Perhaps next time you see this, double check the DB is responsive just to rule this out. Especially if it isn't local...
|