On Wed, 29 Aug 2018 at 19:06, Niklas Merz <[email protected]> wrote:
>
> The server and RAM should be fine. I`m running perkeepd with systemd. How 
> much RAM does you server have? Do you recommend any amount?

well, there's no good answer for that, as it depends on much data you
have. But I do run a throwaway instance on an f1-micro GCE (600MB),
where I barely have any data, and I feel that's pretty close to being
the minimum.

> The problem is that I cannot find a way to reproduce this. This happens with 
> normal operations like import or sync via the app. The log file also shows no 
> problems. After a crash there are only normal entries like synching or Blob 
> received. How can I get stacktraces or debug this more? Is there a verbose 
> log mode?

Not that I can remember, no. I mean, I think we could enable verbose
HTTP logging, but I doubt that would help.

> Thanks and sorry for this stupid request. I know not reproducible bugs are 
> terrible to support.

Np. let's try to make some progress.
Since you don't see any error or panic stack trace, I guess we can try
to check that you don't see any of the "regular" termination messages
either. So, at the end of the log, do you see any of the messages that
are in the handleSignals func from
https://perkeep.org/server/perkeepd/perkeepd.go ?
Secondly, could you add a logging message at the very end of this same
file, right after
  if testHookServerUp.call(); !testHookWaitToShutdown.call() {
    select {}
  }
?
Normally, we should never get past this select{}. So if by any chance
we do, it would be interesting to know about it.

> Am Dienstag, 28. August 2018 23:27:17 UTC+2 schrieb Niklas Merz:
>>
>> Hi everyone,
>>
>> I am running perkeepd on two servers for some time now. I built the binary 
>> myself and use one server as a primary and the other one as backup.
>>
>> Those perkeep instances crash regularly without any reason to me. The last 
>> log entries usually look very normal. My primary often crashes when it tries 
>> to sync to the secondary after it has crashed. But the primary has also 
>> problem with other actions like twitter imports and searches.
>>
>> I am not able to run perkeep stable for a longer period of time. I would 
>> appreciate your help.
>>
>> Thanks and regards
>> Niklas
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Perkeep" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Perkeep" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to