Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
response time webserver high! and ..
#7
thanks Dan for your help!

I have disabled one of the plugins weather and also updated the system with last release, versión: 3.1.26. After reboot the system and run manually program-1, one minute, it doesnt work :-(

attached the log:


-- start log --
pi@raspberrypi-:~/sip$ sudo python sip.py
Complementos cargados:
 email_adj
 mobile_app
 monthly_adj
 plugin_manager
 proto
 relay
 relay_board
 signaling_examples
 system_update
 weather_level_adj
Comenzando tiempo de blucle

zones changed
[0, 0, 0, 0, 0, 0, 0, 0]
http://0.0.0.0:80/
Monthly Adjust: Setting water level to 90%
Checking weather status...
Email plugin is started
Skipped wundergound data because of a parsing error for today
Using 7 days of information.
Water needed (7 days): 21.0mm
Total rainfall       : 4.0mm
_______________________________-
Irrigation needed    : 17.0mm
Weather Adjustment   : 60.7%
192.168.1.77:62008 - - [06/Sep/2015 23:42:19] "HTTP/1.1 GET /" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:42:22] "HTTP/1.1 GET /vr" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:42:23] "HTTP/1.1 GET /api/log" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:42:27] "HTTP/1.1 GET /cr" - 303 See Other
zones changed
[1, 0, 0, 0, 0, 0, 0, 0]
192.168.1.77:62010 - - [06/Sep/2015 23:42:28] "HTTP/1.1 GET /" - 200 OK
192.168.1.77:62018 - - [06/Sep/2015 23:42:30] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:42:30] "HTTP/1.1 GET /api/log" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:42:32] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:42:34] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:42:36] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:42:37] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:42:39] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:42:41] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:42:43] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:42:44] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:42:46] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:42:48] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:42:50] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:42:51] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:42:54] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:42:57] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:43:00] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:43:04] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:43:06] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:43:08] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:43:12] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:43:13] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:43:15] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:43:17] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:43:19] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:43:22] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:43:24] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:43:26] "HTTP/1.1 GET /api/status" - 200 OK
zones changed
[0, 0, 0, 0, 0, 0, 0, 0]
zones changed
[0, 0, 0, 0, 0, 0, 0, 0]
192.168.1.77:62010 - - [06/Sep/2015 23:43:27] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62010 - - [06/Sep/2015 23:43:28] "HTTP/1.1 GET /api/log" - 200 OK

--- end log --


and if I do "sudo service stop" and "sudo service sip start or sudo python sip.py" program-1 works!, check the log:


--- start log ---

pi@raspberrypi-:~/sip$ sudo service sip stop
pi@raspberrypi-:~/sip$ sudo python sip.py
Complementos cargados:
 email_adj
 mobile_app
 monthly_adj
 plugin_manager
 proto
 relay
 relay_board
 signaling_examples
 system_update
 weather_level_adj
Comenzando tiempo de blucle

zones changed
[0, 0, 0, 0, 0, 0, 0, 0]
http://0.0.0.0:80/
Monthly Adjust: Setting water level to 90%
Email plugin is started
Checking weather status...
Skipped wundergound data because of a parsing error for today
Using 7 days of information.
Water needed (7 days): 21.0mm
Total rainfall       : 4.0mm
_______________________________-
Irrigation needed    : 17.0mm
Weather Adjustment   : 60.7%
192.168.1.77:62053 - - [06/Sep/2015 23:47:24] "HTTP/1.1 GET /" - 200 OK
Traceback (most recent call last):
 File "/home/pi/sip/web/application.py", line 239, in process
   return self.handle()
 File "/home/pi/sip/web/application.py", line 229, in handle
   fn, args = self._match(self.mapping, web.ctx.path)
 File "/home/pi/sip/web/application.py", line 438, in _match
   what, result = utils.re_subm('^' + pat + '$', what, value)
 File "/home/pi/sip/web/utils.py", line 531, in re_subm
   compiled_pat = re_compile(pat)
 File "/home/pi/sip/web/utils.py", line 499, in __call__
   update(block=True)
 File "/home/pi/sip/web/utils.py", line 496, in update
   self.running[key].release()
error: release unlocked lock

192.168.1.77:62059 - - [06/Sep/2015 23:47:27] "HTTP/1.1 GET /api/status" - 500 Internal Server Error
192.168.1.77:62053 - - [06/Sep/2015 23:47:27] "HTTP/1.1 GET /api/log" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:47:38] "HTTP/1.1 GET /vr" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:47:39] "HTTP/1.1 GET /api/log" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:47:44] "HTTP/1.1 GET /cr" - 303 See Other
zones changed
[1, 0, 0, 0, 0, 0, 0, 0]
192.168.1.77:62053 - - [06/Sep/2015 23:47:45] "HTTP/1.1 GET /" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:47:46] "HTTP/1.1 GET /api/log" - 200 OK
192.168.1.77:62069 - - [06/Sep/2015 23:47:46] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:47:47] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:47:48] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:47:50] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:47:51] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:47:52] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:47:53] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:47:54] "HTTP/1.1 GET /vr" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:47:55] "HTTP/1.1 GET /api/log" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:47:58] "HTTP/1.1 GET /" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:47:58] "HTTP/1.1 GET /api/log" - 200 OK
192.168.1.77:62075 - - [06/Sep/2015 23:47:59] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:48:00] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:48:02] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:48:03] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:48:04] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:48:05] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:48:07] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:48:08] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:48:09] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:48:10] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:48:11] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:48:13] "HTTP/1.1 GET /api/status" - 200 OK
zones changed
[0, 0, 0, 0, 0, 0, 0, 0]
zones changed
[0, 0, 0, 0, 0, 0, 0, 0]
192.168.1.77:62053 - - [06/Sep/2015 23:48:14] "HTTP/1.1 GET /api/status" - 200 OK
192.168.1.77:62053 - - [06/Sep/2015 23:48:14] "HTTP/1.1 GET /api/log" - 200 OK


-- end log ---
Reply


Messages In This Thread
response time webserver high! and .. - by takezo - 2015 Sep 04, 01:15 PM
RE: response time webserver high! and .. - by dan - 2015 Sep 04, 07:12 PM
RE: response time webserver high! and .. - by dan - 2015 Sep 05, 06:12 PM
RE: response time webserver high! and .. - by dan - 2015 Sep 06, 08:00 PM
RE: response time webserver high! and .. - by takezo - 2015 Sep 06, 09:49 PM
RE: response time webserver high! and .. - by dan - 2015 Sep 09, 10:56 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)