Anonymous | Login | 12-06-2019 13:41 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0005410 | [Squeak Packages] KomHttpServer | feature | always | 11-13-06 22:27 | 10-24-07 11:11 | |||||||
Reporter | anselm | View Status | public | |||||||||
Assigned To | gcorriga | |||||||||||
Priority | normal | Resolution | open | |||||||||
Status | assigned | |||||||||||
Summary | 0005410: Memory exhaustion | |||||||||||
Description |
Take a fresh seaside installation, start wakom server e.g. on port 8080 with "WaKom startOn: 8080" and use netcat to spam the server: "yes | nc localhost 8080". Squeak won't stop receiving data and the image will grow, and grow, and grow ... After some time there will be an out-of-memory warning. I'm not sure that this will finally crash Squeak, but it definitely exhausts memory at makes the system slow which is not very nice. With some time this can be done from a single connection. Other servers close connection or throw away data if it is forseeable that no serious client request is made. |
|||||||||||
Additional Information |
This is not necessarily a bug in Seaside. Maybe a design flaw. The problem may also lay in WaKom or SocketStream. Some of the next* methods in SocketStream are also dangerous. They receive until a delimiter is reached, not caring about the buffer size which will just grow continously. |
|||||||||||
Attached Files | ||||||||||||
|
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
37 total queries executed. 31 unique queries executed. |