[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-newbies
Subject:    Re: Epiphany crashes reliably
From:       Stuart Henderson <stu () spacehopper ! org>
Date:       2012-02-11 15:03:38
Message-ID: slrnjjcvci.r14.stu () naiad ! spacehopper ! org
[Download RAW message or body]

On 2012-02-11, Carson Chittom <carson@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-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic