Re: High CPU usage (up to 99.9%) on startup

"James Ellis" <[email protected]>
Newsgroups gmane.comp.kde.devel.quanta.user
Message-ID <[email protected]>
Futher information on this - According to strace Quanta looks to be doing ad
infinitum "lstat64" and "fstat64" function calls. Then opening an closing
various if not all files in the project.
In fact it looks like it is trying to read the first line of every file
(path/to/file is my replacement)  :


open("/path/to/file/images/.svn/text-base/browse.gif.svn-base",
O_RDONLY|O_LARGEFILE) = 12
read(12, "GIF89a\24\0\22\0\241\1\0.Dr\377\377\377\233\t\t\0\0\0!"..., 4000)
= 113
close(12)


open("/path/to/file/jscripts/link.js", O_RDONLY|O_LARGEFILE) = 12
fstat64(12, {st_mode=S_IFREG|0664, st_size=2436, ...}) = 0
fstat64(12, {st_mode=S_IFREG|0664, st_size=2436, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb56ba000
read(12, "var url = tinyMCE.getParam(\"exte"..., 4096) = 2436
close(12)


Does anyone know why? Is it rebuilding the project file?


Cheers.
James



On 5/4/07, James Ellis <[email protected]> wrote:
>
> Hi
>
> On loading Quanta up I'm finding that CPU usage is jumping to 99.9%. An
> strace on the Quanta pid is giving information about "gettimeofday"
> I know it's happening when my CPU fan starts running hard... :) The high
> CPU usage lasts for about 30-60 seconds then drops to normal.
>
> strace ->
>
> gettimeofday({1178276607, 657470}, NULL) = 0
> ioctl(5, FIONREAD, [0])                 = 0
> write(6, "\0", 1)                       = 1
> gettimeofday({1178276607, 657596}, NULL) = 0
> write(3, ";\3\5\0+\4`\2\0\0\0\0\0\0\0\0f\0\17\0\235\6\5\0O\t`\2\0"...,
> 1572) = 1572
> ioctl(3, FIONREAD, [0])                 = 0
> gettimeofday({1178276607, 657942}, NULL) = 0
> select(18, [3 4 5
>
> etc etc
>
> Any ideas what could be causing this. It's only started to happen in the
> last week or so and Quanta hasn't been updated in a while.
> I searched on bugs.kde and nothing much came up Quanta related.
>
> Specs:
>
> Kubuntu 7.04
> KDE 3.5.6-0ubuntu20 (kubuntu packages)
> Quanta/kdewebdev 3.5.6-0ubuntu1 (kubuntu packages)
>
>
> Cheers
> James
>
>

_______________________________________________
Quanta mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/quanta
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.