On Fri, Mar 18, 2022 at 10:46:24AM +0100, Peter N. M. Hansteen wrote:
> Hi,
> 
> After a few years of grumbling over Thunderbird crashing several times a day
> and needing to rebuild indexes for mailboxes, I finally found a login.conf
> setting that helped. With stacksize-cur=32M for staff, Thunderbird has now
> not crashed for the last 2 days and I declare a win.
> 
> Diff for the pkg README follows.

Any diff that changes the resulting package requires a revision bump.

> 
> All the best,
> Peter N. M. Hansteen
> 
> cvs server: Diffing .
> Index: README
> ===================================================================
> RCS file: /cvs/ports/mail/mozilla-thunderbird/pkg/README,v
> retrieving revision 1.2
> diff -u -p -u -p -r1.2 README
> --- README    11 Mar 2022 19:34:42 -0000      1.2
> +++ README    18 Mar 2022 09:37:05 -0000
> @@ -34,6 +34,29 @@ package.
>  https://support.mozilla.org/en-US/kb/openpgp-thunderbird-howto-and-faq is
> the
>  reference documentation for this feature.
> 
> +Bump sizes in login.conf to avoid out of memory crashes
> +=======================================================
> +
> +Users with large mail boxes have reported crashes with out of memory
> conditions,

Diff lines got wrapped.

> +typically "Failed to allocate NNNNN bytes" messages. Bumping allocation
> limits
> +for the user class used (typically 'staff') can help avoid those problems.
> +
> +A typical login.conf entry would read
> +
> +staff:\
> +     :datasize-cur=8192M:\
> +     :datasize-max=infinity:\
> +     :maxproc-max=512:\
> +     :maxproc-cur=256:\
> +     :stacksize-cur=32M:\
> +     :ignorenologin:\
> +     :requirehome@:\
> +     :tc=default:
> +
> +where in particular setting stacksize-cur to a larger than default value
> seems
> +critical to avoid annoying out of memory crashes.
> +
> +
>  Debugging
>  =========
>  If you encounter crashes, you might want to install the debug part of
> 
> 
> -- 
> Peter N. M. Hansteen, member of the first RFC 1149 implementation team
> http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
> "Remember to set the evil bit on all malicious network traffic"
> delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
> 

Reply via email to