pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Konqueror issues?



On Sat 05 Nov 2016 at 19:19:49 -0600, Roy Bixler wrote:
> On Sat, Nov 05, 2016 at 06:09:08PM -0500, John D. Baker wrote:
> > Resuming experiments with konqueror, I killed it and launched it again
> > in the foreground and saw lots of messages about too many open files.
> > Default is 1024, max is 1536.  'ulimit -n 1536' didn't help.  Attempting
> > to launch konqueror again complained about a missing library.
> 
> Regarding the problem with "too many open files", it should help to
> put an entry in /etc/login.conf like this:
> 
> staff:\
>         :openfiles=4096:
> 
> and then put your user in the "staff" login class. (man master.passwd)

My style of solution is usually to create a little shell script to call
some application with my preferred options/environment (and it's called
Firefox in this case). 

#!/bin/sh
ulimit -c 0	# no coredumps
ulimit -Sn 2048				# more  files
ulimit -Sd $(( 2 * $(ulimit -d) ))	# larger datasize 

exec /usr/pkg/bin/firefox "$@"

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- Wayland: Those who don't understand X
\X/ rhialto/at/xs4all.nl    -- are condemned to reinvent it. Poorly.

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index