In what language is your application written? Is it not closing files or something? Is there a difference in how the application is installed between the BSD and Linux boxes?