When I kill a process, it times out and remains in the list as "Killing". Shouldn't this kill it immediately?
Description
The reason this happens is that ColdFusion is sending data to the client which goes via a Socket. The socket performs native I/O, but if the client does not accept the request content then ColdFusion is unable to send any further data. This is can occur with a web browser for example when a dialog appear asking you if you want to save a file. If the user does not click Yes or No, the socket remains blocked the entire time trying to write the content. This thread cannot be killed. IE also has some issues that it sometimes keeps connections open even when the IE window has been shut. The iexplorer.exe is still running on the users PC but the user doesn't see it, and as a result can also keep these connections open.
Other solutions to using native thread kills have been researched, but they can make the OS instable and were advised not to do it by operating system vendors. However Sun do know of the limitation are are looking to improve Java possibly in the furture! In the current CF world this doesn't bring us much, but this problem isn't limited to CF, it's reported all over the web for every kind of J2EE server (unfortunately) and many Java apps too.
Issue Details
| Type: | Technote |
|---|---|
| Issue Number: | FRS-114 |
| Components: | Request Managment |
| Environment: | |
| Resolution: | Fixed |
| Added: | 24/05/2007 14:10:04 |
| Affects Version: | |
| Fixed Version: | |
| Server: | |
| Platform: | |
| Related Issues: |
|
Issue Feedback
Did you find this issue helpful?
6 out of 7 people found this article helpful

