pkgsrc-Users archive

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

Re: KDE and the compose key



On Wednesday 12 September 2012 14:44:22 Bernd Ernesti wrote:
> On Wed, Sep 12, 2012 at 07:08:30PM +0200, Jaap Boender wrote:
> > On 9/12/2012 4:25 AM, Sverre Froyen wrote:
> > >Great. Let me know how it works out. Regards, Sverre
> > 
> > I've just submitted the patch to pkgsrc; personally I haven't had to
> > change my maxfiles limit (it's 3404 by default, but I suppose this
> > depends on architecture and memory and suchlike). We can always add
> > a pkg-message if it turns out to be necessary.
> 
> It is necessary and I would be better to make it possible to dectivate
> it with the options.mk framework.

I think an option to deactivate might be good, i.e., active by default (note 
that the option would be for qt4-libs).

> Even if you add a message this will not be clear to everyone if they
> run out of file descriptors so I would like to not make it the default.

Is there a way to prevent the package (kdelibs4?) from installing if maxfiles 
is set too low? That way you cannot ignore the message. We also need a warning 
about the soft descriptor limit, which probably should not result in an 
install failure as it is a user limit.

> Using such a huge maxfile limit is gross.

My laptop is running a kernel with MAXFILES=16384 (lsof shows ~9300 open 
files). I don't see that number being intrinsically any more or less gross 
than 3404. It is simply what is needed to run KDE efficiently.

Regards,
Sverre

PS My system has memory leak that requires a reboot every few days. I think it 
is caused by an experimental memory allocated that I'm using for the iwn 
network driver. It is, however, possible that it is related to the large 
number of open files. It might be something to watch out for. The symptom is 
the use of swap space under normal conditions.


Home | Main Index | Thread Index | Old Index