SocketServer - multithreading

Jeremy Jones Jeremy.Jones at
Thu Oct 11 18:33:10 CEST 2001

On Thu, Oct 11, 2001 at 12:16:28PM -0400, Oleg Broytmann wrote:


>Strange. I have no idea. Anyway try to remove "print request". But be
>advised that if you open the file in 'w' mode - you will overrite it every
>time. Use 'a' mode, or open different files...

I am a dunce.  I was checking whether the file was being updated properly by
using the "tail" command.  Since the file was being opened in 'w' mode, it
was overwriting every time and was not reflected in "tail."  I just changed
it to open in "a" and it works.  Thanks for the help.  And thank you for the
code.  It works excellently.  I just pushed 10 iterations of 10 simultaneous
clients at it and it handled all 100 requests perfectly.  


More information about the Python-list mailing list