A technical followup: > Roughly, libbeagle is trying to connect to beagle using the latter's > unix socket. Sometimes when the load is high (and sometimes for > reasons I havent yet figured out) this takes a long time. The > connection happens in a non-blocking mode but sometimes the buffer at
Earlier libbeagle attempted to create a blocking connection. That had some other issues and in general a non-blocking mode is preferred. So I tried to emulate the blocking mode by attempting several non-blocking connection-sleep-retry. But for some reason, this causes a lot of EAGAIN in connect() even though there is (as reported by other people) no apparent activity. I havent been able to resolve this mystery yet. Strace log in http://bugzilla.gnome.org/show_bug.cgi?id=556107 Relevant unix socket code in http://svn.gnome.org/viewvc/beagle/trunk/libbeagle/beagle/beagle-request.c?view=markup (function _beagle_connect_timeout) If anyone can spot anything wrong in the unix socket connection code, then I will appreciate any help in fixing the problem. Thanks, - dBera -- ----------------------------------------------------- Debajyoti Bera @ http://dtecht.blogspot.com beagle / KDE fan Mandriva / Inspiron-1100 user _______________________________________________ Dashboard-hackers mailing list [email protected] http://mail.gnome.org/mailman/listinfo/dashboard-hackers
