vmbench
vmbench copied to clipboard
Add features
Hi,
Please see and merge ? my pull request
Thank
I was running it and got the following:
HTTP server (sanic)
===================
Starting server...
docker run --rm -t -p 25000:25000 -e UID=10710547 -e GID=22002 -v /localdisk/work/amalakho/vmbench/.cache:/var/lib/cache -v /localdisk/work/amalakho/vmbench/sockets:/tmp/sockets --name magicbench magic/benchmark vex bench python /usr/src/servers/sanic_http_server.py --addr=0.0.0.0:25000
Trying to connect to server at address 127.0.0.1:25000
Could not start server
----------------------
Traceback (most recent call last):
File "/usr/local/lib/python3.5/logging/config.py", line 558, in configure
handler = self.configure_handler(handlers[name])
File "/usr/local/lib/python3.5/logging/config.py", line 731, in configure_handler
result = factory(**kwargs)
File "/usr/local/lib/python3.5/logging/handlers.py", line 202, in __init__
BaseRotatingHandler.__init__(self, filename, 'a', encoding, delay)
File "/usr/local/lib/python3.5/logging/handlers.py", line 57, in __init__
logging.FileHandler.__init__(self, filename, mode, encoding, delay)
File "/usr/local/lib/python3.5/logging/__init__.py", line 1014, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/local/lib/python3.5/logging/__init__.py", line 1043, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
PermissionError: [Errno 13] Permission denied: '/access.log'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/servers/sanic_http_server.py", line 8, in <module>
app = Sanic(__name__)
File "/usr/local/python-venvs/bench/lib/python3.5/site-packages/sanic/app.py", line 33, in __init__
logging.config.dictConfig(log_config)
File "/usr/local/lib/python3.5/logging/config.py", line 795, in dictConfig
dictConfigClass(config).configure()
File "/usr/local/lib/python3.5/logging/config.py", line 566, in configure
'%r: %s' % (name, e))
ValueError: Unable to configure handler 'accessTimedRotatingFile': [Errno 13] Permission denied: '/access.log'
Doesn't the GOMAXPROCS defined here make Golang serial while you are comparing to multiprocessing http server?