Riccardo Magliocchetti
fc9b6ea275
plugins/xslt: fix memory leaks
...
Rpeorted by Coverity as CID #1125164
2013-11-02 16:25:50 +01:00
Riccardo Magliocchetti
522f3bb3a1
plugins/xslt: fix xmlfile lifecycle
...
Fixes an use after free and a memory leak.
Reported by Coverity as CID #1125165 , #1125167
2013-11-02 16:17:53 +01:00
Riccardo Magliocchetti
743c7ceaa6
plugins/v8: fix double free
...
Reported by Coverity as CID #1125166
2013-11-02 16:09:58 +01:00
Riccardo Magliocchetti
c780cd47ce
Update coverity build profile
...
Add a few more plugins and remove go that does not build.
2013-11-02 15:53:23 +01:00
unbit
54e7e01c05
Merge pull request #437 from prymitive/stats_pusher_retry
...
Restore retry handling in carbon
2013-11-01 22:35:22 -07:00
Łukasz Mierzwa
7d422d11e4
port carbon plugin to support retries in stats pusher, replaces old non-functional retry handling
2013-11-01 20:07:08 +01:00
Łukasz Mierzwa
5c35b60d1d
add retry support to stats pusher
2013-11-01 19:43:15 +01:00
Unbit
94353efb3f
correctly support python2.4
2013-11-01 10:02:35 +01:00
Roberto De Ioris
0586a2ba47
fixed #436
2013-11-01 09:54:01 +01:00
Roberto De Ioris
be6081c6f7
port the carbon metric feature to latest api
2013-11-01 09:51:00 +01:00
unbit
955fb6479e
Merge pull request #435 from prymitive/carbon_use_metrics
...
enable switching stats source from carbon's own loop to metrics data
2013-11-01 01:50:09 -07:00
Łukasz Mierzwa
1b334e8cf7
enable switching stats source from carbon's own loop to metrics data, fixes #417
2013-10-31 18:38:54 +01:00
Unbit
718e198ac8
little optimization in master fifo
2013-10-28 22:14:50 +01:00
unbit
3757e5a8bb
Merge pull request #433 from xrmx/coverity2810-2
...
More Coverity fixes
2013-10-28 14:13:25 -07:00
Riccardo Magliocchetti
d505964321
plugins/gevent: don't dereference null pointer
...
We should not pass a NULL pointer to Py_DECREF. This is possible
if wsgi_req->socket->edge_trigger is true.
Reported by Coverity as CID #970981 .
2013-10-28 19:38:02 +01:00
Riccardo Magliocchetti
1114c1a429
core/fifo: check array index read before dereferencing uwsgi_master_fifo_manage
...
Reported by Coverity as CID #1100821
2013-10-28 19:29:25 +01:00
Riccardo Magliocchetti
f58a9c6119
plugins/router_hash: don't dereference a null pointer
...
In case this condition is true:
if (urhc->items[i] == ';') {
but this is false:
if (found == hashed_result)
for the latest loop iteration value would be set as NULL
This is a bit unfortunate because later we can:
- use it in arithmetics
- dereference it in uwsgi_req_append
To fix that update vallen only if value is not null.
Reported by Coverity sa CID #1100805 .
2013-10-28 19:27:06 +01:00
Riccardo Magliocchetti
e791cb2c00
core/utils: cleanup if condition
...
uwsgi.ksm_mappings_current_size cannot be 0 here.
A couple of lines above:
1219 if (uwsgi.ksm_mappings_current_size <= 0) {
1220 uwsgi_log("[uwsgi-KSM] unable to read /proc/self/maps data\n");
1221 return;
1222 }
2013-10-28 19:26:51 +01:00
Unbit
f741dbb01b
added options for metric thresholds
2013-10-28 17:18:45 +01:00
Unbit
d5f0741e8d
metrics threshold structures
2013-10-28 17:16:17 +01:00
Unbit
b265ed8313
avoid kevent storm for stats pusher thread
2013-10-28 17:09:27 +01:00
Unbit
6cb160bb26
support for WSGI genrators in tornado
2013-10-28 09:55:06 +01:00
Unbit
009a3f2c0d
fixed greenlet memory leaks
2013-10-28 07:59:45 +01:00
Unbit
11b3d1fb94
greenlet plugin still need a bit of checks for reference counting
2013-10-27 19:06:18 +01:00
Unbit
7a39472700
various improvements in greenlet plugin
2013-10-27 18:31:31 +01:00
Unbit
4489b48603
added tornado loop engine
2013-10-27 18:08:34 +01:00
Unbit
d2f69af964
fixed #428
2013-10-26 05:47:47 +02:00
unbit
34e9dabffc
Merge pull request #430 from xrmx/coverity2510
...
Fix some leaks reported by coverity
2013-10-25 19:14:19 -07:00
unbit
6a4f46639e
Merge pull request #432 from TheRealBill/master
...
Fixing argument for length of the string 'destroy'
2013-10-25 19:09:56 -07:00
Bill Anderson
0d07ff25f9
Fixing argument for length of the string 'destroy'
2013-10-25 13:20:11 -05:00
Riccardo Magliocchetti
c1d9c4ef12
core/utils: fix resource leak in uwsgi_write_intfile
...
The more error condition you squeeze in one line the more chances
to leak :)
Reported by Coverity as CID #1100812
2013-10-25 19:53:04 +02:00
Riccardo Magliocchetti
0227ff7a9b
core/utils: fix resource leak
...
Reported by Coverity as CID #1100814
2013-10-25 19:45:51 +02:00
Riccardo Magliocchetti
082b178ae3
core/io: Fix resource leak
...
Reported by Coverity as CID #1100815
2013-10-25 19:41:27 +02:00
Riccardo Magliocchetti
0e695cbd6e
core/fsmon: fix memory leak
...
Reported by Coverity as CID #1100817
2013-10-25 19:35:38 +02:00
Riccardo Magliocchetti
be2ed4dc4a
core/snmp: fix usage of pointer outside of scope
...
Reported by Coverity as CID #1112122
2013-10-25 19:30:08 +02:00
Riccardo Magliocchetti
4777666588
plugins/rrdtools: don't leak filename
...
Reported by coverity as CID #1112121
2013-10-25 19:26:58 +02:00
Unbit
5647057ecc
fixed UWSGI_PROFILE usage
2013-10-25 09:27:45 +02:00
Unbit
94cb950058
better error reporting for cgroups
2013-10-25 08:26:51 +02:00
Unbit
8d65371bf6
completely skip cgroups initialization when non-root
2013-10-24 21:34:07 +02:00
Unbit
c747a36ae1
added PROFILE to Makefile
2013-10-24 18:55:55 +02:00
Unbit
e51cb65857
fixed #427
2013-10-24 18:52:03 +02:00
unbit
8fa4fdb8c8
Merge pull request #426 from apoh/master
...
set python-bin from enviroment variable in Makefile
2013-10-24 06:16:12 -07:00
apoh
d584857c78
set python-bin from enviroment variable in Makefile
...
currently the Makefile can only deal with the python-binary
wich is link to python. If you like to compile uwsgi with a
different pyhton-version you can just use
export PYTHON_BIN=/path/to/your/python
2013-10-23 17:32:36 +02:00
Unbit
f0b1d79f8b
added metrics api to pypy
2013-10-22 19:37:21 +02:00
Unbit
28566ad772
threads must be implicit in PyPy
2013-10-22 19:29:12 +02:00
Unbit
40c0e139d4
added metric api to python plugin
2013-10-22 16:25:56 +02:00
Unbit
04f2444ea0
added --zabbix-template
2013-10-22 12:11:19 +02:00
Unbit
9f71d28afa
snmp integration with metrics subsystem
2013-10-22 10:18:09 +02:00
Unbit
af262fb325
completed metric file collector
2013-10-22 07:08:12 +02:00
Unbit
243657b5aa
added pluggables metric collectors
2013-10-22 06:29:01 +02:00