Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

[DEV Branch]Worker using 100% cpu with big files. #21

Open
mehmetali opened this Issue · 2 comments

2 participants

@mehmetali

Steps:

dd if=/dev/zero of=test.file bs=104857600 count=1
-----------------------------------
curl -I 127.0.0.1/test.file

HTTP/1.1 200 OK
Date: Fri, 20 Apr 2012 09:30:05 GMT
Server: Cherokee/1.2.102 (UNIX)
ETag: "4f912b52=6400000"
Last-Modified: Fri, 20 Apr 2012 09:24:34 GMT
Content-Length: 104857600
-----------------------------------
# wget 127.0.0.1/test.file --limit-rate=1m
--2012-04-20 12:38:50--  http://127.0.0.1/test.file

-----------------------------------
Cpu usage log:
PID USER    PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 3366 root      20   0  104m  10m 2992 S    0  0.4   4:21.58 cherokee-worker
 3366 root      20   0  104m  10m 2992 S    0  0.4   4:21.58 cherokee-worker
 3366 root      20   0  104m  10m 2992 S    0  0.4   4:21.58 cherokee-worker
 3366 root      20   0  104m  10m 2992 S    0  0.4   4:21.58 cherokee-worker
 3366 root      20   0  104m  10m 2992 S    0  0.4   4:21.58 cherokee-worker
 3366 root      20   0  104m  10m 2992 S    0  0.4   4:21.58 cherokee-worker
 3366 root      20   0  104m  10m 2992 S    0  0.4   4:21.58 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  100  0.4   4:22.70 cherokee-worker
 3366 root      20   0  104m  10m 2992 S   96  0.4   4:24.18 cherokee-worker
 3366 root      20   0  104m  10m 2992 S   96  0.4   4:25.68 cherokee-worker
 3366 root      20   0  104m  10m 2992 S   98  0.4   4:27.18 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  100  0.4   4:28.72 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  100  0.4   4:30.23 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  100  0.4   4:31.75 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  100  0.4   4:33.27 cherokee-worker
 3366 root      20   0  104m  10m 2992 S   98  0.4   4:34.77 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  100  0.4   4:36.29 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  100  0.4   4:37.81 cherokee-worker
 3366 root      20   0  104m  10m 2992 S   98  0.4   4:39.32 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  100  0.4   4:40.84 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  102  0.4   4:42.36 cherokee-worker
 3366 root      20   0  104m  10m 2992 S   98  0.4   4:43.87 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  100  0.4   4:45.39 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  100  0.4   4:46.90 cherokee-worker
 3366 root      20   0  104m  10m 2992 S   98  0.4   4:48.40 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  100  0.4   4:49.93 cherokee-worker
 3366 root      20   0  104m  10m 2992 S   97  0.4   4:51.43 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  100  0.4   4:52.96 cherokee-worker
 3366 root      20   0  104m  10m 2992 S   96  0.4   4:54.47 cherokee-worker
 3366 root      20   0  104m  10m 2992 S   98  0.4   4:55.96 cherokee-worker
 3366 root      20   0  104m  10m 2992 S   98  0.4   4:57.46 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  100  0.4   4:58.98 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  100  0.4   5:00.49 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  102  0.4   5:02.01 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  102  0.4   5:03.54 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  102  0.4   5:05.05 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  100  0.4   5:06.57 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  100  0.4   5:08.09 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  100  0.4   5:09.60 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  100  0.4   5:11.12 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  100  0.4   5:12.63 cherokee-worker
 3366 root      20   0  104m  10m 2992 S   98  0.4   5:14.14 cherokee-worker
 3366 root      20   0  104m  10m 2992 S  102  0.4   5:15.68 cherokee-worker
@mehmetali

it's same on cherokee-1.3.0A2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.