Summary: | akonadi, kimap, kmail very broken on FreeBSD | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Tobias C. Berner <tcberner> |
Component: | libakonadi | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | deadmaxfr, groot, trasz |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | FreeBSD | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Tobias C. Berner
2017-07-01 08:21:40 UTC
I found the problem on my FreeBSD 11.1 ! It's due to the size of the UNIX socket. On FreeBSD, it's defaulted to 8Kb, but on Linux it is much more large ! On my PC, it just increase the size to 64k and it's working. For that, put the followinf lines into /etc/sysctl.conf file: net.local.stream.recvspace=65536 net.local.stream.sendspace=65536 net.local.dgram.recvspace=65536 net.local.dgram.maxdgram=65536 net.local.seqpacket.recvspace=65536 net.local.seqpacket.maxseqpacket=65536 I don't known which one make the job ... On my 11.1-amd64 box, it's the two stream settings, net.local.stream.recvspace=65536 and net.local.stream.sendspace=65536 seem to have done the trick. I'll use KMail some more today and see what happens. Just wondering... is the workaround still neccessary with 12.0-ALPHA or recent 11-STABLE? Thanks! (In reply to Edward Tomasz Napierala from comment #3) > Just wondering... is the workaround still neccessary with 12.0-ALPHA or > recent 11-STABLE? Thanks! I'm working with the last FreeBSD 11.2, and I still need the workaround. I don't know for the latest versions, sorry. FWIW, I'm wondering if it could have been fixed in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=181741. I just built 11-STABLE (r 339415) and rebooted, after commenting-out the changes in the sysctls. KMail still seems to work, but the thing was that you wouldn't *necessarily* have KMail fall over on you immediately. So let's call it "probably fixed, sysctls no longer needed" -- but it needs some longer period of trying it out. Left akonadi and kmail running overnight, and now bumped into a case of "world is going to end" again. Stopped akonadi, quit kmail, bumped sysctl and the messages I previously couldn't read, now were ok again. |