On Thu, Nov 27, 2008 at 21:32:01 +0900, Clint Webb wrote:
> You need to put signal handling in your programs.

You may try Cache::Memcached::Fast, which ignores SIGPIPE for you, as
does Cache::Memcached.

Internally, C::M::F uses sendmsg() with MSG_NOSIGNAL where available.
Where not, it temporary sets SIGPIPE action to SIG_IGN.  The latter is
not 100% correct, as it affects all threads in the application, but
will do for most users.

-- 
   Tomash Brechko

Reply via email to