[CalendarServer-dev] 4.2 server stuck after DB outage
dre at apple.com
Mon Apr 22 14:22:45 PDT 2013
On Apr 22, 2013, at 9:28 AM, Axel Rau <Axel.Rau at Chaos1.DE> wrote:
> Am 22.04.2013 um 17:39 schrieb Andre LaBranche <dre at apple.com>:
>> It doesn't seem likely to me that a fast shutdown of postgres could cause this sort of error. Fast shutdown simply means that clients are not given the chance to finish their running transactions before they are disconnected, which is totally safe (those in-flight txns get rolled back). Given the complaints in the log about SSL, I tend to suspect the software update more than anything else…
> If feel a professional product like dcs should deal with such situations gracefully.
Depending on how many of Calendar Server's dependencies are provided by your OS, and depending on how many of those dependencies were upgraded in your OS upgrade... I can imagine various sorts of breakage, although I don't have any specific ideas based on your traceback.
Are you able to bootstrap a new Calendar Server instance in the upgraded OS, for testing purposes?
>> What OS and version are you using?
> FreeBSD 8.2 (I'm still testing my FreeBSD port).
>> Are you using Calendar Server in 'svn' mode where it spawns postgres itself, or are you managing postgres externally?
> It's an external DB-server.
>> If the latter, can you still start postgres and connect using psql?
> Sure. All other applications did a successful reconnect after end of downtime as usual (and w/o intervention).
> PGP-Key:29E99DD6 ☀ +49 151 2300 9283 ☀ computing @ chaos claudius
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the calendarserver-dev