Thread: Server CPU use
View Single Post
Old 01-05-2016, 10:14 AM   #7
TypeC
Junior Member
TypeC began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2016
Location: UK
Device: Nook Glowlight
Quote:
Originally Posted by eschwartz View Post
What version of calibre?
2.41 (sorry meant to look this up initially and forgot). I originally installed in May 2015, so I've seen the same behaviour between whatever version was current then and this one.

Found the proper logs - thanks, Kovid (they were hidden in /root/.config/calibre - presumably because Ubuntu's Upstart runs as root).

Other than at the point of upgrade (with a couple of other entries relating to /cherrypy/lib/reprconf.pyo having been changed) server_error_log.txt contains only a straightforward (and identical) group of entries for each restart:

Code:
[27/Nov/2015:12:02:04] ENGINE Bus STARTING
[27/Nov/2015:12:02:04] ENGINE Started monitor thread '_TimeoutMonitor'.
[27/Nov/2015:12:02:04] ENGINE Started monitor thread 'Autoreloader'.
[27/Nov/2015:12:02:04] ENGINE Serving on 0.0.0.0:8004
[27/Nov/2015:12:02:05] ENGINE Bus STARTED
and server_access_log.txt has nothing in it between times I know I've accessed the system myself. For example, here are 4 contiguos lines:

Code:
192.168.40.134 - - [27/Oct/2015:17:25:51] "GET /get/thumb_90_120/1377 HTTP/1.1" 200 3259 "http://joggler:8004/browse/category/newest" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0"
192.168.40.134 - - [27/Oct/2015:17:25:51] "GET /get/thumb_90_120/1375 HTTP/1.1" 200 2714 "http://joggler:8004/browse/category/newest" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0"
192.168.40.190 - - [05/Jan/2016:12:30:16] "GET / HTTP/1.1" 200 6109 "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:43.0) Gecko/20100101 Firefox/43.0"
192.168.40.190 - - [05/Jan/2016:12:30:16] "GET /static/browse/browse.css HTTP/1.1" 200 7646 "http://joggler:8004/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:43.0) Gecko/20100101 Firefox/43.0"
The whole file looks just like (what I'm sure it is) a log of web requests: loads of "GET" and a few "POST".
TypeC is offline   Reply With Quote