http://bugs.winehq.org/show_bug.cgi?id=16916
--- Comment #8 from Michael Earl treptoplax@gmail.com 2009-06-21 22:19:55 --- On suggestion of a message on CoH page here, I tried
#echo 4096 131072 3612672 > /proc/sys/net/ipv4/tcp_wmem
From my default setting of "4096 16384 3612672", and this seems to have
resolved the issue! As far as I can tell from 5 minutes web search, this increases the default process maximum for TCP buffers from 16K to 128K. (Possibly this explains the strange "getsockopts" behavior?). Increasing the value only to 64K resulted in crash later in the process.
FWIW, I also understand that adding
net.ipv4.tcp_wmem="4096 131072 3612672"
To /etc/sysctl.conf would have the same effect across reboots, but have not tested that yet.