Paster command constantly pegs CPU above 100%

Issue #899 resolved
Rohit Sood
created an issue

This is similar to issue #868.

I ran an strace against the paster command .

There are references to a non-existent repo named "THIRD_PARTY".

Also numerous FUTEX_WAIT... entries.

The existing repo is in lower case "third_party"

A dump of the rhodecode database did not show any of the upper case strings.

Where does Rhodecode store them outside the tables ?

The trace output is attached.

Comments (3)

  1. Rohit Sood reporter

    The select system call takes an overwhelming share of the cpu time :

    sudo strace -p 17183 -c -f -e trace=desc -s 1024

    Process 17203 attached with 6 threads - interrupt to quit

    % time seconds usecs/call calls errors syscall
    100.00 1.035696 60923 17 select
    0.00 0.000000 0 147 read
    0.00 0.000000 0 20 write
    0.00 0.000000 0 108 44 open
    0.00 0.000000 0 64 close
    0.00 0.000000 0 195 fstat
    0.00 0.000000 0 146 poll
    0.00 0.000000 0 114
    ------ ----------- ----------- --------- --------- ----------------
    100.00 1.035696 811 44 total
  2. Log in to comment