Re: qt4 build freezes and 100% CPU

Kenneth Crudup <[email protected]> Sat, 14 Nov 2009 03:01:00 -0800 (PST)
Newsgroups gmane.comp.web.opera.linux
Message-ID <[email protected]>
On Sat, 14 Nov 2009, Liviu Andronic wrote:

> Does anyone know what is wrong?

Run "ulimit -n" for me and tell me what it says. What I found out is that
unlike Qt 3 (which apparently has a file-descriptor limit of 1024) Qt 4
will go as high as 6144 open FDs, and if your file-descriptor limit (set
in /etc/security/limits.conf on Ubuntu distros) is lower than that, Qt4
Opera will spin at 100% CPU and act "funny" when it hits that lower limit.

I set mine to 8K hard, 6K soft for user "kenny" and all was well. (But I
ended up going back to Qt3 over minor issues like favicons disappearing).

	-Kenny

-- 
Kenneth R. Crudup  Sr. SW Engineer, Scott County Consulting, Los Angeles
O: 3630 S. Sepulveda Blvd. #138, L.A., CA 90034-6809      (888) 454-8181
--
Opera-Linux: https://list.opera.com/mailman/listinfo/opera-linux
More lists: https://list.opera.com/mailman/listinfo/
Unsubscribe: mailto:[email protected]?subject=unsubscribe