Hi massimo and thanks fot the hint I tried with rocket from cmd line and this is result from Apache ab command line. I got the same result i have with APACHE WSGI as you can see below
*MY APP WITH ROCKET * This is the command launch C:\web2py>python web2py.py *No handlers could be found for logger "web2py"* web2py Web Framework Created by Massimo Di Pierro, Copyright 2007-2016 *Version 2.14.3-stable+timestamp.2016.03.26.23.02.0*2 Database drivers available: sqlite3, imaplib, pyodbc, pymysql, pg8000 please visit: http://10.51.130.53/ starting browser... please visit: http://10.51.130.53:8080/ starting browser... C:\Apache24\bin>ab -n 270 -c 90 -k -s 100 10.51.130.53:8080/Prototipo_RCG/defaul t/index This is ApacheBench, Version 2.3 <$Revision: 1748469 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 10.51.130.53 (be patient) Completed 100 requests Completed 200 requests Finished 270 requests Server Software: Rocket Server Hostname: 10.51.130.53 Server Port: 8080 Document Path: /Prototipo_RCG/default/index Document Length: 6437 bytes Concurrency Level: 90 Time taken for tests: 115.700 seconds Complete requests: 270 Failed requests: 43 (Connect: 0, Receive: 0, Length: 43, Exceptions: 0) Keep-Alive requests: 0 Total transferred: 1856249 bytes HTML transferred: 1737989 bytes *Requests per second: 2.33 [#/sec] (mean)* *Time per request: 38566.756 [ms] (mean)* *Time per request: 428.520 [ms] (mean, across all concurrent requests)* *Transfer rate: 15.67 [Kbytes/sec] received* Connection Times (ms) min mean[+/-sd] median max *WINDOWS GENERIC WEB2PY APP FROM WEB2PY.EXE* C:\Apache24\bin>ab -n 270 -c 90 -k -s 100 10.51.130.53:8080/welcome/default/inde x This is ApacheBench, Version 2.3 <$Revision: 1748469 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 10.51.130.53 (be patient) Completed 100 requests Completed 200 requests Finished 270 requests Server Software: Rocket Server Hostname: 10.51.130.53 Server Port: 8080 Document Path: /welcome/default/index Document Length: 11001 bytes Concurrency Level: 90 Time taken for tests: 18.046 seconds Complete requests: 270 Failed requests: 0 Keep-Alive requests: 0 Total transferred: 3087180 bytes HTML transferred: 2970270 bytes *Requests per second: 14.96 [#/sec] (mean)* *Time per request: 6015.390 [ms] (mean)* *Time per request: 66.838 [ms] (mean, across all concurrent requests)* *Transfer rate: 167.06 [Kbytes/sec] received* Connection Times (ms) min mean[+/-sd] median max Connect: 0 34 127.0 0 516 Processing: 3046 4541 915.5 4156 6231 Waiting: 2035 4114 1126.0 3796 6231 Total: 3046 4575 902.1 4484 6231 Percentage of the requests served within a certain time (ms) 50% 4484 66% 4597 75% 5082 80% 5582 90% 6106 95% 6137 98% 6168 99% 6184 100% 6231 (longest request) *GENERAL APP **WITH LAST VERSION OF WEB2PY **STARTED FROM CODE WEB2PY.PY* C:\Apache24\bin>ab -n 270 -c 90 -k -s 100 10.51.130.53:8080/welcome/default/index This is ApacheBench, Version 2.3 <$Revision: 1748469 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking 10.51.130.53 (be patient) Completed 100 requests Completed 200 requests Finished 270 requests Server Software: Rocket Server Hostname: 10.51.130.53 Server Port: 8080 Document Path: /welcome/default/inde Document Length: 66 bytes Concurrency Level: 90 Time taken for tests: 8.229 seconds Complete requests: 270 Failed requests: 0 Non-2xx responses: 270 Keep-Alive requests: 0 Total transferred: 105570 bytes HTML transferred: 17820 bytes *Requests per second: 32.81 [#/sec] (mean)* *Time per request: 2742.840 [ms] (mean)* *Time per request: 30.476 [ms] (mean, across all concurrent requests)* *Transfer rate: 12.53 [Kbytes/sec] received* Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.0 0 0 Processing: 297 2342 701.0 2688 2859 Waiting: 297 2341 701.0 2688 2859 Total: 297 2342 701.0 2688 2859 Percentage of the requests served within a certain time (ms) 50% 2688 66% 2729 75% 2744 80% 2756 90% 2781 95% 2813 98% 2844 99% 2844 100% 2859 (longest request) I could depend on version? Il giorno martedì 25 ottobre 2016 07:16:08 UTC+2, Massimo Di Pierro ha scritto: > > Something is very wrong here and I do not know what it is. Why are you > suing apache with WSCGI. This is not a recommended configuration. We do not > support Apache any more and we never supported WSCGI. Can you try rocket > and nginx? > > On Monday, 24 October 2016 10:47:49 UTC-5, piero crisci wrote: >> >> I update the version and i tried also on a WINDOWS 7 with the same >> configuration. >> Here is the difference beetwen the WINDOWS SERVER 2012R2 and WINDOWS 7 >> with the same configuration >> >> *APACHE* >> >> *Server version: Apache/2.4.23 (Win64)* >> >> *Server built: Oct 1 2016 08:28:43* >> >> *Distributed by: The Apache Haus* >> >> *Compiled with: Visual Studio 2008* >> >> *Server's Module Magic Number: 20120211:61* >> >> *Server loaded: APR 1.5.2, APR-UTIL 1.5.4* >> >> *Compiled using: APR 1.5.2, APR-UTIL 1.5.4* >> >> *Architecture: 64-bit* >> >> *Server MPM: WinNT* >> >> * threaded: yes (fixed thread count)* >> >> * forked: no* >> >> *Server compiled with....* >> >> *-D APR_HAS_SENDFILE* >> >> *-D APR_HAS_MMAP* >> >> *-D APR_HAVE_IPV6 (IPv4-mapped addresses disabled)* >> >> *-D APR_HAS_OTHER_CHILD* >> >> *-D AP_HAVE_RELIABLE_PIPED_LOGS* >> >> *-D DYNAMIC_MODULE_LIMIT=256* >> >> *-D HTTPD_ROOT="/Apache24"* >> >> *-D HTTPD_EXEC="/Apache24/bin/httpd.exe"* >> >> *-D DEFAULT_PIDLOG="logs/httpd.pid"* >> >> *-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"* >> >> *-D DEFAULT_ERRORLOG="logs/error.log"* >> >> *-D AP_TYPES_CONFIG_FILE="conf/mime.types"* >> >> *-D SERVER_CONFIG_FILE="conf/httpd.conf"* >> >> >> >> ** The Apache Haus* >> >> ** is not affiliated with, or endorsed by, the Apache Software >> Foundation.* >> >> ** Apache HTTP Server, Apache, and the Apache feather logo are trademarks >> of* >> >> ** The Apache Software Foundation.* >> >> >> >> *PYTHON* >> >> *Python 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit >> (AMD64)] on win* >> >> *32* >> >> *Type "help", "copyright", "credits" or "license" for more information.* >> >> *>>> * >> >> >> >> EPPURE LE PRESTAZIONI OTTENUTE SONO MOLTO DIVERSE >> >> *Di seguito un benchmarking con il comando di APACHE:* >> >> >> >> *SERVER ** >> >> >> >> *Concurrency Level: 90* >> >> *Time taken for tests: 131.909 seconds* >> >> *Complete requests: 270* >> >> *Failed requests: 45* >> >> * (Connect: 0, Receive: 0, Length: 45, Exceptions: 0)* >> >> *Keep-Alive requests: 0* >> >> *Total transferred: 1834657 bytes* >> >> *HTML transferred: 1710187 bytes* >> >> *Requests per second: 2.05 [#/sec] (mean)* >> >> *Time per request: 43969.754 [ms] (mean)* >> >> *Time per request: 488.553 [ms] (mean, across all concurrent >> requests)* >> >> *Transfer rate: 13.58 [Kbytes/sec] received* >> >> >> >> *MY MACHINE* >> >> >> >> Concurrency Level: 90 >> >> Time taken for tests: 28.872 seconds >> >> Complete requests: 2700 >> >> Failed requests: 0 >> >> Non-2xx responses: 2700 >> >> Keep-Alive requests: 0 >> >> Total transferred: 820800 bytes >> >> HTML transferred: 178200 bytes >> >> *Requests per second: 93.52 [#/sec] (mean)* >> >> *Time per request: 962.384 [ms] (mean)* >> >> *Time per request: 10.693 [ms] (mean, across all concurrent >> requests)* >> >> *Transfer rate: 27.76 [Kbytes/sec] received* >> >> Il giorno venerdì 21 ottobre 2016 12:47:48 UTC+2, 黄祥 ha scritto: >>> >>> perhaps its easier to give the error log rather than just the >>> configuration, learn from a lot of discussion in this forum apache is not >>> recommended >>> >>> best regards, >>> stifan >>> >> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.