Re: Epiphany crashes reliably

3 views
Skip to first unread message

Stuart Henderson

unread,
Feb 11, 2012, 10:03:38 AM2/11/12
to openbsd...@sfobug.theapt.org
On 2012-02-11, Carson Chittom <car...@wistly.net> wrote:
> I'm running Epiphany 2.30.6 on OpenBSD 5.0-stable. Opening
> http://identi.ca reliably crashes the browser. Running it from the
> command line, I get
>
> $ epiphany http://identi.ca
>
> (epiphany:7781): libsoup-WARNING **: Could not set SSL credentials from '/etc/ssl/cert.pem': Failed to open file '/etc/ssl/cert.pem': Too many open files
> Segmentation fault (core dumped)
> $
>
> Given the error "Too many open files," my first instinct was to check my
> ulimit settings, but ulimit -f says "unlimited."
>
> Any idea of how I should proceed from here?

ulimit -f is a file size limit, see ksh(1) for a description of ulimit
options. You need ulimit -n. If it's too low, edit login.conf and find
the relevant openfiles-cur for the class your userid is in. Logout and
back in again to use the new limits.

If this isn't enough, you could also be running into system limits.

$ sysctl kern.{n,max}files
kern.nfiles=315
kern.maxfiles=7030

kern.maxfiles can be raised temporarily (sysctl kern.maxfiles=NN) or at
boot in /etc/sysctl.conf.

fstat will show you what's open. Try something like "fstat | grep
-c username" for a quick estimate of what you're using.

_______________________________________________
Openbsd-newbies mailing list
Openbsd...@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies

Reply all
Reply to author
Forward
0 new messages