cleanup
Costa Tsaousis (ktsaou) committed
Mar 30, 2015 at 02:29 UTC
25d93bce5c96795936ecc23a40fde538ee8d1476
1 file changed
+4
-4
src/plugins.d/apps_plugin.c
+4
-4
@@ -1375,11 +1375,11 @@ void update_statistics(void)
1375
p->target->minflt += p->minflt; //+ (p->pid != 1)?(p->cminflt - p->fix_cminflt):0;
1376
p->target->majflt += p->majflt; //+ (p->pid != 1)?(p->cmajflt - p->fix_cmajflt):0;
1377
1378
- if(p->num_threads < 0)
1379
- error("Negative threads number for pid '%s' (%d): %d", p->comm, p->pid, p->num_threads);
1378
+ //if(p->num_threads < 0)
1379
+ // error("Negative threads number for pid '%s' (%d): %d", p->comm, p->pid, p->num_threads);
1380
1381
- if(p->num_threads > 1000)
1382
- error("Excessive threads number for pid '%s' (%d): %d", p->comm, p->pid, p->num_threads);
1381
+ //if(p->num_threads > 10000)
1382
+ // error("Excessive threads number for pid '%s' (%d): %d", p->comm, p->pid, p->num_threads);
1383
1384
p->target->num_threads += p->num_threads;
1385
p->target->rss += p->rss;