![]() Time per request: 1.511 (mean, across all concurrent requests) Nginx + Gunicorn(workers 4 and use sync mode by default) + bottle $ ab -n 10000 -c 500 Percentage of the requests served within a certain time (ms) Time per request: 3.119 (mean, across all concurrent requests) ![]() Licensed to The Apache Software Foundation, ![]() Tornado start one process) $ ab -n 10000 -c 500 Ĭopyright 1996 Adam Twiss, Zeus Technology Ltd, Nginx + Tornado(Tornado as both a WSGI server and Web framework. Nginx configuration is consistent and the WSGI server response a string "Hello World". The following nginx are proxy with one WSGI server. ![]() bind ( host = HOST, port = PORT ) # Replace your real host and real port server. set_wsgi_app ( APP ) # For example the APP argument is flask or bottle server. instance ()) server = WSGIServer ( event_loop ) server. Use viola as follows: from _loop import EventLoop from import WSGIServer from import Scheduler # Import your APP in here if _name_ = '_main_' : event_loop = EventLoop. You can install with pip: $ pip install viola Simplified WSGI protocol for server side.Single-thread, non-blocking I/O based on event-driven model.You can also do this or using viola as a reference for learn networking programming. I build blog with viola, handle static resource by Nginx and dynamic content with viola. Lightweight and efficient and has no dependencies other than the Python Standard Library. I’ve done SEVERAL SAVINGS and vowed not to trust fsck -y anymore, even though it’s a great tool, but I’ll use it with caution.Viola is a WSGI server. Once the command was executed and after a few minutes, I opened / home / lost + found via a "nemo" file explorer and TADAM, all my data was there. So I made a "chmod 777 -R lost + found" in order to be able to access it via my account (simple user account). But when I logged in as root in a terminal, then "cd / home" and ls lost + found ", I saw numbers like # 13032 # 13036 # 1181667, and a folder with the number # 4703. Someone suggested I take a look at / home / lost + found, and when I did, I saw nothing. It is true that several messages including the word inode or node (I do not remember) with numbers quickly appeared during fsck -y Or 95 GB of used, compared to 31 GB above, so where are the 60 GB?īefore the problem, I was around 95 GB in size. When I right click on home and I look at the size I have 31go, and with a What made me have 0.5% of hope (I must admit I was at the edge of the window with the pc and looking for my data one last time), was the size of my partition. My disk is partitioned into 4 including 3 for linux and one for ntfs If really really, you have a solution, please I'm desperate. I can no longer work, all my work was there, I have a 1 month old backup, but good. I have a global search in my home, and nothing When I make a df -h, the size appears as if the file is present, but impossible to see it. All of my shortcuts to the missing folder no longer works. Hey there is only one visible folder left. In fact, I have a folder containing two other folders. At the end I restarted my PC and voila, I can no longer find my work folder. I usually do an fsck -y /dev/sda1īut this morning, after crashing, when I did that, he scrolled through several messages quickly, and that worried me. This is not the first time this has happened to me. I forced it to shut down and when I restarted, it presents the terminal with initramfs (if I'm not mistaken) by inviting me to do an fsck. This morning I worked as usual and my PC crashed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |