[plt-scheme] Re: web-server: connection timeout with open file handles

From: Dave Gurnell (d.j.gurnell at gmail.com)
Date: Thu Apr 23 08:32:20 EDT 2009

> Another approach is to write a kill-safe file-handle manager. Look at
> web-server/dispatchers/limit. Basically what it would do is contact a
> manager thread to open a file, providing its thread id, the manager
> would open the file and send the servlet the handle, then the manager
> would monitor the servlet and if it died, it would close the handle
> for it. [This would not require changing the server]

Ah yes. That sounds like a plan. I'll have a go tomorrow morning.

Many thanks!

-- Dave

Posted on the users mailing list.