]> arthur.barton.de Git - netdata.git/commitdiff
cleanup
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sun, 29 Mar 2015 23:29:50 +0000 (02:29 +0300)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sun, 29 Mar 2015 23:29:50 +0000 (02:29 +0300)
src/plugins.d/apps_plugin.c

index 12d8485e7ae31d0c795378094c80ce7447621f4d..2be7cf8c7f64bc31b119ef01cf6f9c96113fca53 100755 (executable)
@@ -1375,11 +1375,11 @@ void update_statistics(void)
                        p->target->minflt += p->minflt; //+ (p->pid != 1)?(p->cminflt - p->fix_cminflt):0;
                        p->target->majflt += p->majflt; //+ (p->pid != 1)?(p->cmajflt - p->fix_cmajflt):0;
 
-                       if(p->num_threads < 0)
-                               error("Negative threads number for pid '%s' (%d): %d", p->comm, p->pid, p->num_threads);
+                       //if(p->num_threads < 0)
+                       //      error("Negative threads number for pid '%s' (%d): %d", p->comm, p->pid, p->num_threads);
 
-                       if(p->num_threads > 1000)
-                               error("Excessive threads number for pid '%s' (%d): %d", p->comm, p->pid, p->num_threads);
+                       //if(p->num_threads > 10000)
+                       //      error("Excessive threads number for pid '%s' (%d): %d", p->comm, p->pid, p->num_threads);
 
                        p->target->num_threads += p->num_threads;
                        p->target->rss += p->rss;