On Wednesday, April 13, 2011 10:59:44 AM Mark Wendt did opine: > On 04/13/2011 08:10 AM, gene heskett wrote: > > On Wednesday, April 13, 2011 08:07:11 AM Mark Wendt did opine: > >> On 04/13/2011 07:44 AM, gene heskett wrote: > >>>> What happens when you do a poweroff from the command line? > >>> > >>> On the shop box, a graceful shutdown, but no poweroff. Reboots work > >>> too, and quite snappy too. > >>> > >>> I can start a ping to shop, log into it, sudo reboot, and miss less > >>> than 40 pings. > >> > >> Yeah, I meant on the machine having reboot problems. > > > > That would be this one. slow (2.1 Ghz) quad core phenom, 4Gb ram, ASUS > > M2N SLI Deluxe mobo. 4 ea 1T drives. > > Try what I mentioned in my previous post on the amount of swap. With 4 > GB of memory, you for all intents and purposes could zero out your swap > and never really need it. Swap space is used when you run out of shared > memory, and it pages files back and forth to your swap space. Closing > down 12 GB of swap could be why it seems to hang when you shut it down. > It has to sync everything that's in that 12 GB of swap back to disk > and out of memory before it proceeds. > I don't believe that is the hang. 1. No disk activity for as long as 5 minutes, 2. a swapoff -a never takes more than 5 seconds, and thats with htop saying its 200 megs into swap when the uptime is 2+ weeks. I have run without swap for half a day at a time, but the OOM killer isn't at all fussy about what it kills.
Its 91 megs into 8095 of swap and about 5d uptime now, 362 procs, swapoff - a took 3 seconds. Total actual memory in use is under a gigabyte. I have posted to lkml, but theo says thats the design. Next time I reboot, I'll do a swapoff -a first, but I really doubt it will make any difference. Thanks Mark. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) <http://tinyurl.com/ddg5bz> <http://www.cantrip.org/gatto.html> Men seldom show dimples to girls who have pimples. ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
