Hang on I must have done something wrong. I’m now getting this message on the 
rump-nginx console:

2015/04/30 22:37:39 [alert] 2#0: *7176 write() to "/tmp/access.log" failed (28: 
No space left on device) while logging request, client: 192.168.1.1, server: 
localhost, request: "GET /static/logo150.png HTTP/1.1", host: "192.168.1.33"
2015/04/30 23:25:38 [alert] 2#0: *116555 write() to "/tmp/access.log" failed 
(28: No space left on device) while logging request, client: 192.168.1.1, 
server: localhost, request: "GET /static/logo150.png HTTP/1.1", host: 
"192.168.1.33"
2015/04/30 23:26:38 [alert] 2#0: *478649 write() to "/tmp/access.log" failed 
(28: No space left on device) while logging request, client: 192.168.1.1, 
server: localhost, request: "GET /static/logo150.png HTTP/1.1", host: 
“192.168.1.33"

Odd because I rebuilt by entirely deleting my rumprun and rump-nginx 
directories 30 minutes ago and rebuilding. I’m still about 5,600 transactions 
per second, which is good but I don’t know why I’m getting the logging errors.

—> ENGAGE BRAIN, 5 MINUTES LATER UPDATE:

OK I have completely disabled logging in nginx like so:

root@contiki:/home/ubuntu/rump-nginx# cat images/data/conf/nginx.conf
worker_processes 1;
error_log stderr;
pid /tmp/nginx.pid;
user daemon daemon;
daemon off;
master_process off;

events {
    worker_connections 128;
}

http {
    include       mime.types;
    default_type  application/octet-stream;
    log_format    main  '$remote_addr - $remote_user [$time_local] "$request" '
                        '$status $body_bytes_sent "$http_referer" '
                        '"$http_user_agent" "$http_x_forwarded_for"';
    #access_log    /tmp/access.log main;

    server {
        listen       80;
        server_name  localhost;

        access_log /tmp/access.log main;
        access_log  off;
        error_log stderr crit;

        location /static {
            root   /data/www;
        }

        location / {
            fastcgi_pass   10.9.1.201:8000;
            fastcgi_index  index.php;
            fastcgi_keep_conn on;
            include fastcgi_params;
            fastcgi_param  SCRIPT_FILENAME  /data/www/$fastcgi_script_name;
        }
    }
}
root@contiki:/home/ubuntu/rump-nginx#

I now have two Domu configurations, one is ubuntu, one is rump run-nginx.  Both 
have EXACTLY the same nginx.conf (as shown above) so master and daemon are 
turned off on Linux.

Here is the performance stats. Note that with logging completely disabled in 
nginx rumprun has jumped up another 1,000 transactions per second.

rumprun-nginx:
2015-04-30 20:00:56, 132031,      19.66,         818,       0.00,     6715.72,  
     41.61,        9.87,  132031,       0
2015-04-30 20:01:16, 131501,      19.99,         815,       0.00,     6578.34,  
     40.77,        9.84,  131502,       0
2015-04-30 20:01:36, 134094,      19.99,         831,       0.00,     6708.05,  
     41.57,        9.88,  134094,       0
2015-04-30 20:01:56, 130459,      19.99,         808,       0.00,     6526.21,  
     40.42,        9.86,  130459,       0
2015-04-30 20:02:16, 131633,      19.99,         815,       0.00,     6584.94,  
     40.77,        9.86,  131633,       0
2015-04-30 20:02:36, 131361,      19.99,         814,       0.00,     6571.34,  
     40.72,        9.81,  131361,       0
2015-04-30 20:02:56, 131098,      19.99,         812,       0.00,     6558.18,  
     40.62,        9.75,  131098,       0
2015-04-30 20:03:16, 131355,      19.99,         814,       0.00,     6571.04,  
     40.72,        9.92,  131355,       0
2015-04-30 20:03:36, 131244,      19.99,         813,       0.00,     6565.48,  
     40.67,        9.87,  131244,       0
2015-04-30 20:03:56, 131063,      19.99,         812,       0.00,     6556.43,  
     40.62,        9.82,  131063,       0
2015-04-30 20:04:16, 129082,      19.99,         800,       0.00,     6457.33,  
     40.02,        9.73,  129082,       0
2015-04-30 20:04:36, 130271,      19.99,         807,       0.00,     6516.81,  
     40.37,        9.82,  130271,       0
2015-04-30 20:04:56, 131197,      19.99,         813,       0.00,     6563.13,  
     40.67,        9.74,  131198,       0
2015-04-30 20:05:16, 130092,      19.99,         806,       0.00,     6507.85,  
     40.32,        9.89,  130092,       0
2015-04-30 20:05:36, 130941,      19.99,         811,       0.00,     6550.33,  
     40.57,        9.83,  130941,       0
2015-04-30 20:05:56, 131233,      19.99,         813,       0.00,     6564.93,  
     40.67,        9.87,  131233,       0
2015-04-30 20:06:16, 130423,      19.99,         808,       0.00,     6524.41,  
     40.42,        9.89,  130423,       0
2015-04-30 20:06:36, 131298,      19.99,         813,       0.00,     6568.18,  
     40.67,        9.90,  131299,       0
2015-04-30 20:06:56, 132113,      19.99,         818,       0.00,     6608.95,  
     40.92,        9.85,  132113,       0
2015-04-30 20:07:16, 129430,      19.99,         802,       0.00,     6474.74,  
     40.12,        9.79,  129430,       0

ubuntu-nginx:
2015-04-30 20:44:34, 153964,      19.93,         954,       0.00,     7725.24,  
     47.87,        9.86,  153964,       0
2015-04-30 20:44:54, 154992,      19.99,         960,       0.00,     7753.48,  
     48.02,        9.84,  154992,       0
2015-04-30 20:45:14, 155214,      19.99,         962,       0.00,     7764.58,  
     48.12,        9.85,  155214,       0
2015-04-30 20:45:34, 154725,      19.99,         958,       0.00,     7740.12,  
     47.92,        9.85,  154725,       0
2015-04-30 20:45:54, 154902,      19.99,         960,       0.00,     7748.97,  
     48.02,        9.82,  154903,       0
2015-04-30 20:46:14, 154849,      19.99,         959,       0.00,     7746.32,  
     47.97,        9.83,  154849,       0
2015-04-30 20:46:34, 154933,      19.99,         960,       0.00,     7750.53,  
     48.02,        9.84,  154933,       0
2015-04-30 20:46:54, 155032,      19.99,         960,       0.00,     7755.48,  
     48.02,        9.84,  155032,       0
2015-04-30 20:47:14, 154675,      19.99,         958,       0.00,     7737.62,  
     47.92,        9.82,  154675,       0
2015-04-30 20:47:34, 154793,      19.99,         959,       0.00,     7743.52,  
     47.97,        9.83,  154793,       0
2015-04-30 20:47:54, 154954,      19.99,         960,       0.00,     7751.58,  
     48.02,        9.83,  154954,       0
2015-04-30 20:48:14, 155076,      19.99,         961,       0.00,     7757.68,  
     48.07,        9.83,  155076,       0
2015-04-30 20:48:34, 154995,      19.99,         960,       0.00,     7753.63,  
     48.02,        9.84,  154995,       0
2015-04-30 20:48:54, 155062,      19.99,         961,       0.00,     7756.98,  
     48.07,        9.86,  155063,       0
2015-04-30 20:49:14, 154775,      19.99,         959,       0.00,     7742.62,  
     47.97,        9.85,  154775,       0
2015-04-30 20:49:34, 154468,      19.99,         957,       0.00,     7727.26,  
     47.87,        9.83,  154468,       0
2015-04-30 20:49:54, 154151,      19.99,         955,       0.00,     7711.41,  
     47.77,        9.84,  154151,       0
2015-04-30 20:50:14, 154845,      19.99,         959,       0.00,     7746.12,  
     47.97,        9.83,  154845,       0
2015-04-30 20:50:34, 154292,      19.99,         956,       0.00,     7718.46,  
     47.82,        9.83,  154292,       0
2015-04-30 20:50:54, 154667,      19.99,         958,       0.00,     7737.22,  
     47.92,        9.84,  154667,       0


Quite scientific I think!

as








Reply via email to