Skip to content

Commit d9aee98

Browse files
alfonsosanchezbeatosofar
authored andcommitted
Increase max PID and CPU constants
The numbers were insufficient for modern servers.
1 parent fe1c5e4 commit d9aee98

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/bootchart.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828

2929
#include "list.h"
3030

31-
#define MAXCPUS 16
32-
#define MAXPIDS 65535
31+
#define MAXCPUS 512
32+
#define MAXPIDS 4194304
3333

3434
struct block_stat_struct {
3535
/* /proc/vmstat pgpgin & pgpgout */

0 commit comments

Comments
 (0)