[CalendarServer-dev] Exception in recvfd --was: Re: continuing work on FreeBSD ports
Fredrik Unger
fred at tree.se
Thu Feb 14 00:04:17 PST 2013
Hi,
> # ls -l /tmp/debug.dat.485*
> -rw-r--r-- 1 root wheel 0 Feb 13 23:07 /tmp/debug.dat.48563
> -rw-r--r-- 1 root wheel 0 Feb 13 23:07 /tmp/debug.dat.48577
> -rw-r--r-- 1 root wheel 0 Feb 13 23:07 /tmp/debug.dat.48578
> -rw-r--r-- 1 root wheel 0 Feb 13 23:07 /tmp/debug.dat.48579
> -rw-r--r-- 1 root wheel 0 Feb 13 23:07 /tmp/debug.dat.48580
> #
> ---
> I have no explanation for that.
The buffers are not flushed [1], I might have added a manual flush after
writes, or that it writes as the threads are exited.. eg you stop the
server. If I remember correctly in my case a "crashed" calendarserver
did not terminate the calendarserver.
Could have been that a /etc/init.d/calendarserver stop
stopped the crashed server and flushed the files.
Not sure anymore.
[1]
http://www.gnu.org/software/libc/manual/html_node/Flushing-Buffers.html
(Gnu libc is probably not in FreeBSD :) )
/Fred
More information about the calendarserver-dev
mailing list