It is possible XrdSysCondVar::WaitMS() burns all CPU if abstime is invalid. The pthread_cond_timedwait exit with EINVAL in this case. To reproduce the bug change line https://github.com/xrootd/xrootd/blob/master/src/XrdSys/XrdSysPthread.cc#L141 to: tval.tv_sec = tnow.tv_sec + sec -1; You can merge this Pull Request by running: git pull https://github.com/alja/xrootd waitMS_bugfix Or you can view, comment on it, or merge it online at: https://github.com/xrootd/xrootd/pull/111 -- Commit Summary -- * Fix 100% CPU usage in XrdSysCondVar::WaitMS when abstime in pthread_cond_timedwait is invalid. -- File Changes -- M src/XrdSys/XrdSysPthread.cc (3) -- Patch Links -- https://github.com/xrootd/xrootd/pull/111.patch https://github.com/xrootd/xrootd/pull/111.diff --- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/pull/111 ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-DEV list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1