… | … | ||
---|---|---|---|
18 | or return; | 18 | or return; |
19 | 19 | ||
20 | sysread $fh, my $stat, 4096; # only a single line | 20 | sysread $fh, my $stat, 4096; # only a single line |
21 | my $vmsize = (split / /, $stat)[22]; | 21 | my $vmsize = (split / /, $stat)[22]; |
22 | 22 | ||
23 | cf::cleanup "memory usage growing high, server would run out of memory soon", 0 if $vmsize >= $MAX_VMSIZE; | 23 | cf::cleanup "memory usage growing high, server would run out of memory soon", 0 |
24 | if $vmsize >= $MAX_VMSIZE; | ||
24 | }, | 25 | }, |
25 | ); | 26 | ); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |