TestOpen failing after creating 32770 sockets #56
Replies: 2 comments 2 replies
-
|
Lines 36 to 55 in 0226d32 You might have to implement |
Beta Was this translation helpful? Give feedback.
-
|
Yes, I implemented a close() call which also utilized the File Descriptor methods from KENS, the problem still persists. What I found is, that evonthough the sockets get closed, the counter for the file desriptor keeps rizing (thats how I got the exact number) so I am not sure if the deletion is working as intended. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, when running kens-part1, I run into the problem of the program crashing after 32770 sockets. When changing the beginning of the test to something like this
It has no problem completing the test. I first though the problem might lay in my implementation of some file descriptor stuff but it is all deep inside the KENS source code which we are not supposed to change right (like functions we can not overwrite, files we are not supposed to hand in)
Or did I simply not understand the assignment correctly?
Beta Was this translation helpful? Give feedback.
All reactions