David Mitchell wrote:
My 2.1.10 server I got compiled has a problem where it hangs after a few hours. I'm not sure if it's related to the number of requests it's processed or not. It's happened three times so far. Restarting the server always gets it working again. Using tcpdump I can confirm that it's receiving requests from the NAS but not processing them. Using strace I can see that it's stuck on a futex:
write(1, "Wed Aug 25 16:13:45 2010 : Info: "..., 70) = 70 futex(0x827fe88, FUTEX_WAIT_PRIVATE, 2, NULL
It's blocked in a write? Weird... See doc/bugs. You should be able to run it under gdb. Then when it's blocked, hit <CTRL>-C, and do "bt". That should show *which* mutex is locked.
Alan, let me know if you'd rather have this type of thread on the Developer list instead of the User list. Thanks,
That's probably the better place. Alan DeKok.