08-10-2008
Again, I do agree with reborg.
This was a thread about sizing for swap space, not about a side bar about numerous technical points that are interesting, but logically, a fallacy, because the basic premise that reborg said is correct.
You simply do not need swap for panic dumps, and certainly not for savecores (see I got the distinction right this time).
For example, I think reborg is working on a site upgrade with 16GB of RAM. If he said, hey Neo, I am going to configure ZERO swap, I would say, OK, you will get no push back from me.
But, knowing reborg over the years here (but not yet over a BBQ with lots of beer), he will more-than-likely configure around 4GB Linux swap for 16GM of RAM, but I could be wrong.
10 More Discussions You Might Find Interesting
1. Programming
#include <stdio.h>
void main()
{
int Index=1;
char *Type=NULL;
Type = (char *)Index;
printf("%s",Type);
}
Getting coredump (5 Replies)
Discussion started by: vijaysabari
5 Replies
2. Solaris
We have Sun OS running on spark :
SunOS ciniwnpr67 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-Fire-V440
Having Physical RAM :
Sol10box # prtconf | grep Mem
Memory size: 8192 Megabytes
My Top Output is :
130 processes: 129 sleeping, 1 on cpu
CPU states: 98.8% idle, 0.2% user, 1.0%... (27 Replies)
Discussion started by: rajwinder
27 Replies
3. AIX
Hi,
I am using zerofault in AIX to find memory leaks for my server.
zf -c <forked-server>
zf -l 30 <server> <arguments>
Then after some (5 mins ) it terminates core dumping and saying server exited abnormally.
I could not understand the core file generated: its something like show in below... (0 Replies)
Discussion started by: vivek.gkp
0 Replies
4. Solaris
Hi all
Got myself in a pickle here, chasing my own tail and am confused. Im trying to work out memory / swap on my solaris 10 server, that Im using zones on.
Server A has 32Gb of raw memory, ZFS across the root /mirror drives.
# prtdiag -v | grep mem = Memory size: 32768 Megabytes
#... (1 Reply)
Discussion started by: sbk1972
1 Replies
5. Solaris
We have a SPARC system which is running on Solaris-9 and Physical memory size is 16GB.We have allocated 32GB SWAP space(2 times of physical memory).But when we use df -h command it shows following output and SWAP space size shows more than our allocated space
# df -h
Filesystem size used... (2 Replies)
Discussion started by: cyberdemon
2 Replies
6. Shell Programming and Scripting
Inorder to find the user memory consumption I used the command: prstat -s cpu -a -n 10
But now I want to automate it and want to write the output to a file.
How can I write the out put of user name and percentage of consumption alone to an output file.? (2 Replies)
Discussion started by: engineer
2 Replies
7. Solaris
hi friends, we are relocating our DC and need to plan out electrical power for the new DC.
are there ways i could find the actual power consumption from my current servers ? instead of the product specs. (2 Replies)
Discussion started by: Exposure
2 Replies
8. Solaris
Hi Experts,
I have M4000 server with 132 GB Physical memory. 4 sparse zones are running under this server, which are running multiple applications. I am not getting any pointer, where swap space is getting consumed. Almost 97% of swap space is being used. I checked all /tmp (of zones as well),... (7 Replies)
Discussion started by: solaris_1977
7 Replies
9. Solaris
I have a customers that is getting grid alerts that swap is over 95% utilized. When I do swap -l on the machine I get the following results.
$ swap -l
swapfile dev swaplo blocks free
/swap/swapfile - 16 6291440 6291440
/swap/swapfile2 - 16 8191984... (18 Replies)
Discussion started by: Michael.McGraw
18 Replies
10. Solaris
Hi all,
Q1) Due to application requirement, i am required to have more swap space.
Currently my swap is on a partition with 32GB.
I have another partition with 100GB, but it already has a UFS filesystem on it.
Can i just swap -d /dev/dsk/current32gb and swap -a /dev/dsk/ufs100gb ?
Will... (17 Replies)
Discussion started by: javanoob
17 Replies
LEARN ABOUT DEBIAN
glib::flags
Glib::Flags(3pm) User Contributed Perl Documentation Glib::Flags(3pm)
NAME
Glib::Flags - Overloaded operators representing GLib flags
HIERARCHY
Glib::Flags
DESCRIPTION
Glib maps flag and enum values to the nicknames strings provided by the underlying C libraries. Representing flags this way in Perl is an
interesting problem, which Glib solves by using some cool overloaded operators.
The functions described here actually do the work of those overloaded operators. See the description of the flags operators in the "This
Is Now That" section of Glib for more info.
METHODS
scalar = $class->new ($a)
o $a (scalar)
Create a new flags object with given bits. This is for use from a subclass, it's not possible to create a "Glib::Flags" object as such.
For example,
my $f1 = Glib::ParamFlags->new ('readable');
my $f2 = Glib::ParamFlags->new (['readable','writable']);
An object like this can then be used with the overloaded operators.
scalar = $a->all ($b, $swap)
o $b (scalar)
o $swap (scalar)
aref = $f->as_arrayref
Return the bits of $f as a reference to an array of strings, like ['flagbit1','flagbit2']. This is the overload function for "@{}", ie.
arrayizing $f. You can call it directly as a method too.
Note that @$f gives the bits as a list, but as_arrayref gives an arrayref. If an arrayref is what you want then the method style
somefunc()->as_arrayref can be more readable than [@{somefunc()}].
bool = $f->bool
Return 1 if any bits are set in $f, or 0 if none are set. This is the overload for $f in boolean context (like "if", etc). You can call
it as a method to get a true/false directly too.
integer = $a->eq ($b, $swap)
o $b (scalar)
o $swap (integer)
integer = $a->ge ($b, $swap)
o $b (scalar)
o $swap (integer)
scalar = $a->intersect ($b, $swap)
o $b (scalar)
o $swap (scalar)
integer = $a->ne ($b, $swap)
o $b (scalar)
o $swap (integer)
scalar = $a->sub ($b, $swap)
o $b (scalar)
o $swap (scalar)
scalar = $a->union ($b, $swap)
o $b (scalar)
o $swap (scalar)
scalar = $a->xor ($b, $swap)
o $b (scalar)
o $swap (scalar)
SEE ALSO
Glib
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Glib for a full notice.
perl v5.14.2 2012-05-24 Glib::Flags(3pm)