[pve-devel] pvestatd keeps crashing with latest git

Alexandre DERUMIER aderumier at odiso.com
Fri Oct 26 07:41:08 CEST 2012


Seem to restart because it's use too much memory 

in pvestatd:

 my $mem = PVE::ProcFSTools::read_memory_usage();

        if ($mem->{resident} > (35*1024*1024)) {
            syslog ('info', "restarting server after $cycle cycles to " .
                    "reduce memory usage (free $mem->{resident} bytes)");
            restart_server ();
        }


what storage do you use how this host and how many vms ?

----- Mail original ----- 

De: "Stefan Priebe" <s.priebe at profihost.ag> 
À: pve-devel at pve.proxmox.com 
Envoyé: Jeudi 25 Octobre 2012 22:03:19 
Objet: [pve-devel] pvestatd keeps crashing with latest git 

Hello list, 

today i updated to latest git since then my logs are full of these 
pvestatd messages and from time to time pvestatd isn't running anymore - 
mostprobably it doesn't get restarted correctly. 

Oct 25 15:54:00 cloud1-1202 pvestatd[2437]: restarting server after 2 
cycles to reduce memory usage (free 37470208 bytes) 
Oct 25 15:54:00 cloud1-1202 pvestatd[2437]: server shutdown (restart) 
Oct 25 15:54:00 cloud1-1202 pvestatd[2437]: restarting server 
Oct 25 15:54:10 cloud1-1202 pvestatd[2437]: restarting server after 2 
cycles to reduce memory usage (free 37466112 bytes) 
Oct 25 15:54:10 cloud1-1202 pvestatd[2437]: server shutdown (restart) 
Oct 25 15:54:10 cloud1-1202 pvestatd[2437]: restarting server 
Oct 25 15:54:21 cloud1-1202 pvestatd[2437]: restarting server after 2 
cycles to reduce memory usage (free 37470208 bytes) 
Oct 25 15:54:21 cloud1-1202 pvestatd[2437]: server shutdown (restart) 
Oct 25 15:54:21 cloud1-1202 pvestatd[2437]: restarting server 
Oct 25 15:54:31 cloud1-1202 pvestatd[2437]: restarting server after 2 
cycles to reduce memory usage (free 37466112 bytes) 
Oct 25 15:54:31 cloud1-1202 pvestatd[2437]: server shutdown (restart) 
Oct 25 15:54:31 cloud1-1202 pvestatd[2437]: restarting server 
Oct 25 15:54:42 cloud1-1202 pvestatd[2437]: restarting server after 2 
cycles to reduce memory usage (free 37457920 bytes) 
Oct 25 15:54:42 cloud1-1202 pvestatd[2437]: server shutdown (restart) 
Oct 25 15:54:42 cloud1-1202 pvestatd[2437]: restarting server 
Oct 25 15:54:52 cloud1-1202 pvestatd[2437]: restarting server after 2 
cycles to reduce memory usage (free 37466112 bytes) 
Oct 25 15:54:52 cloud1-1202 pvestatd[2437]: server shutdown (restart) 
Oct 25 15:54:52 cloud1-1202 pvestatd[2437]: restarting server 
Oct 25 15:55:02 cloud1-1202 pvestatd[2437]: restarting server after 2 
cycles to reduce memory usage (free 37462016 bytes) 
Oct 25 15:55:02 cloud1-1202 pvestatd[2437]: server shutdown (restart) 
Oct 25 15:55:03 cloud1-1202 pvestatd[2437]: restarting server 
Oct 25 15:55:13 cloud1-1202 pvestatd[2437]: restarting server after 2 
cycles to reduce memory usage (free 37466112 bytes) 
Oct 25 15:55:13 cloud1-1202 pvestatd[2437]: server shutdown (restart) 
Oct 25 15:55:13 cloud1-1202 pvestatd[2437]: restarting server 
Oct 25 15:55:23 cloud1-1202 pvestatd[2437]: restarting server after 2 
cycles to reduce memory usage (free 37466112 bytes) 
Oct 25 15:55:23 cloud1-1202 pvestatd[2437]: server shutdown (restart) 
Oct 25 15:55:23 cloud1-1202 pvestatd[2437]: restarting server 
Oct 25 15:55:37 cloud1-1202 pvestatd[2437]: restarting server after 2 
cycles to reduce memory usage (free 37457920 bytes) 
Oct 25 15:55:37 cloud1-1202 pvestatd[2437]: server shutdown (restart) 

Stefan 
_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 



More information about the pve-devel mailing list