Quantcast
Channel: MobileRead Forums - Devices
Viewing all articles
Browse latest Browse all 3393

Server CPU use

$
0
0
A while ago, I installed Calibre server on a headless 32-bit Atom (x86) system running Ubuntu 14.04.

Here is some of the output from the Linux "Top" command after 39 days of up time:

Code:

Tasks:  75 total,  1 running,  74 sleeping,  0 stopped,  0 zombie
%Cpu(s):  2.8 us,  0.3 sy,  0.0 ni, 96.8 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem:    504480 total,  483184 used,    21296 free,    39516 buffers
KiB Swap:  524284 total,    34844 used,  489440 free.  217072 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM    TIME+ COMMAND
  980 root      20  0  367520  6568    988 S  5.0  1.3  3637:47 calibre-se+
 8566 squeeze+  20  0  165916 156400  5120 S  1.7 31.0 136:10.34 squeezebox+
19632 mike      20  0    3384  1392  1012 R  0.7  0.3  0:00.13 top
18777 root      20  0      0      0      0 S  0.3  0.0  0:16.61 kworker/0:2
19609 mike      20  0  11168  1844  1076 S  0.3  0.4  0:00.02 sshd
    1 root      20  0    4328  1328    632 S  0.0  0.3  0:04.36 init
    2 root      20  0      0      0      0 S  0.0  0.0  0:01.36 kthreadd

The pertinent bit here is that the CPU time for calibre is substantially bigger than anything else (> 3600s or 60 hours!). This behaviour is constant over restarts.

For comparison, second place goes to a music server (the "squeezebox" entry) that controls 4 hardware music players and transcodes streamed audio on the fly. It's still racked up only about 4% of the time Calibre has used. In contrast, the Calibre library probably hasn't even been accessed once since the last restart.

Is this expected behaviour? What is likely to be causing it? Currently I'm thinking of uninstalling from the server and going back to using it solely on my desktop.

NB The instructions I followed suggested that xvfb should be installed to "in order to sidestep issues caused by running Calibre in a non-display environment". I didn't do this, reasoning that I could add it later if I saw any "issues" - could I be seeing one now?

Thanks for any help anyone can provide.
TypeC

Viewing all articles
Browse latest Browse all 3393

Latest Images

Trending Articles



Latest Images