Comment 1 for bug 505497

Revision history for this message
Vsevolod Dyomkin (vseloved) wrote :

I am encountering the similar problem on the last version of sbcl (1.0.34).
I have a crawler module, that uses drakma and also socket connections to Redis.
After some time of the crawler operation it hangs and this happens in the call to SB-BSD-SOCKETS:GET-PROTOCOL-BY-NAME. And the hang is indefinite. But if I do (setf (symbol-function 'SB-BSD-SOCKETS:GET-PROTOCOL-BY-NAME) (constantly 6)) the problem immediately goes away. Apparently, the problem appears due to drakma's heavy reuse of sockets.

I will try to build SBCL with getprotobyname_r instead of getprotobyname and see the results of that (and follow-up).