Variable scope & memory allocation.
Traditional wisdom normally says keep variables in the smalled scope you can (or atlest I think it does, feel free to correct me if I'm wrong from the offset).
However memory allocation on J2ME is going to be slow. So...
int noRects = readCard32();
int pixel = readCard8();
drawOnMe.draw( (pixel >>0 &7) * 36, (pixel >>3 &7) * 36,
(pixel >>6 &3) * 85, mx, my, w, h );
for( int r = 0; r<noRects; r++ ) {
pixel = readCard8();
int lx = readCard8();
int ly = readCard8();
int lw = readCard8();
int lh = readCard8();
drawOnMe.draw( (pixel >>0 &7) * 36, (pixel >>3 &7) * 36,
(pixel >>6 &3) * 85, mx + lx, my + ly,
lw, lh );
// or
int noRects = readCard32();
int pixel = readCard8();
drawOnMe.draw( (pixel >>0 &7) * 36, (pixel >>3 &7) * 36,
(pixel >>6 &3) * 85, mx, my, w, h );
int lx;
int ly;
int lw;
int lh;
for( int r = 0; r<noRects; r++ ) { /* ... */ }Mike
And as far as the difference - even though I'm not sure there is a performance increase, I'm sure that declaring them outside has no negative effects so I do it just in case.
Plus, I remember reading somewhere that Java had some optimized access support for the first 4 (I think it's 4, and I think it also include the parameters) locals declared in a function, some kind of "fast register" thingie - so in functions that have tight inner loops I always declare the most "accessed" variables right at the top of the function. I don't know how much this holds true for KVMs, but again, it can't hurt.
shmoove
Similar Messages
-
Templates and Dynamic Memory Allocation Templates
Hi , I was reading a detailed article about templates and I came across the following paragraph
template<class T, size_t N>
class Stack
T data[N]; // Fixed capacity is N
size_t count;
public:
void push(const T& t);
};"You must provide a compile-time constant value for the parameter N when you request an instance of this template, such as *Stack<int, 100> myFixedStack;*
Because the value of N is known at compile time, the underlying array (data) can be placed on the run time stack instead of on the free store.
This can improve runtime performance by avoiding the overhead associated with dynamic memory allocation.
Now in the above paragraph what does
"This can improve runtime performance by avoiding the overhead associated with dynamic memory allocation." mean ?? What does template over head mean ??
I am a bit puzzled and i would really appreciate it if some one could explain to me what this sentence means thanks...The run-time memory model of a C or C++ program consists of statically allocated data, automatically allocated data, and dynamically allocated data.
Data objects (e.g. variables) declared at namespace scope (which includes global scope) are statically allocated. Data objects local to a function that are declared static are also statically allocated. Static allocation means the storage for the data is available when the program is loaded, even before it begins to run. The data remains allocated until after the program exits.
Data objects local to a function that are not declared static are automatically allocated when the function starts to run. Example:
int foo() { int i; ... } Variable i does not exist until function foo begins to run, at which time space for it appears automatically. Each new invocation of foo gets its own location for i independent of other invocations of foo. Automatic allocation is usually referred to as stack allocation, since that is the usual implementation method: an area of storage that works like a stack, referenced by a dedicated machine register. Allocating the automatic data consists of adding (or subtracting) a value to the stack register. Popping the stack involves only subtracting (or adding) a value to the stack register. When the function exits, the stack is popped, releasing storage for all its automatic data.
Dynamically allocated storage is acquired by an explicit use of a new-expression, or a call to an allocation function like malloc(). Example:
int* ip = new int[100]; // allocate space for 100 integers
double* id = (double*)malloc(100*sizeof(double)); // allocate space for 100 doublesDynamic storage is not released until you release it explicitly via a delete-expression or a call to free(). Managing the "heap", the area from where dynamic storage is acquired, and to which it is released, can be quite time-consuming.
Your example of a Stack class (not to be confused with the program stack that is part of the C or C++ implementation) uses a fixed-size (that is, fixed at the point of template instance creation) automatically-allocated array to act as a stack data type. It has the advantage of taking zero time to allocate and release the space for the array. It has the disadvantages of any fixed-size array: it can waste space, or result in a program failure when you try to put N+1 objects into it, and it cannot be re-sized once created. -
Can't use memory allocated in C to write then read BitmapData in AS
Hi all,
I've been attempting to use Alchemy to allocate a chunk of memory in C, and then write a bitmap to the memory (via getPixels) which is I would then be able to modify using my super fast C image processing functions. I've been following the "Memory allocation in C with direct access in Actionscript (FAST!!)" section from here.
The problem is that when I allocate the memory in C, then try to display the image using setImage, all I see is a black box on the screen. The code below shows how I use getPixels to fill the C memory region with my bitmap data, then use setPixels to fill the BitmapData object which is displayed on the screen. Does anyone know what I'm doing wrong here? I've been really stuck on this
ActionScript variables, and event function which runs after my Bitmap is loaded
private var _dataPosition:uint;
private var displayedImage:Image;
private var bmp:Bitmap;
public function loaded(e:Event):void {
bmp = e.target.content as Bitmap;
// A setImage at the beggining of this function properly displays my image
displayedImage.setImage(bmp.bitmapData);
var loader:CLibInit = new CLibInit();
var lib:Object = loader.init();
var ns:Namespace = new Namespace("cmodule.alchemyrgr");
var byteArray:ByteArray = (ns::gstate).ds; //point to memory
var tmpByteArray:ByteArray = new ByteArray();
var imgSize:int = bmp.width * bmp.height * 4;
_dataPosition = lib.initByteArray(imgSize); //This is the position of the data in memory
var bounds:Rectangle = new Rectangle(0, 0, bmp.width, bmp.height);
tmpByteArray = bmp.bitmapData.getPixels(bounds);
byteArray.readBytes(tmpByteArray, 0, imgSize);
byteArray.position = _dataPosition;
bmp.bitmapData.setPixels(bounds, byteArray);
displayedImage.setImage(bmp.bitmapData);
//lib.clearByteArray(); //Free the bytearray
C memory allocation function
static AS3_Val initByteArray(void* self, AS3_Val args)
AS3_ArrayValue(args, "IntType", &bufferSize);
//Allocate buffer of size "bufferSize"
buffer = (unsigned char*)malloc(bufferSize*sizeof(char));
//return pointer to the location in memory
return AS3_Int((int)buffer);
Thanks in advance!
MarkHi Mark,
I too attempted to use a method similar to yours to no avail. I posted my solution for passing bytearray data to/from alchemy here:
http://forums.adobe.com/thread/773517?tstart=0
There is full flash code and C++ code so you should be able to answer all your questions just by reading my post. However, one thing I see about how you're passing your pointer back to flash is:
//return pointer to the location in memory
return AS3_Int((int)buffer);
I think should be:
//return pointer to the location in memory
return AS3_Ptr(buffer);
You shouldn't be casting your char array as an int and returning it, just use AS3_Ptr(buffer) and that will return the actual memory address as an int to flash. I'm not 100% sure but I think this could be an issue. I use this method also in my code you can find in the link above so you can see the full implementation there. Hope that helps. -
Memory Allocation in database ...
These are the parameters which i given to my database .Actualy my db version is 11.1.0 but compatible is 10.2.0...thats why i am using these parameters in my init.ora...
*.java_pool_size=110102400
*.large_pool_size=110102400
*.shared_pool_size=536870912
*.shared_pool_reserved_size=31457280
*.db_cache_size=512670912
*.streams_pool_size=0
*.log_buffer=32768
*.pga_aggregate_target=50M
*.sga_max_size=1695483648
But when i am connecting to database my total SGA
SQL> show sga (((11.1.6)))
Total System Global Area 1704132608 bytes
Fixed Size 2089304 bytes
Variable Size 1174412968 bytes
Database Buffers 520093696 bytes
Redo Buffers 7536640 bytes
Actually i created this database as per other db which was there in 8.1.6...
But when i am comparing with the 8i db my SGA which i given has too much different ...
SQL> show sga (((8.1.6 SGA)))
Total System Global Area 1718366368 bytes
Fixed Size 73888 bytes
Variable Size 406507520 bytes
Database Buffers 1310720000 bytes
Redo Buffers 1064960 bytes
Here i dont know there is too much difference in FIXED SIZE,VARIABLE SIZE, DATABASE BUFFERS and REDO BUFFERS...
COuld some one tell why its come that much differnece...My TOTAL RAM IS 2GB ...Please let me know how I can set my 11g db Memory .. like 8i database memory
Please give your valuable suggestions ..It helps a lot ..Pavan,
hi memory allocation should always depends on how many transactions hitting your database. it is not appropriate to set 1.5GB or less than that if your database is getting only 1-2 lakh tx's per day.
You have any reference doc to prove this point? On what basis one would assume his memory sizes when the transactions everyday are increasing in a database?
i remember 11g is having a wonderful parameter called MEMORY_TARGET. if possible please use that
I agree its a good parameter.Just an additional note for it It has a different algorithm to allocate the memory. You need to tweak your machine some times a bit to make this parameter work. The memory allocations of /dev/shm needs some time to be tweaked.
Aman.... -
I have set the SGA_MAX_SIZE to 1024M
Following is the Memory allocation at startup
SQL> startup nomount
Total System Global Area 1073741824 bytes
Fixed Size 1253124 bytes
Variable Size 1065353468 bytes
Database Buffers 4194304 bytes
Redo Buffers 2940928 bytes
I have 512M Physical Memory (RAM) and 1024M Virtual Memory.
Does this mean Oracle will reserve/block the complete 512M Physical Mem. + 512M from Virtual Memory at startup? will my Virtual Memory usage shootup to 512M or more?
DB & OS: Oracle 10.2.0.1 on Windows XP SP1In my case the entire SGA_MAX_SIZE is allocated at startup. Check the SGA, Shared pool size in my first post.
I just checked PRE_PAGE_SGA and it is set to FALSE
SQL> show parameter PRE_PAGE_SGA
NAME TYPE VALUE
pre_page_sga boolean FALSE
SQL> show parameter SGA_MAX_SIZE
NAME TYPE VALUE
sga_max_size big integer 1G
FYI
SQL> startup nomount
Total System Global Area 1073741824 bytes
Fixed Size 1253124 bytes
Variable Size 1065353468 bytes
Database Buffers 4194304 bytes
Redo Buffers 2940928 bytes -
Hi,
I am working with RTS on eclipse, I have written a simple program where i construct a LTMemory object and i print its memoryRemaining() method once before entering the scope and once after exiting the scope.(Inside the scope i allocated two Integer objects) The memory doesn't seem to be reclaimed. Furthermore i get the same number of bytes from the first call of the memoryRemaining() (16384) irrelative to the number i pass at the constructor of the LTMemory object.What is wrong with these cases?
ThanksHi,
gn_164 wrote:
I am working with RTS on eclipse, I have written a simple program where i construct a LTMemory object and i print its memoryRemaining() method once before entering the scope and once after exiting the scope.(Inside the scope i allocated two Integer objects) The memory doesn't seem to be reclaimed. This is a known bug with the memory counters. Logically the scope is reclaimed when the last thread leaves, but in practice actual reclaiming is deferred until the next thread enters. The memory counters should have been adjusted when the thread left, but they weren't. If you check the available memory each time you enter the scope you will see that the full amount is available each time.
Furthermore i get the same number of bytes from the first call of the memoryRemaining() (16384) irrelative to the number i pass at the constructor of the LTMemory object.The VM has a default minimum scope size of 16KB. You can change this by using the -XX:ScopedMemoryAllocGrain=n flag where n is the number of bytes: 512, 1K, 1M. Only use a power-of-2 because the actual size will be rounded down to the closest power of 2.
I see this flag is missing from our command-line options documentation.
David Holmes
>
Thanks -
Hello,
I have a beginner's question: I have a large number of variables I need to pass to a function. Will there be a difference in memory use if I pass them directly compared to if I bundle them to a cluster and pass the cluster to the function and unbundle it inside?
I tried to read online posts, and some say that cluster is like a struct... does it mean that bundling variables to cluster creates new memory locations for each variable, with overhead? My application refuses to run already ("Not enough memory") so if cluster creates new memory allocations, it's critical that I know it...
Any information is appreciated
MichalMNorbert B wrote:
Different tunnels are always different dataspaces, so an output tunnel is creates a copy in regard to the inputtunnel. A shiftregister can address this because the left and right node grant access to the same dataspace. Please note that most often, this does not take much effect, but when working with arrays, it is mandatory to work with shiftregisters.
Hi, Norbert, you're right (as usual).
The only small thing about Shift Registers (vs AutoIndex)... Let's say, we have pretty big array (nearby memory limit), which should be computed inside of loop.
Now we have two possibilities: a) using AutoIndex tunnel, or b) using "preallocated" array and Shift Register. Something like that:
The method b) with preallocated array is "more understandable" for me also from the "traditional programming" point of view. Continuous memory allocated (like with malloc), then Shift Register acts as pointer, and we performing elements replacement step by step.
The method a) theoretically should work slow, because new elementh added to the array at each iteration (which caused memory reallocation every time), but it seems to be that LabVIEW intelligent enough for memory allocation before looping, and not during looping. And AutoIndex is faster than Shift Register in this case.
But it looks completely other with while loops:
Now array cannot be preallocated with AutoIndex, because total amount of iterations is unknown, and this caused big performance penalties (at least at first run). So, here Shift Register is preferred. What is funny - at second run the Method a) will be faster than method b) (looks like internal LabVIEW cache), but when total amount of iterations will be changed, then it will be slow again.
And finally For Loop with Conditional Terminal vs While Loop:
The total amount of iterations is unknown in both cases, but For Loop still fast because memory preallocated before iterations (created Array will be "trimmed" if loop will be breaked with condition).
It means, that sometimes (but not always) AutoIndex is more preferred than ShiftRegister.
Andrey. -
Memory allocation when using multiple instances of a static array.
Hi,
I have question regarding the amount of memory allocated using multiple instances of a class that has declared a static array, e.g.:
package staticTest;
import javacard.framework.*;
public class StaticClass
static byte[] staticArray;
public StaticClass()
staticArray = new byte[100];
/* Another class */
package statictest;
import javacard.framework.*;
public class MyApplet extends javacard.framework.Applet
StaticClass staticLibA, staticLibB;
public MyApplet()
/* Here we use two instances */
staticLibA = new StaticClass();
staticLibB = new StaticClass();
public static void install(byte[] bArray, short bOffset, byte bLength)
(new MyApplet()).register(bArray, (short)(bOffset + 1), bArray[bOffset]);
public void process(APDU apdu)
byte[] buf = apdu.getBuffer();
switch(buf[ISO7816.OFFSET_INS])
}When downloading and installing this applet on a gemXpresso 211 PKis (that has a ' Get free EEPROM memory' function) the card reports that the amount of memory is increased by a approx 100 bytes every time a new staticLibX is added in the MyApplet constructor. Is this correct? If yes, can someone explain to me how to declare a static array that only allocates memory once and are being shared by the instances.
Best regards,
Jonas NHi!
I have another issue about static variable. The following is my sample code:
========================================
package com.Test01;
import javacard.framework.*;
import javacard.security.*;
import javacardx.crypto.Cipher;
public class Test01 extends Applet {
OwnerPIN Pin;
static DESKey[] keys;
protected Test01(byte[] buffer, short offset, byte length) {
keys = new DESKey[4];
length = 0;
while (length < 4) {
keys[length] = (DESKey)KeyBuilder.buildKey((byte)3, (short)0x80, false);
length = (byte)(length + 1);
public static void install(byte buffer[], short offset, byte length) {
new Test01(buffer, offset, length);
===========================================================
If there are two instances, A and B, created in the package.
My issue:
1. Are keys[0]~ keys [3] kept while B is deleted?
2. Does each instance have itsown object while "keys[length] = (DESKey)KeyBuilder.buildKey((byte)3, (short)0x80, false);"?
3. follow item 2, if A and B share the same object, is the object kept while B is deleted?
Thank you
Best regards,
kantie -
There must be threads about this, but apologies for my inability to find any.
As the title says: I plug my iPhone or iPad into my iMac, and when I look at the memory allocation as displayed in iTunes, 6GB or whatever are free. Then I sync again, and suddenly 8GB are free. Sync again, and now 2GB are free - even though nothing has changed. I get this with both iOS devices.
Additionally, often what iTunes shows has no relationship to what the device says when I go into Settings: last week iTunes believed there were 0GB in Photos - because after all I had erased them! - but the iPad recorded 25GB, somehow.
Is this a known issue, or is something screwy with my system?
Thanks in advance!Thanks, but that's not really the issue. I do manage it manually - I've got a lot of smart lists, smart photo albums, and so on, all set up to sync with the iOS devices.
The problem is that the iPhone/iPad memory, as displayed in iTunes when the device is plugged in, seems to be very inaccurate and variable. When I plug the iPhone or iPad in, iTunes tells me (for example) that, with current settings, 5GB will be free. It syncs, and then suddenly 2GB are free. I sync again - changing nothing, so there should be no change in memory allocation - and suddenly 6GB are free. Somehow, despite syncing no books at all, there's a bizarre 60MB "Book" that iTunes tells me is sometimes on the iPhone, and sometimes not. That little stretch of purple just suddenly appears some days.
At times it tells me it's too full and can't sync at all. So I wipe, for example, 6GB off the "too full" iOS device, and after doing that suddenly 10GB are free, so I put the 6GB back on no problem. And after I add that 6GB back on, maybe there are 8GB free, or maybe 2GB, or maybe 4GB. In my world, 10GB-6GB=4GB, but iTunes is using quantum arithmetic or something.
Wiping a lot of photos off was great fun. I had iTunes unsync and remove all photos - so, in that line at the bottom, all the photo memory allocation disappeared. Cool. Mission accomplished. Then I clicked to another tab in iTunes, and suddenly the photo memory jumped back up to 15GB. Looked back in the Photos tab - nope, I'd told it to sync no photos at all. Checked the iPhone itself: oh, neat. 25GB of photos, despite not syncing any. Eventually, after repeating the process several times, all the photos were eventually gone, but the whole process was bizarrely complicated.
Basically, when I plug the iPhone or iPad into iTunes, iTunes seems to have no idea what the memory allocation actually is - which occasionally makes syncing complicated.
It's not a giant issue, but it's quite annoying - and I'm wondering if this is just me, or if this is a common issue. I think this issue may also be discussed in some of the "can't delete songs" or "can't delete photos" threads, but some of those threads are so long and cover so many different problems that they're kind of hard to read. -
Javascript discussion: Variable scopes and functions
Hi,
I'm wondering how people proceed regarding variable scope, and calling
functions and things. For instance, it's finally sunk in that almost
always a variable should be declared with var to keep it local.
But along similar lines, how should one deal with functions? That is,
should every function be completely self contained -- i.e. must any
variables outside the scope of the function be passed to the function,
and the function may not alter any variables but those that are local to
it? Or is that not necessary to be so strict?
Functions also seem to be limited in that they can only return a single
variable. But what if I want to create a function that alters a bunch of
variables?
So I guess that's two questions:
(1) Should all functions be self-contained?
(2) What if the function needs to return a whole bunch of variables?
Thanks,
ArielAriel:
(Incidentally, I couldn't find any way of marking answers correct when I visited the web forums a few days ago, so I gave up.)
It's there...as long as you're logged in at least, and are the poster of the thread.
What I want is to write code that I can easily come back to a few months later
and make changes/add features -- so it's only me that sees the code, but
after long intervals it can almost be as though someone else has written
it! So I was wondering if I would be doing myself a favour by being more
strict about make functions independent etc. Also, I was noticing that
in the sample scripts that accompany InDesign (written by Olav Kvern?)
the functions seem always to require all variables to be passed to it.
Where it is not impractical to do so, you should make functions independent and reusable. But there are plenty of cases where it is impractical, or at least very annoying to do so.
The sample scripts for InDesign are written to be in parallel between three different languages, and have a certain lowest-common-denominator effect. They also make use of some practices I would consider Not Very Good. I would not recommend them as an example for how to learn to write a large Javascript project.
I'm not 100% sure what you mean by persistent session. Most of my
scripts are run once and then quit. However, some do create a modeless
dialog (ie where you can interface with the UI while running it), which
is the only time I need to use #targetengine.
Any script that specifies a #targetengine other than "main" is in a persistent session. It means that variables (and functions) will persist from script invokation to invokation. If you have two scripts that run in #targetengine session, for instance, because of their user interfaces, they can have conficting global variables. (Some people will suggest you should give each script its own #targetengine. I am not convinced this is a good idea, but my reasons against it are mostly speculation about performance and memory issues, which are things I will later tell you to not worry about.)
But I think you've answered one of my questions when you say that the
thing to avoid is the "v1" scope. Although I don't really see what the
problem is in the context of InDesign scripting (unless someone else is
going to using your script as function in one of theirs). Probably in
Web design it's more of an issue, because a web page could be running
several scripts at the same time?
It's more of an issue in web browsers, certainly (which I have ~no experience writing complex Javascript for, by the way), but it matters in ID, too. See above. It also complicates code reuse across projects.
Regarding functions altering variables: for example, I have a catalog
script. myMasterPage is a variable that keeps track of which masterpage
is being used. A function addPage() will add a page, but will need to
update myMasterPage because many other functions in the script refer to
that. However, addPage() also needs to update the total page count
variable, the database-line-number-index-variable and several others,
which are all used in most other functions. It seems laborious and
unnecessary to pass them all to each function, then have the function
alter them and return an array that would then need to be deciphered and
applied back to the main variables. So in such a case I let the function
alter these "global" (though not v1) variables. You're saying that's okay.
Yes, that is OK. It's not a good idea to call that scope "global," though, since you'll promote confusion. You could call it...outer function scope, maybe? Not sure; that assumes addPage() is nested within some other function whose scope is containing myMasterPage.
It is definitely true that you should not individually pass them to the function and return them as an array and reassign them to the outer function's variables.
I think it is OK for addPage() to change them, yes.
Another approach would be something like:
(function() {
var MPstate = {
totalPages: 0,
dbline: -1
function addPage(state) {
state.totalPages++;
state.dbline=0;
return state;
MPstate = addPage(MPstate);
I don't think this is a particularly good approach, though. It is clunky and also doesn't permit an easy way for addPage() to return success or failure.
Of course it could instead do something like:
return { success: true, state: state };
var returnVal = addPage(MPstate);
if (returnVal.success) { MPstate = returnVal.state; }
but that's not very comforting either. Letting addPage() access it's parent functions variables works much much better, as you surmised.
However, the down-side is that intuitively I feel this makes the script
more "messy" -- less legible and professional. (On the other hand, I
recall reading that passing a lot of variables to functions comes with a
performance penalty.)
I think that as long as you sufficiently clearly comment your code it is fine.
Remember this sort of thing is part-and-parcel for a language that has classes and method functions inside those classes (e.g. Java, Python, ActionScript3, C++, etc.). It's totally reasonable for a class to define a bunch of variables that are scoped to that class and then implement a bunch of methods to modify those class variables. You should not sweat it.
Passing lots of variables to functions does not incur any meaningful performance penalty at the level you should be worrying about. Premature optimization is almost always a bad idea. On the other hand, you should avoid doing so for a different reason -- it is hard to read and confusing to remember when the number of arguments to something is more than three or so. For instance, compare:
addPage("iv", 3, "The rain in spain", 4, loremIpsumText);
addPage({ name: "iv", insertAfter: 3, headingText: "The rain in spain",
numberColumns: 4, bodyText: loremIpsumText});
The latter is more verbose, but immensely more readable. And the order of parameters no longer matters.
You should, in general, use Objects in this way when the number of parameters exceeds about three.
I knew a function could return an array. I'll have to read up on it
returing an object. (I mean, I guess I intuitively knew that too -- I'm
sure I've had functions return textFrames or what-have-you),
Remember that in Javascript, when we say Object we mean something like an associative array or dictionary in other languages. An arbitrary set of name/value pairs. This is confusing because it also means other kinds of objects, like DOM objects (textFrames, etc.), which are technically Javascript Objects too, because everything inherits from Object.prototype. But...that's not what I mean.
So yes, read up on Objects. They are incredibly handy. -
Hi..
I have doubt in object memory allocation. for example see the following code,
String str = new String(JAVA PROGRAMMING);
1) int index = str.toLowerCase( ).indexOf("ram", 0);
2) String temp = str.toLowerCase( );
int index = temp.indexOf("ram", 0);
Ques:
from the above two form of coding which one is advicible and gives good performance.
what will happen when i execute str.toLowerCase( ).indexOf("ram", 0);, i mean wthether i will do the lowercase conversion in same memory location or create temporary memory area.It means that the memory of a String is never reused to
hold for example a substring. The substring will
always be allocated in new memory. �Are you sure?
* Initializes a newly created <code>String</code> object so that it
* represents the same sequence of characters as the argument; in other
* words, the newly created string is a copy of the argument string. Unless
* an explicit copy of <code>original</code> is needed, use of this
* constructor is unnecessary since Strings are immutable.
* @param original a <code>String</code>.
public String(String original) {
this.count = original.count;
if (original.value.length > this.count) {
// The array representing the String is bigger than the new
// String itself. Perhaps this constructor is being called
// in order to trim the baggage, so make a copy of the array.
this.value = new char[this.count];
System.arraycopy(original.value, original.offset,
this.value, 0, this.count);
} else {
// The array representing the String is the same
// size as the String, so no point in making a copy.
this.value = original.value;
} -
Variable size memory is not matching....
Hello, Here is my oracle version..
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Prod
PL/SQL Release 10.1.0.2.0 - Production
CORE 10.1.0.2.0 Production
TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
NLSRTL Version 10.1.0.2.0 - Production
My variable size memory should be exactly same as Java pool, large pool, shared pool.
scott@orcl> show sga
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145488364 bytes
Database Buffers 25165824 bytes
Redo Buffers 524288 bytes
scott@orcl> select
2 sum(bytes)
3 from
4 v$sgastat
5 where
6 pool in ('shared pool', 'java pool', 'large pool');
SUM(BYTES)
143369796
The stream pool size should be part of SGA. But it is not showing in v$sgastat view....
In oracle9i, variable size was matching with the above query. Now it is not matching..
Am i missing any thing in my above query? Any help is highly appreicated...still it is not matching... variable size is 145488364 bytes... but the below is showing 142606336.
scott@orcl> show sga
Total System Global Area 171966464 bytes
Fixed Size 787988 bytes
Variable Size 145488364 bytes
Database Buffers 25165824 bytes
Redo Buffers 524288 bytes
scott@orcl> select sum(bytes) from v$sgainfo where name in('Streams Pool Size',
2 'Java Pool Size','Large Pool Size','Shared Pool Size');
SUM(BYTES)
142606336
scott@orcl>
scott@orcl> select * from v$sgainfo;
NAME BYTES RES
Fixed SGA Size 787988 No
Redo Buffers 524288 No
Buffer Cache Size 25165824 Yes
Shared Pool Size 83886080 Yes
Large Pool Size 8388608 Yes
Java Pool Size 50331648 Yes
Streams Pool Size 0 Yes
Granule Size 4194304 No
Maximum SGA Size 171966464 No
Startup overhead in Shared Pool 29360128 No
Free SGA Memory Available 0
11 rows selected.
scott@orcl> -
Script logic - how to use a selection variable within an allocation logic
Hi,
I want to implement a simple top-down distribution to distribute values from a yearly budget (Y20xx.TOTAL) to a quarter budget (Q20xx.Q1, ... Q20xx.Q4) using the actuals of the previous year as reference.
If we hard code the members it works fine:
*RUNALLOCATION
*FACTOR=USING/TOTAL
*DIM ACCOUNT WHAT=ACC_NOT_ASSIGNED; WHERE=BAS(FIN); USING=<<<; TOTAL=<<<
*DIM TIME WHAT=Y2009.TOTAL; WHERE=BAS(Q2009.TOTAL); USING=BAS(Q2008.TOTAL); TOTAL=<<<
*DIM CATEGORY WHAT=SBO; WHERE=<<<; USING=ACTUAL; TOTAL=<<<
*ENDALLOCATION
Of course, we want to make this dynamic, using the values inputted in the selection screen of the package: time, entity and category.
So if we start with write the following logic, it does not work anymore:
*RUNALLOCATION
*FACTOR=USING/TOTAL
*DIM ACCOUNT WHAT=ACC_NOT_ASSIGNED; WHERE=BAS(FIN); USING=<<<; TOTAL=<<<
*DIM TIME WHAT=%TIME_DIM%; WHERE=BAS(Q2009.TOTAL); USING=BAS(Q2008.TOTAL); TOTAL=<<<
*DIM CATEGORY WHAT=%CATEGORY_DIM%; WHERE=<<<; USING=ACTUAL; TOTAL=<<<
*ENDALLOCATION
So, how to use the selection variables in this allocation logic? %TIME%, %CATEGORY% also did not work ...
regards
Dries
solved it ...
Edited by: Dries Paesmans on Feb 22, 2009 8:31 PMHi Dries,
Looks like you solved this, but if I can just add a small point -- when you use syntax like this:
*DIM ACCOUNT WHAT=ACC_NOT_ASSIGNED; WHERE=BAS(FIN);
*DIM TIME WHAT=Y2009.TOTAL; WHERE=BAS(Q2009.TOTAL);
each time the logic runs, it will scan through the dimension from the FIN and Q2009.TOTAL members, one level at a time, until it reaches the base members (where calc = 'n'). This may happen very quickly, if the dimension has very few levels, but could take a bit of extra time if it's a particularly deep dimension. (By which I mean many levels of hierarchy -- not some 1970's Pink Floyd musical reference.)
You may speed things up by using a member property instead of the BAS(xyz). Flag all the base members using a specific property value, and that way the logic engine can pick up the complete list of members in the WHERE clause, in a single query.
*DIM Account What=ACC_NOT_ASSIGNED; Where=[FloydProperty]="DarkSideOfTheMoon"; ...
This adds some maitenance work in the dimension, which may be problematic if your admins are changing it regularly (and will cause problems if they forget to update this particular property).
I can't predict how much time this will save you (maybe not much at all), but anyway I figure you'd want to know exactly what work you're asking the system to perform.
Regards,
Tim -
Cache Memory Allocator \ Short Term Memory Allocator Issues
Hi all
I have a number of identically configured (High School) Servers which are giving me the same memory errors (some more frequently than others) and I've run out of ideas.
They are all HP Proliant DL360 G6 Servers, NetWare 6.5 sp8 with eDir 8.8 sp5.
The error messages are :
"Cache memory allocator out of available memory." followed by "Short term memory allocator is out of memory. xxx attempts to get more memory failed. request size in bytes xxxxxxxx from Module SWEEP.NLM"
The module referred to is always "SWEEP.NLM" (Sophos Anti-virus). A Server reset solves the problem but it is normally back within a month.
I've posted below a config.txt and segstats.txt from one of the servers.
I would be grateful if someone could help me with this as it's now becoming a 'headache'.
Cheers
Neil Hughes
*** Memory Pool Configuration for : KLDSRV1
Time and date : 10:34:44 AM 01/18/2012
Server version : NetWare 6.5 Support Pack 8
Server uptime : 32d 20h 00m 00s
SEG.NLM version : v1.72
0xFFFFFFFF --------------------------------------------------------------
| Kernel Reserved Space |
| |
| Size : 180,355,071 bytes (172.0 MB) |
| |
0xF5400000 --------------------------------------------------------------
| User Address Space (L!=P) |
| |
| User Pool Size : 884,998,144 bytes (844.0 MB) |
| High Water Mark : 2,936,012,800 bytes (2.73 GB) |
| |
0xC0800000 --------------------------------------------------------------
| Virtual Memory Cache Pool (L!=P) |
| |
| VM Pool Size : 1,082,130,432 bytes (1.01 GB) |
| Available : 1,049,260,032 bytes (1000.7 MB) |
| Total VM Pages : 1,047,080,960 bytes (998.6 MB) |
| Free Clean VM : 1,025,097,728 bytes (977.6 MB) |
| Free Cache VM : 21,983,232 bytes (21.0 MB) |
| Total LP Pages : 0 bytes (0 KB) |
| Free Clean LP : 0 bytes (0 KB) |
| Free Cache LP : 0 bytes (0 KB) |
| Free Dirty : 0 bytes (0 KB) |
| VM Pages In Use : 2,179,072 bytes (2.1 MB) |
| NLM Memory In Use : 1,066,545,152 bytes (1017.1 MB) |
| NLM/VM Memory : 1,050,394,624 bytes (1001.7 MB) |
| Largest Segment : 16,240,640 bytes (15.5 MB) |
| High Water Mark : 1,535,295,488 bytes (1.43 GB) |
| |
0x80000000 --------------------------------------------------------------
| File System Cache Pool (L==P or L!=P) |
| |
| FS Pool Size : 2,141,048,832 bytes (1.99 GB) |
| Available : 252,231,680 bytes (240.5 MB) |
| Largest Segment : 10,547,200 bytes (10.1 MB) |
| |
| NSS Memory (85%) : 1,043,554,304 bytes (995.2 MB) |
| NSS (avail cache) : 958,324,736 bytes (913.9 MB) |
| |
0x00623000 --------------------------------------------------------------
| DOS / SERVER.NLM |
| |
| Size : 6,434,816 bytes (6.1 MB) |
| |
0x00000000 --------------------------------------------------------------
Top 6 Memory Consuming NLMs
NLM Name Version Date Total NLM Memory
================================================== ==============================
1. DS.NLM 20219.15 12 May 2009 242,957,527 bytes (231.7 MB)
2. NSS.NLM 3.27.03 7 Jun 2010 225,471,568 bytes (215.0 MB)
3. SERVER.NLM 5.70.08 3 Oct 2008 197,615,392 bytes (188.5 MB)
4. SWEEP.NLM 4.73 1 Dec 2011 104,793,570 bytes (99.9 MB)
5. DBSRV6.NLM 6.00.04 16 May 2001 38,735,938 bytes (36.9 MB)
6. XMGR.NLM 27610.01.01 30 Mar 2009 32,184,593 bytes (30.7 MB)
Logical Memory Summary Information
================================================== ==============================
File System Cache Information
FS Cache Free : 63,897,600 bytes (60.9 MB)
FS Cache Fragmented : 188,334,080 bytes (179.6 MB)
FS Cache Largest Segment : 10,547,200 bytes (10.1 MB)
Logical System Cache Information
LS Cache Free : 138,153,984 bytes (131.8 MB)
LS Cache Fragmented : 364,015,616 bytes (347.2 MB)
LS Cache Uninitialized : 333,455,360 bytes (318.0 MB)
LS Cache Largest Segment : 16,240,640 bytes (15.5 MB)
LS Cache Largest Position : 34490000
Summary Statistics
Total Free : 202,051,584 bytes (192.7 MB)
Total Fragmented : 552,349,696 bytes (526.8 MB)
Highest Physical Address : DF62E000
User Space : 1,065,353,216 bytes (1016.0 MB)
User Space (High Water Mark) : 2,936,012,800 bytes (2.73 GB)
NLM Memory (High Water Mark) : 1,535,295,488 bytes (1.43 GB)
Kernel Address Space In Use : 2,475,212,800 bytes (2.31 GB)
Available Kernel Address Space : 754,401,280 bytes (719.5 MB)
Memory Summary Screen (.ms)
================================================== ==============================
KNOWN MEMORY Bytes Pages Bytes Pages
Server: 3747295616 914867 Video: 8192 2
Dos: 111232 27 Other: 131072 32
FS CACHE KERNEL NLM MEMORY
Original: 3743006720 913820 Code: 48136192 11752
Current: 252231680 61580 Data: 28098560 6860
Dirty: 0 0 Sh Code: 40960 10
Largest seg: 10547200 2575 Sh Data: 20480 5
Non-Movable: 0 0 Help: 172032 42
Other: 1890455552 461537 Message: 1249280 305
Avail NSS: 958328832 233967 Alloc L!=P: 957685760 233810
Movable: 8192 2 Alloc L==P: 14991360 3660
Total: 1050394624 256444
VM SYSTEM
Free clean VM: 1025097728 250268
Free clean LP: 0 0
Free cache VM: 21983232 5367
Free cache LP: 0 0
Free dirty: 0 0
In use: 2179072 532
Total: 1049260032 256167
Memory Configuration (set parameters)
================================================== ==============================
Auto Tune Server Memory = OFF
File Cache Maximum Size = 2147483648
File Service Memory Optimization = 1
Logical Space Compression = 1
Garbage Collection Interval = 299.9 seconds
VM Garbage Collector Period = 300.0 seconds
server -u<number> = 884998144
NSS Configuration File:
C:\NWSERVER\NSSSTART.CFG
/AllocAheadBlks=0
/MinBufferCacheSize=20000
/MinOSBufferCacheSize=20000
/CacheBalanceMaxBuffersPerSession=20000
/NameCacheSize=200000
/AuthCacheSize=20000
/NumWorkToDos=100
/FileFlushTimer=10
/BufferFlushTimer=10
/ClosedFileCacheSize=100000
/CacheBalance=85
DS Configuration File:
SYS:\_NETWARE\_NDSDB.INI
preallocatecache=true
cache=200000000
Server High/Low Water Mark Values
================================================== ==============================
NLM Memory High Water Mark = 1,535,295,488 bytes
File System High Water Mark = 435,727 bytes
User Space Information:
User Space High Water Mark = 683,339,776 bytes
Committed Pages High Water Mark = 91 pages
Mapped VM Pages High Water Mark = 5,870 pages
Reserved Pages High Water Mark = 692,325 pages
Swapped Pages High Water Mark = 5,710 pages
Available Low Water Mark = 882,774,016
ESM Memory High Water Mark = 949 pages
Novell File Server Configuration Report For Server: KLDSRV1
Novell File Server Configuration Report Created: Wed, Jan 18, 2012 11:15 am
Novell File Server Configuration Report. [Produced by CONFIG.NLM v3.10.17]
Novell NetWare 5.70.08 October 3, 2008
(C) Copyright 1983-2008 Novell Inc. All Rights Reserved.
Server name...............: KLDSRV1
OS Version................: v5.70
OS revision number........: 8
Product Version...........: v6.50
Product Revision Number...: 8
Server Up Time(D:H:M:Sec).: 32:20:51:12
Serial number.............: XXXXXXXX
Internal Net. Addr........: 00000000h
Security Restriction Level: 1
SFT Level.................: 2
Engine Type...............: NATIVE
TTS Level.................: 1
Total Server memory.......: 3573.81 MB or 3747406848 Bytes
Processor speed rating....: 197582
Original cache buffers....: 913820
Current Cache Buffers.....: 292534
LRU Sitting Time(D:H:M:S).: 32:20:51:12
Current FSP's.............: 12
Current MP FSP's..........: 378
Current Receive Buffers...: 3000
Directory cache buffers...: 0
Workstations Connected....: 1136
Max Workstations Connected: 1528
Server language...........: ENGLISH (4)
Timesync active...........: Yes
Time is synchronized......: Yes
Total Processors..........: 4
Server DOS Country ID.....: 44
Server DOS Code Page......: 850
Boot Loader...............: DOS
Top of Modules List 312 Modules Loaded.
ACPIASL.NLM v1.05.16 Jan. 16, 2007 ACPI Architecture Services Layer for ACPI compliant systems
ACPICA.NLM v1.05.16 Jan. 16, 2007 ACPI Component Architecture for ACPI compliant systems
ACPICMGR.NLM v1.05.16 Jan. 16, 2007 ACPI Component Manager for ACPI compliant systems
ACPIDRV.PSM v1.05.19 Jan. 16, 2007 ACPI Platform Support Module for ACPI compliant systems
ACPIPWR.NLM v1.05.16 Jan. 16, 2007 ACPI Power Management Driver for ACPI compliant systems
AFREECON.NLM v5.00 Jul. 22, 2005 AdRem Free Remote Console (NCPE)
APACHE2.NLM v2.00.63 Apr. 25, 2008 Apache Web Server 2.0.63
APRLIB.NLM v0.09.17 Apr. 25, 2008 Apache Portability Runtime Library 0.9.17
AUTHLDAP.NLM v2.00.63 Apr. 25, 2008 Apache 2.0.63 LDAP Authentication Module
AUTHLDDN.NLM v1.00 Nov. 9, 2005 LdapDN Module
BROKER.NLM v3.00.12 Feb. 20, 2008 NDPS Broker
BSDSOCK.NLM v6.82.02 Dec. 23, 2009 Novell BSDSOCK Module
BTCPCOM.NLM v7.90 Jul. 9, 2003 BTCPCOM.NLM v7.90.000, Build 253
BTRIEVE.NLM v7.90 Mar. 21, 2001 BTRIEVE.NLM v7.90.000
CALNLM32.NLM v6.01.03 Aug. 26, 2008 NetWare NWCalls Runtime Library
CCS.NLM v27610.01.01 Mar. 30, 2009 Controlled Cryptography Services from Novell, Inc.
CDBE.NLM v6.01 Sep. 21, 2006 NetWare Configuration DB Engine
CDDVD.NSS v3.27.03 Jun. 7, 2010 NSS Loadable Storage System (LSS) for CD/UDF (Build 212 MP)
CERTLCM.NLM v28200902.26 Feb. 26, 2009 Novell SASL EXTERNAL Proxy LCM 2.8.2.0 20090226
CERTLSM.NLM v28200902.26 Feb. 26, 2009 Novell SASL EXTERNAL LSM 2.8.2.0 20090226
CHARSET.NLM v1.01 Jun. 4, 2003 Display Character Set Support For NetWare
CIOS.NLM v1.60 Feb. 12, 2008 Consolidated IO System
CLBACKUP.NLM v8.00 Sep. 22, 2010 NetWare Client Backup
CLBROWSE.NLM v8.00 Dec. 3, 2008 NetWare Client Browse
CLIB.NLM v5.90.15 Mar. 10, 2008 (Legacy) Standard C Runtime Library for NLMs
CLNNLM32.NLM v6.01.03 Aug. 26, 2008 NetWare NWClient Runtime Library
CLRESTOR.NLM v8.00 Mar. 31, 2009 NetWare Client Restore
CLXNLM32.NLM v6.01.03 Aug. 26, 2008 NetWare NWCLX Runtime Library
COMN.NSS v3.27.03 Jun. 7, 2010 NSS Common Support Layer (COMN) (Build 212 MP)
CONFIG.NLM v3.10.17 Feb. 12, 2008 NetWare Server Configuration Reader
CONLOG.NLM v3.01.02 Aug. 8, 2006 System Console Logger
CONNAUD.NLM v3.17 May. 10, 2005 NLS - Connection Metering
CONNMGR.NLM v5.60.01 Sep. 7, 2006 NetWare Connection Manager NLM
CPQBSSA.NLM v8.20 Jan. 29, 2009 HP Insight Management Base System Agent
CPQCI.NLM v1.06 Oct. 17, 2005 hp ProLiant iLO Management Interface Driver
CPQDASA.NLM v8.20.01 Feb. 24, 2009 HP Management Array Subsystem Agent
CPQHMMO.NLM v3.92 Jun. 10, 2003 Compaq HMMO Services Provider for NetWare
CPQHOST.NLM v8.20 Jan. 29, 2009 HP Insight Management Host Agent
CPQHTHSA.NLM v8.20 Jan. 29, 2009 HP Insight Management Health Agent
CPQNCSA.NLM v8.20 Dec. 11, 2008 HP Insight NIC Agent
CPQRISA.NLM v8.20 Jan. 29, 2009 HP Insight Management Remote Insight Agent
CPQSSSA.NLM v8.20.01 Feb. 24, 2009 HP Management Storage Box Subsystem Agent
CPQTHRSA.NLM v8.20 Jan. 29, 2009 HP Insight Management Threshold Agent
CPQWEBAG.NLM v8.20 Jan. 29, 2009 HP Web Based Management Agent
CPUCHECK.NLM v5.60.01 Dec. 6, 2007 NetWare Processor Checking Utility
CRLSM.NLM v2.08.01 Oct. 28, 2008 Challenge Response LSM v2.8.1.0
CSL.NLM v2.06.02 Jan. 13, 2000 NetWare Call Support Layer For NetWare
CSLIND.NLM v4.21 Dec. 7, 1999 TCPIP CSL INDEPENDENCE MODULE 7Dec99 7Dec99
CVAPPMGR.NLM v8.00 Nov. 22, 2010 AppManager
CVARCH.NLM v8.00 Nov. 10, 2010 Archive Library
CVD.NLM v8.00 Apr. 13, 2011 Communications Service
CVJOBCL.NLM v8.00 Nov. 10, 2010 Job Client
CVLIB.NLM v8.00 Apr. 13, 2011 Library for NetWare
CVLZOLIB.NLM v8.00 Dec. 3, 2008 LZO Compression Library
CVNETCHK.NLM v8.00 Dec. 3, 2008 Network Check
CVSIM.NLM v8.00 Dec. 3, 2008 Software Installation Manager
CVSMS.NLM v8.00 Sep. 28, 2009 NetWare SMS Interface
DBEXTF6.NLM v6.00.04 Sep. 12, 2000 Sybase Adaptive Server Anywhere External Library
DBNET6.NLM v1.45.02 Mar. 16, 2006 Debug Network IO Support
DBSRV6.NLM v6.00.04 May. 16, 2001 Sybase Adaptive Server Anywhere
DFSLIB.NLM v3.27.03 Jun. 7, 2010 DFS Common Library (Build 212 MP)
DHOST.NLM v10010.97 Sep. 18, 2006 Novell DHost Portability Interface 1.0.0 SMP
DIAG500.NLM v3.04.03 Oct. 31, 2007 Diagnostic/coredump utility for NetWare 6.x
DM.NLM v3.01.60 May. 21, 2008 Novell XTier Directory Manager
DMNDAP.NLM v3.01.60 May. 21, 2008 Novell XTier Directory Manager NDAP Provider
DPLSV386.NLM v1.15.03 Apr. 16, 2010 NetWare 6.x Distributed Print Library - DPLSV386
DPRPCNLM.NLM v3.00.17 Oct. 10, 2006 Novell NDPS RPC Library NLM
DS.NLM v20219.15 May. 12, 2009 Novell eDirectory Version 8.8 SP5 SMP
DSAPI.NLM v6.00.04 Jan. 27, 2006 NetWare NWNet Runtime Library
DSEVENT.NLM v6.01.03 Aug. 26, 2008 NetWare DSEvent Runtime Library
DSLOADER.NLM v20219.15 May. 12, 2009 Novell eDirectory Version 8.8.0 Loader SMP
DSLOG.NLM v20219.15 May. 12, 2009 DS Log for Novell eDirectory 8.8.0
DTS.NLM v3.01.05 Sep. 8, 2008 Transaction Server 3.1.0 - Netware
EHCIDRV.CAD v1.05 Feb. 26, 2008 Novell Universal Serial Bus EHCI driver
EPWDLSM.NLM v27000508.12 Aug. 12, 2005 Novell Enhanced Password LSM 2.7.0.0 20050812
ETADVLSM.NLM v27000508.03 Aug. 3, 2005 Novell Entrust LSM 2.7.0.0 20050803
ETHERTSM.NLM v3.90 Mar. 20, 2006 Novell Ethernet Topology Specific Module
EVENTMGR.NLM v3.01.60 May. 21, 2008 Novell XTier Event Manager
EVMGRC.NLM v8.00 Dec. 3, 2008 Event Manager Client
EXPIRES.NLM v2.00.63 Apr. 25, 2008 Apache 2.0.63 Expires Module
FATFS.NLM v1.24 Aug. 27, 2007 FAT Filesystem Module for NetWare
FILESYS.NLM v5.14 Apr. 16, 2008 NetWare File System NLM
FSBRWSE.NLM v8.00 Dec. 3, 2008 NetWare File System Browser
GALAXY.NLM v8.00 Dec. 3, 2008 Loader
GAMS.NLM v2.00.01 Sep. 2, 2008 Graded Authentication Management Service
HBNNSP.NLM v3.01.60 May. 21, 2008 Novell XTier GetHostByName Name Service Provider
HEADERS.NLM v2.00.63 Apr. 25, 2008 Apache 2.0.63 Headers Module
HOSTMIB.NLM v5.03.01 Dec. 1, 2006 NetWare 5.x/6.x Host Resources MIB
HPASMXL.NLM v1.14 Jan. 25, 2009 HP ProLiant Embedded Health Driver
HPQCISS.HAM v1.16.01 Mar. 3, 2009 HP SAS/SATA Unified RAID driver
HTTPSTK.NLM v4.03 Sep. 4, 2008 Novell Small Http Interface
HWDETECT.NLM v1.19.05 Feb. 20, 2003 Novell Hardware Insertion/Removal Detection
IDEATA.HAM v4.34 May. 5, 2007 Novell IDE/ATA/ATAPI/SATA Host Adapter Module
IFACE.NLM v7.05.04 Dec. 1, 2011 SAV Interface for NetWare
IFOLDER.NLM v2.04 Feb. 19, 2007 ifolder
IFOLDERU.NLM v2.04 Feb. 19, 2007 ifolderu
IMGSERV.NLM v7.00 Jan. 12, 2009 ZENworks Imaging Server
IPCTL.NLM v3.01.60 May. 21, 2008 Novell XTier Transport Layer
IPMCFG.NLM v1.01.16 Oct. 22, 2005 Web Interface for IP Address Management
IPMGMT.NLM v1.03.01 May. 29, 2007 TCPIP - NetWare IP Address Management
IPPSRVR.NLM v4.02.02 Jun. 16, 2010 Novell iPrint Server
JAVA.NLM v1.43 Oct. 16, 2008 java.nlm (based on 1.4.2_18) Build 08101613
JNCPV2.NLM v1.10 Nov. 13, 2003 Native Wrapper Java Class Libraries for NetWare
JNET.NLM v1.43 Oct. 16, 2008 Java jnet (based on 1.4.2_18)
JSMSG.NLM v3.27.03 Jun. 7, 2010 Jetstream Message Layer (Build 212 MP)
JSOCK.NLM v1.43 Oct. 16, 2008 Support For Java Sockets (loader)
JSOCK6X.NLM v1.43 Oct. 16, 2008 NetWare 6.x Support For Java Sockets (JDK 1.4.2)
JSTCP.NLM v3.27.03 Jun. 7, 2010 Jetstream TCP Transport Layer (Build 212 MP)
JVM.NLM v1.43 Oct. 16, 2008 Java Hotspot 1.4.2_18 Interpreter
JVMLIB.NLM v1.43 Oct. 16, 2008 Java jvmlib (based on 1.4.2_18)
KEYB.NLM v2.10 Jul. 26, 2001 NetWare National Keyboard Support
LANGMANI.NLM v10212.02 Mar. 10, 2009 Novell Cross-Platform Language Manager
LBURP.NLM v20216.02 Mar. 10, 2009 LDAP Bulkload Update/Replication Protocol service extension for Novell eDirectory 8.8
LCMCIFS2.NLM v2.00.09 Sep. 14, 2007 Windows Native File Access Login Methods (Build 91 SP)
LCMMD5.NLM v28000806.23 Jun. 23, 2008 Novell SASL DIGEST-MD5 Proxy LCM 2.8.0.0 20080623
LDAPSDK.NLM v3.05.02 Apr. 12, 2009 LDAP SDK Library (Clib version)
LDAPXS.NLM v3.05.01 Apr. 12, 2009 (Clib version)
LFS.NLM v5.12 Sep. 21, 2005 NetWare Logical File System NLM
LIB0.NLM v5.90.15 Mar. 10, 2008 Novell Ring 0 Library for NLMs
LIBC.NLM v9.00.05 Oct. 3, 2008 Standard C Runtime Library for NLMs [optimized, 7]
LIBCCLIB.NLM v6.00 Oct. 23, 2002 LibC to CLib Shim for NLMs [optimized, 0]
LIBCVCL.NLM v8.00 Dec. 3, 2008 Cryptography Library
LIBNICM.NLM v3.01.60 May. 21, 2008 Novell XTier Base Services
LIBNSS.NLM v3.27.03 Jun. 7, 2010 Generic Library used by NSS (Build 212 MP)
LIBPERL.NLM v5.00.05 Sep. 13, 2005 Perl 5.8.4 - Script Interpreter and Library
LIBXML2.NLM v2.06.26 Aug. 27, 2006 libxml2 2.6.26 (LIBC) - The XML C parser and toolkit of Gnome
LIBXTREG.NLM v3.01.60 May. 21, 2008 Novell XTier Base Services
LLDAPSDK.NLM v3.05.02 Apr. 12, 2009 LDAP SDK Library (LibC version)
LLDAPSSL.NLM v3.05.01 Apr. 12, 2009 NetWare SSL Library for LDAP SDK (LibC version)
LLDAPX.NLM v3.05.01 Apr. 12, 2009 NetWare Extension APIs for LDAP SDK (LibC version)
LOCNLM32.NLM v6.00.04 Nov. 29, 2005 NetWare NWLocale Runtime Library
LSAPI.NLM v5.02 Jan. 7, 2003 NLS LSAPI Library
LSL.MPM v5.70 Feb. 15, 2006 lsl Memory Protection Module
LSL.NLM v4.86 Feb. 2, 2006 Novell NetWare Link Support Layer
LSMAFP3.NLM v2.00.11 Sep. 14, 2007 Macintosh Native File Access Login Methods (Build 118 SP)
LSMCIFS2.NLM v2.00.07 Sep. 14, 2007 Windows Native File Access Login Methods (Build 103 SP)
LSMMD5.NLM v28000806.23 Jun. 23, 2008 Novell SASL DIGEST-MD5 LSM 2.8.0.0 20080623
MAL.NSS v3.27.03 Jun. 7, 2010 NSS Media Access Layer (MAL) (Build 212 MP)
MALHLP.NLM v3.27.03 Jun. 7, 2010 NSS Configure help messages (Build 212 MP)
MANAGE.NSS v3.27.03 Jun. 7, 2010 NSS Management Functions (Build 212 MP)
MASV.NLM v2.00.01 Sep. 2, 2008 Mandatory Access Control Service
MATHLIB.NLM v4.21 Oct. 14, 1999 NetWare Math Library Auto-Load Stub
MM.NLM v3.22.08 Apr. 24, 2009 ENG TEST - NetWare 6.5 Media Manager
MOD_IPP.NLM v1.00.04 Jun. 7, 2006 iPrint Module
MOD_JK.NLM v1.02.23 Apr. 25, 2008 Apache 2.0 plugin for Tomcat
MOD_XSRV.NLM v3.01.04 May. 21, 2008 Novell XTier Server (Apache2 Module)
MOMAPSNW.NLM v4.00 May. 7, 2010 4.0 Build: 492 NW FC AB 2010-05-07 NW
MONDATA.NLM v6.00 Jul. 18, 2003 NetWare 5.x/6.x Monitor MIB
MONITOR.NLM v12.02.02 Apr. 4, 2006 NetWare Console Monitor
MSM.NLM v4.12 Aug. 22, 2007 Novell Multi-Processor Media Support Module
N1000E.LAN v10.47 Oct. 6, 2007 HP NC-Series Intel N1E Ethernet driver
NBI.NLM v3.01.01 Jul. 13, 2007 NetWare Bus Interface
NCM.NLM v1.15.01 Oct. 20, 2004 Novell Configuration Manager
NCP.NLM v5.61.01 Sep. 30, 2008 NetWare Core Protocol (NCP) Engine
NCPIP.NLM v6.02.01 Sep. 30, 2008 NetWare NCP Services over IP
NCPL.NLM v3.01.60 May. 21, 2008 Novell XTier Base Services
NCPNLM32.NLM v6.01.03 Aug. 26, 2008 NetWare NWNCP Runtime Library
NDPSGW.NLM v4.01.02 Mar. 2, 2010 NDPS Gateway
NDPSM.NLM v3.03.02 May. 18, 2010 NDPS Manager
NDS4.NLM v3.01.60 Apr. 9, 2008 Novell XTier NDS4 Authentication Provider
NDSAUDIT.NLM v2.09 May. 22, 2003 Directory Services Audit
NDSIMON.NLM v20216.12 Apr. 15, 2009 NDS iMonitor 8.8 SP5
NEB.NLM v5.60 Sep. 27, 2004 Novell Event Bus
NETDB.MPM v5.70 Feb. 15, 2006 netdb Memory Protection Module
NETDB.NLM v4.11.05 Jan. 6, 2005 Network Database Access Module
NETLIB.NLM v6.50.22 Feb. 12, 2003 Novell TCPIP NETLIB Module
NETNLM32.NLM v6.01.03 Aug. 26, 2008 NetWare NWNet Runtime Library
NIAM.NLM v3.01.60 May. 21, 2008 Novell XTier Identity Manager
NICISDI.NLM v27610.01.01 Mar. 30, 2009 Security Domain Infrastructure
NILE.NLM v7.00.01 Aug. 20, 2007 Novell N/Ties NLM ("") Release Build with symbols
NIPPED.NLM v1.03.09 Jul. 11, 2006 NetWare 5.x, 6.x INF File Editing Library - NIPPED
NIPPZLIB.NLM v1.00.01 Nov. 28, 2005 General Purpose ZIP File Library for NetWare
NIRMAN.NLM v1.06.04 Sep. 18, 2007 TCPIP - NetWare Internetworking Remote Manager
NIT.NLM v5.90.15 Mar. 10, 2008 NetWare Interface Tools Library for NLMs
NLDAP.NLM v20219.14 May. 13, 2009 LDAP Agent for Novell eDirectory 8.8 SP5
NLMLIB.NLM v5.90.15 Mar. 10, 2008 Novell NLM Runtime Library
NLSADPT2.NLM v2.00 Sep. 9, 2003 NLS and Metering adapter for iManager 2.0 plugin
NLSAPI.NLM v5.02 Aug. 7, 2003 NLSAPI
NLSLRUP.NLM v4.01.07 May. 10, 2005 NLS - Usage Metering
NLSLSP.NLM v5.02 May. 25, 2005 NLS - License Service Provider
NLSMETER.NLM v3.43 May. 10, 2005 NLS - Software Usage Metering Database
NLSTRAP.NLM v5.02 Feb. 19, 2004 NetWare License Server Trap
NMAS.NLM v33200904.07 Apr. 7, 2009 Novell Modular Authentication Service 3.3.2.0 20090407
NMASGPXY.NLM v33200904.07 Apr. 7, 2009 NMAS Generic Proxy 3.3.2.0 20090407
NMASLDAP.NLM v33200904.07 Apr. 7, 2009 NMAS LDAP Extensions 3.3.2.0 20090407
NPKIAPI.NLM v3.33 Apr. 16, 2009 Public Key Infrastructure Services
NPKIT.NLM v3.33 Apr. 16, 2009 Public Key Infrastructure Services
NSCM.NLM v3.01.60 May. 21, 2008 Novell XTier Security Context Manager
NSNS.NLM v3.01.60 May. 21, 2008 Novell XTier Simple Name Service
NSPDNS.NLM v6.20.03 Sep. 8, 2003 NetWare Winsock 2.0 NSPDNS.NLM Name Service Providers
NSPNDS.NLM v6.20 Nov. 12, 2001 NetWare Winsock 2.0 NSPNDS.NLM Name Service Provider
NSPSLP.NLM v6.20.04 Dec. 6, 2007 NetWare Winsock 2.0 NSPSLP.NLM Name Service Provider
NSS.NLM v3.27.03 Jun. 7, 2010 NSS (Novell Storage Services) (Build 212 MP)
NSSIDK.NSS v3.27.03 Jun. 7, 2010 NSS Pool Configuration Manager (Build 212 MP)
NSSWIN.NLM v3.27.03 Jun. 7, 2010 NSS ASCI Window API Library (Build 212 MP)
NTFYDPOP.ENM v2.00.03 Feb. 26, 1999 Directed Pop-Up Delivery Method
NTFYLOG.ENM v2.00.03 May. 25, 1999 Log File Delivery Method
NTFYPOP.ENM v2.00.03 May. 21, 1999 Pop Up Delivery Method
NTFYRPC.ENM v2.00.03 Feb. 26, 1999 RPC Delivery Method
NTFYSPX.ENM v2.00.03 Feb. 26, 1999 SPX Delivery Method
NTFYSRVR.NLM v3.00.05 May. 10, 2005 NDPS Notification Server
NTFYWSOC.ENM v2.00.03 Feb. 26, 1999 Winsock Delivery Method
NTLS.NLM v20510.01 Mar. 11, 2009 NTLS 2.0.5.0 based on OpenSSL 0.9.7m
NWAIF103.NLM v7.94 Nov. 30, 2001 nwaif103.nlm v7.94, Build 251 ()
NWBSRVCM.NLM v7.90 Mar. 20, 2001 NWBSRVCM.NLM v7.90.000, Build 230
NWENC103.NLM v7.90 Feb. 24, 2001 NWENC103.NLM v7.90.000 (Text Encoding Conversion Library)
NWIDK.NLM v3.01.01 Sep. 19, 2003 CDWare Volume Module
NWKCFG.NLM v2.16 Jun. 24, 2005 NetWare Kernel Config NLM
NWMKDE.NLM v7.94 Dec. 11, 2001 NWMKDE.NLM v7.94.251.000
NWMON.NLM v1.20 Dec. 14, 2005 NetWare Monitoring Software
NWPA.NLM v3.21.02 Oct. 29, 2008 NetWare 6.5 NetWare Peripheral Architecture NLM
NWPALOAD.NLM v3.00 Jul. 10, 2000 NetWare 5 NWPA Load Utility
NWSA.NSS v3.27.03 Jun. 7, 2010 NSS NetWare Semantic Agent (NWSA) (Build 212 MP)
NWSNUT.NLM v7.00.01 Jul. 11, 2008 NetWare NLM Utility User Interface
NWTERMIO.NLM v1.00 Sep. 11, 2006 NetWare Terminal Emulation
NWTRAP.NLM v6.00.05 Jun. 6, 2005 NetWare 5.x/6.x Trap Monitor
NWUCMGR.NLM v1.05 Mar. 14, 2001 NWUCMGR.NLM v1.5 Build 230
NWUTIL.NLM v3.00.02 Aug. 20, 2007 Novell Utility Library NLM (_NW65[SP7]{""})
PARTAPI.NLM v2.00 Apr. 17, 2002 Partition APIs for NetWare 6.1
PDHCP.NLM v2.08 Oct. 20, 2003 Di-NIC Proxy DHCP Server
PKI.NLM v3.33 Apr. 16, 2009 Novell Certificate Server
PKIAPI.NLM v2.23.10 Nov. 20, 2004 Public Key Infrastructure Services
PMAP.NLM v2.01.04 Mar. 6, 2008 ZENworks Port Mapper Service
PMLODR.NLM v1.26 Oct. 7, 2005 PMLodr for NW65
PMPORTAL.NLM v2.16 Nov. 21, 2003 NetWare License Information Portal
POLIMGR.NLM v6.27 Nov. 3, 2005 NetWare License Policy Manager
PORTAL.NLM v4.03 Sep. 22, 2008 Novell Remote Manager NLM
PROCMODS.NLM v8.00 Nov. 5, 2010 PipeLine Procedure Module
PSVCS.NLM v251.00 Nov. 30, 2001 Portability Services
PVER500.NLM v3.00 Feb. 1, 2007 NetWare 6.XX Version Library
PWDLCM.NLM v28000806.23 Jun. 23, 2008 Novell Simple Password Proxy LCM 2.8.0.0 20080623
PWDLSM.NLM v28000806.23 Jun. 23, 2008 Novell Simple Password LSM 2.8.0.0 20080623
QUEUE.NLM v5.60 May. 24, 2001 NetWare Queue Services NLM
REGSRVR.NLM v3.00.06 May. 10, 2005 NDPS Service Registry
REQUESTR.NLM v5.90.15 Mar. 10, 2008 Novell NCP Requestor for NLMs
REWRITE.NLM v2.00.63 Apr. 25, 2008 Apache 2.0.63 Rewrite Module
RMANSRVR.NLM v3.07.02 Mar. 2, 2010 NDPS Resource Manager
ROLLCALL.NLM v5.00 Jul. 27, 1998 RollCall NLM (101, API 1.0)
ROTLOGS.NLM v2.00.63 Apr. 25, 2008 Apache 2.0.63 Log Rotation Utility for NetWare
SAL.NLM v20413.01 Mar. 25, 2009 Novell System Abstraction Layer Version 2.3.1
SASDFM.NLM v27610.01.01 Mar. 30, 2009 SAS Data Flow Manager
SASL.NLM v33200904.07 Apr. 7, 2009 Simple Authentication and Security Layer 3.3.2.0 20090407
SAVENGIN.NLM v3.27 Dec. 1, 2011 SAV Interface engine
SCSIHD.CDM v3.03.10 May. 30, 2008 Novell NetWare SCSI Fixed Disk Custom Device Module
SEG.NLM v1.72 Nov. 4, 2004 NetWare Memory Analyzer
SERVINST.NLM v5.00.13 Nov. 21, 2005 NetWare 5.x/6.x Instrumentation
SGUID.NLM v6.01 Sep. 27, 2002 NetWare GUID Services
SLP.MPM v5.70 Feb. 15, 2006 slp Memory Protection Module
SLP.NLM v2.13 Nov. 15, 2005 SERVICE LOCATION PROTOCOL (RFC2165/RFC2608)
SLPTCP.NLM v2.13 Nov. 15, 2005 SERVICE LOCATION TCP/UDP INTERFACE (RFC2165/RFC2608)
SMDR.NLM v6.58.01 Oct. 16, 2008 SMS - Storage Data Requestor
SMSUT.NLM v1.01.03 Jun. 26, 2008 SMS - Utility Library for NetWare 6.X
SNMP.MPM v5.70 Feb. 15, 2006 snmp Memory Protection Module
SNMP.NLM v4.18 Jul. 25, 2006 Netware 4.x/5.x/6.x SNMP Service
SPMDCLNT.NLM v33200904.07 Apr. 7, 2009 Novell SPM Client for DClient 3.3.2.0 20090407
STREAMS.MPM v5.70 Feb. 15, 2006 streams Memory Protection Module
STREAMS.NLM v6.00.06 May. 4, 2005 NetWare STREAMS PTF
SVCCOST.NLM v3.01.60 May. 21, 2008 Novell XTier Service Costing Module
SWEEP.NLM v4.73 Dec. 1, 2011 Sophos Anti-Virus User Interface
SYSCALLS.NLM v5.61 Aug. 2, 2007 NetWare Operating System Call and Marshalling Library
SYSLOG.NLM v6.05.03 Oct. 22, 2007 NetWare Logfile Daemon
TCP.NLM v6.82.06 Dec. 23, 2009 Novell TCP/IP Stack - Transport module (NULL encryption)
TCPIP.MPM v5.70 Feb. 15, 2006 tcpip Memory Protection Module
TCPIP.NLM v6.82.02 Sep. 30, 2009 Novell TCP/IP Stack - Network module (NULL encryption)
TCPSTATS.NLM v6.50.10 Jun. 20, 2003 Web Interface for Protocol Monitoring
TFTP.NLM v2.05.01 Jan. 15, 2008 ZENworks Preboot TFTP Server
THREADS.NLM v5.90.15 Mar. 10, 2008 Novell Threads Package for NLMs
TIMESYNC.NLM v6.61.01 Oct. 14, 2005 NetWare Time Synchronization Services
TLI.MPM v5.70 Feb. 15, 2006 tli Memory Protection Module
TLI.NLM v4.30.02 Dec. 19, 2000 NetWare Transport Level Interface Library
TSAFS.NLM v6.53.03 Oct. 16, 2008 SMS - File System Agent for NetWare 6.X
TSANDS.NLM v20215.04 Apr. 3, 2009 TSA for Novell eDirectory 7.x, 8.x
UHCIDRV.CAD v1.07 Feb. 26, 2008 Novell Universal Serial Bus UHCI driver
UNICODE.NLM v7.00 Oct. 26, 2004 NetWare Unicode Runtime Library (UniLib-based) [optimized]
USCLSM.NLM v27000507.14 Jul. 14, 2005 Novell Universal SmartCard LSM 2.7.0.0 20050714
USERLIB.NLM v5.60 Sep. 29, 2008 NetWare Operating System Function Library
UTILLDAP.NLM v2.00.63 Apr. 25, 2008 Apache 2.0.63 LDAP Authentication Module
UTILLDP2.NLM v1.00 Nov. 9, 2005 LdapDN Module
VDISK.NLM v1.00 Nov. 30, 2004 NetWare Virtual Disk
VERIFY.NLM v1.43 Oct. 16, 2008 Java verify (based on 1.4.2_18)
VLRPC.NLM v3.27.03 Jun. 7, 2010 DFS Volume Location Database (VLDB) RPC interface (Build 212 MP)
VMRPC.NLM v3.27.03 Jun. 7, 2010 DFS Volume Manager RPC interface (Build 212 MP)
VOLMN.NSS v3.27.03 Jun. 7, 2010 NSS Distributed Volume Manager (Build 212 MP)
VOLSMS.NLM v3.27.03 Jun. 7, 2010 NSS Distributed Volume Manager (Build 212 MP)
WS2_32.NLM v6.24.01 Feb. 14, 2008 NetWare Winsock 2.0 NLM
WSPIP.NLM v6.24 Dec. 4, 2007 NetWare Winsock Service 1.0 NLM for TCP and UDP
WSPSSL.NLM v6.26 Dec. 4, 2007 NetWare Winsock Service 1.0 NLM for SSL
X509ALSM.NLM v27000508.03 Aug. 3, 2005 Novell Advanced X.509 LSM 2.7.0.0 20050803
X509LSM.NLM v27000508.03 Aug. 3, 2005 Novell Simple X.509 LSM 2.7.0.0 20050803
XENGEXP.NLM v27610.01.01 Mar. 30, 2009 NICI Import Restricted XENG from Novell, Inc.
XENGNUL.NLM v27610.01.01 Mar. 30, 2009 NICI NULL XENG from Novell, Inc.
XENGUSC.NLM v27610.01.01 Mar. 30, 2009 NICI U.S./Worldwide XENG from Novell, Inc.
XI18N.NLM v10310.53 Aug. 2, 2005 Novell Cross-Platform Internationalization Package
XIM.XLM v27510.02.01 Aug. 25, 2008 Novell NICI Signed Loader
XMGR.NLM v27610.01.01 Mar. 30, 2009 NICI XMGR from Novell, Inc.
XNGAUSC.NLM v27610.01.01 Mar. 30, 2009 NICI U.S./Worldwide XMGR Assistant XENG from Novell, Inc.
XSRVNSP.NLM v3.01.60 May. 21, 2008 Novell XTier XSRVNSP Tree Name Service Provider
XSUP.NLM v27610.01.01 Mar. 30, 2009 NICI XSUP from Novell, Inc.
XTNCP.NLM v3.01.60 May. 21, 2008 Novell XTier NCP Session Layer Driver
XTUTIL.NLM v3.01.60 May. 21, 2008 Novell XTier Utility Functions
ZENIMGDS.NLM v7.00 Mar. 26, 2007 ZENworks Imaging DS Library
ZENPXE.NLM v7.00 Apr. 22, 2008 ZENworks Imaging PXE Library
ZENWS.NLM v1.00 Jul. 29, 2002 Zen Workstation Utility NLM
ZIP.NLM v1.43 Oct. 16, 2008 Java zip (based on 1.4.2_18)
ZLIB.NLM v1.01.04 Dec. 20, 2002 ZLIB 1.1.4 General Purpose Compression Library for NetWare
ZLSS.NSS v3.27.03 Jun. 7, 2010 NSS Journaled Storage System (ZLSS) (Build 212 MP)
End of Modules List 312 Modules Loaded.
Top of LAN Driver Configuration Listing
Signature.....: HardwareDriverMLID
CFG Version...: 1.15
Node Address..: 002655D01666
Board Number..: 1
Board Instance: 1
Media Type....: ETHERNET_II
MLID Version..: 10.47
Slot..........: 101
I/O...........: 5000h -> 501Fh
Memory........: FBFE0000h -> FBFFFFFFh
and FBFC0000h -> FBFC0FFFh
IRQ...........: 7
DMA...........: None
Logical Name..: N1000E_1_EII
Signature.....: HardwareDriverMLID
CFG Version...: 1.15
Node Address..: 002655D01667
Board Number..: 2
Board Instance: 2
Media Type....: ETHERNET_II
MLID Version..: 10.47
Slot..........: 102
I/O...........: 5020h -> 503Fh
Memory........: FBFA0000h -> FBFBFFFFh
and FBF80000h -> FBF80FFFh
IRQ...........: 11
DMA...........: None
Logical Name..: N1000E_2_EII
End of LAN Driver Configuration Listing
Top of Boot Drive Information
SERVER.EXE loaded from...........: C:\NWSERVER\
SERVER.EXE version...............: 1355757 bytes 10-03-2008 09:53am
Total Space on Drive.............: 2016 MB
Available Space..................: 1920 MB
End of Boot Drive Information
Top of Storage Device Configuration Information
Storage Device Summary:
0x0000 [V100-A100] USB UHCI Controller
0x0001 [V100-A101] USB UHCI Controller
0x0002 [V100-A102] USB UHCI Controller
0x0003 [V100-A103] USB UHCI Controller
0x0004 [V100-A104] USB EHCI Controller
0x0005 [V100-A105] USB UHCI Controller
0x0006 [V505-A0] HP SAS/SATA Unified RAID Driver
0x0007 [V505-A0-D0:0] HP LOGICAL VOLUME f/w:1.66
0x0008 DOS Partitioned Media
0x0019 [V505-A0-D0:0-PAA6BA] Free Partition Space
0x0009 [V505-A0-D0:0-P0] Big DOS; OS/2; Win95 Partition
0x000A [V505-A0-D0:0-P7F8] NSS Partition
0x000B [V505-A0-D0:0-P4678] NSS Partition
0x000C [V505-A0-D0:0-P1CD18] NSS Partition
0x000D [V505-A0-D0:0-P21B38] NSS Partition
0x000F [V505-A0-D0:0-P26B38] NSS Partition
0x0011 [V505-A0-D0:0-P2BB38] NSS Partition
0x0012 [V505-A0-D0:0-P30B38] Free Partition Space
0x0013 [V505-A0-D0:0-P353B8] NSS Partition
0x0014 [V505-A0-D0:0-P48C38] NSS Partition
0x0015 [V505-A0-D0:0-P612D8] NSS Partition
0x0016 [V505-A0-D0:0-P79978] NSS Partition
0x0017 [V505-A0-D0:0-P92018] NSS Partition
0x0018 [V505-A0-D0:0-PAA6B8] Free Partition Space
Storage Device Details:
[V100-A100] USB UHCI Controller
Media Manager object ID..: 0x0000
Media Manager Object Type: Adapter
Driver name..............: UHCIDRV.CAD
Assigned driver ID.......: 256
Adapter number...........: 256
Primary port address.....: 1000
Primary port length......: 18
Secondary port address...: Not used
Secondary port length....: Not used
Interrupt 0..............: 18
Interrupt 1..............: Not used
Slot.....................: 10027
DMA0.....................: Not used
DMA1.....................: Not used
Memory 0 address.........: Not used
Memory 0 length..........: Not used
Memory 1 address.........: Not used
Memory 1 length..........: Not used
[V100-A101] USB UHCI Controller
Media Manager object ID..: 0x0001
Media Manager Object Type: Adapter
Driver name..............: UHCIDRV.CAD
Assigned driver ID.......: 256
Adapter number...........: 257
Primary port address.....: 1020
Primary port length......: 18
Secondary port address...: Not used
Secondary port length....: Not used
Interrupt 0..............: 28
Interrupt 1..............: Not used
Slot.....................: 10028
DMA0.....................: Not used
DMA1.....................: Not used
Memory 0 address.........: Not used
Memory 0 length..........: Not used
Memory 1 address.........: Not used
Memory 1 length..........: Not used
[V100-A102] USB UHCI Controller
Media Manager object ID..: 0x0002
Media Manager Object Type: Adapter
Driver name..............: UHCIDRV.CAD
Assigned driver ID.......: 256
Adapter number...........: 258
Primary port address.....: 1040
Primary port length......: 18
Secondary port address...: Not used
Secondary port length....: Not used
Interrupt 0..............: 38
Interrupt 1..............: Not used
Slot.....................: 10029
DMA0.....................: Not used
DMA1.....................: Not used
Memory 0 address.........: Not used
Memory 0 length..........: Not used
Memory 1 address.........: Not used
Memory 1 length..........: Not used
[V100-A103] USB UHCI Controller
Media Manager object ID..: 0x0003
Media Manager Object Type: Adapter
Driver name..............: UHCIDRV.CAD
Assigned driver ID.......: 256
Adapter number...........: 259
Primary port address.....: 1060
Primary port length......: 18
Secondary port address...: Not used
Secondary port length....: Not used
Interrupt 0..............: 28
Interrupt 1..............: Not used
Slot.....................: 10030
DMA0.....................: Not used
DMA1.....................: Not used
Memory 0 address.........: Not used
Memory 0 length..........: Not used
Memory 1 address.........: Not used
Memory 1 length..........: Not used
[V100-A104] USB EHCI Controller
Media Manager object ID..: 0x0004
Media Manager Object Type: Adapter
Driver name..............: EHCIDRV.CAD
Assigned driver ID.......: 256
Adapter number...........: 260
Primary port address.....: Not used
Primary port length......: Not used
Secondary port address...: Not used
Secondary port length....: Not used
Interrupt 0..............: 18
Interrupt 1..............: Not used
Slot.....................: 10031
DMA0.....................: Not used
DMA1.....................: Not used
Memory 0 address.........: 0000
Memory 0 length..........: 006C
Memory 1 address.........: Not used
Memory 1 length..........: Not used
[V100-A105] USB UHCI Controller
Media Manager object ID..: 0x0005
Media Manager Object Type: Adapter
Driver name..............: UHCIDRV.CAD
Assigned driver ID.......: 256
Adapter number...........: 261
Primary port address.....: 3800
Primary port length......: 18
Secondary port address...: Not used
Secondary port length....: Not used
Interrupt 0..............: 38
Interrupt 1..............: Not used
Slot.....................: 10037
DMA0.....................: Not used
DMA1.....................: Not used
Memory 0 address.........: Not used
Memory 0 length..........: Not used
Memory 1 address.........: Not used
Memory 1 length..........: Not used
[V505-A0] HP SAS/SATA Unified RAID Driver
Media Manager object ID..: 0x0006
Media Manager Object Type: Adapter
Driver name..............: HPQCISS.HAM
Assigned driver ID.......: 1285
Adapter number...........: 0
Primary port address.....: Not used
Primary port length......: Not used
Secondary port address...: Not used
Secondary port length....: Not used
Interrupt 0..............: 7
Interrupt 1..............: Not used
Slot.....................: 10041
DMA0.....................: Not used
DMA1.....................: Not used
Memory 0 address.........: 0000
Memory 0 length..........: 0400
Memory 1 address.........: Not used
Memory 1 length..........: Not used
[V505-A0-D0:0] HP LOGICAL VOLUME f/w:1.66
Media manager object ID.....: 0x0007
Media manager Object Type...: Device
Device type.................: Magnetic disk
Capacity....................: 858112 MB
Unit Size, in bytes.........: 512
Sectors.....................: 32
Heads.......................: 255
Cylinders...................: 18785
Block size, in bytes........: 4294966784
Activated...................: Yes
Registered..................: Yes
Functional..................: Yes
Writable....................: Yes
Write protected.............: No
Reserved....................: No
Removable...................: No
Read Handicap...............: No
Offline.....................: No
Controller Number...........: 0
Device Number...............: 0
Adapter Number..............: 0
System Type.................: 0x90000
Read after write verify.....: Disabled
DOS Partitioned Media
Media Manager object ID..: 0x0008
Media Manager Object Type: Media
Media type...............: IBM partition
[V505-A0-D0:0-PAA6BA] Free Partition Space
Media Manager object ID......: 0x0019
Media Manager Object Type....: Partition
Activated....................: Yes
Registered...................: Yes
Functional...................: Yes
Reserved.....................: No
Logical partition............: No
Beginning sector of partition: 1429591200
Size, in sectors.............: 328023484
[V505-A0-D0:0-P0] Big DOS; OS/2; Win95 Partition
Media Manager object ID......: 0x0009
Media Manager Object Type....: Partition
Activated....................: Yes
Registered...................: Yes
Functional...................: Yes
Reserved.....................: Yes
Logical partition............: No
Beginning sector of partition: 32
Size, in sectors.............: 4177888
[V505-A0-D0:0-P7F8] NSS Partition
Media Manager object ID......: 0x000A
Media Manager Object Type....: Partition
Activated....................: Yes
Registered...................: Yes
Functional...................: Yes
Reserved.....................: Yes
Logical partition............: Yes
Beginning sector of partition: 4177920
Size, in sectors.............: 32768000
[V505-A0-D0:0-P4678] NSS Partition
Media Manager object ID......: 0x000B
Media Manager Object Type....: Partition
Activated....................: Yes
Registered...................: Yes
Functional...................: Yes
Reserved.....................: Yes
Logical partition............: Yes
Beginning sector of partition: 36945920
Size, in sectors.............: 204800000
[V505-A0-D0:0-P1CD18] NSS Partition
Media Manager object ID......: 0x000C
Media Manager Object Type....: Partition
Activated....................: Yes
Registered...................: Yes
Functional...................: Yes
Reserved.....................: Yes
Logical partition............: Yes
Beginning sector of partition: 241745920
Size, in sectors.............: 40960000
[V505-A0-D0:0-P21B38] NSS Partition
Media Manager object ID......: 0x000D
Media Manager Object Type....: Partition
Activated....................: Yes
Registered...................: Yes
Functional...................: Yes
Reserved.....................: No
Logical partition............: No
Beginning sector of partition: 282705920
Size, in sectors.............: 41943040
[V505-A0-D0:0-P26B38] NSS Partition
Media Manager object ID......: 0x000F
Media Manager Object Type....: Partition
Activated....................: Yes
Registered...................: Yes
Functional...................: Yes
Reserved.....................: No
Logical partition............: No
Beginning sector of partition: 324648960
Size, in sectors.............: 41943040
[V505-A0-D0:0-P2BB38] NSS Partition
Media Manager object ID......: 0x0011
Media Manager Object Type....: Partition
Activated....................: Yes
Registered...................: Yes
Functional...................: Yes
Reserved.....................: No
Logical partition............: No
Beginning sector of partition: 366592000
Size, in sectors.............: 41943040
[V505-A0-D0:0-P30B38] Free Partition Space
Media Manager object ID......: 0x0012
Media Manager Object Type....: Partition
Activated....................: Yes
Registered...................: Yes
Functional...................: Yes
Reserved.....................: No
Logical partition............: No
Beginning sector of partition: 408535040
Size, in sectors.............: 38010880
[V505-A0-D0:0-P353B8] NSS Partition
Media Manager object ID......: 0x0013
Media Manager Object Type....: Partition
Activated....................: Yes
Registered...................: Yes
Functional...................: Yes
Reserved.....................: Yes
Logical partition............: Yes
Beginning sector of partition: 446545920
Size, in sectors.............: 163840000
[V505-A0-D0:0-P48C38] NSS Partition
Media Manager object ID......: 0x0014
Media Manager Object Type....: Partition
Activated....................: Yes
Registered...................: Yes
Functional...................: Yes
Reserved.....................: Yes
Logical partition............: Yes
Beginning sector of partition: 610385920
Size, in sectors.............: 204800000
[V505-A0-D0:0-P612D8] NSS Partition
Media Manager object ID......: 0x0015
Media Manager Object Type....: Partition
Activated....................: Yes
Registered...................: Yes
Functional...................: Yes
Reserved.....................: Yes
Logical partition............: No
Beginning sector of partition: 815185920
Size, in sectors.............: 204800000
[V505-A0-D0:0-P79978] NSS Partition
Media Manager object ID......: 0x0016
Media Manager Object Type....: Partition
Activated....................: Yes
Registered...................: Yes
Functional...................: Yes
Reserved.....................: Yes
Logical partition............: Yes
Beginning sector of partition: 1019985920
Size, in sectors.............: 204800000
[V505-A0-D0:0-P92018] NSS Partition
Media Manager object ID......: 0x0017
Media Manager Object Type....: Partition
Activated....................: Yes
Registered...................: Yes
Functional...................: Yes
Reserved.....................: Yes
Logical partition............: No
Beginning sector of partition: 1224785920
Size, in sectors.............: 204800000
[V505-A0-D0:0-PAA6B8] Free Partition Space
Media Manager object ID......: 0x0018
Media Manager Object Type....: Partition
Activated....................: Yes
Registered...................: Yes
Functional...................: Yes
Reserved.....................: No
Logical partition............: No
Beginning sector of partition: 1429585920
Size, in sectors.............: 5280
End of Storage Device Configuration Information
* Volume Statistics for SYS *
File System................: NSSIDK (Novell Storage Services)
Volume Size................: 15934 MB
Block Size.................: 4 KB
Total Blocks...............: 4079171
Free Blocks................: 3072770
Purgable Blocks............: 158
Not Yet Purgable Blocks....: 0
Total Directory Entries....: 2147483647
Available Directory Entries: 2147439380
Sectors per Block..........: 8
Free Disk Space............: 12003 MB
Purgable Disk Space........: 0 MB
Suballocation..............: OFF
Compression................: OFF
Migration..................: OFF
* Volume Statistics for _ADMIN *
File System................: Unknown
Volume Size................: 4 MB
Block Size.................: 4 KB
Total Blocks...............: 1024
Free Blocks................: 1024
Purgable Blocks............: 0
Not Yet Purgable Blocks....: 0
Total Directory Entries....: 2147483647
Available Directory Entries: 2147483647
Sectors per Block..........: 8
Free Disk Space............: 4 MB
Purgable Disk Space........: 0 MB
Suballocation..............: OFF
Compression................: OFF
Migration..................: OFF
* Volume Statistics for IMAGES *
File System................: NSSIDK (Novell Storage Services)
Volume Size................: 99702 MB
Block Size.................: 4 KB
Total Blocks...............: 25523833
Free Blocks................: 12760577
Purgable Blocks............: 0
Not Yet Purgable Blocks....: 0
Total Directory Entries....: 2147483647
Available Directory Entries: 2147483627
Sectors per Block..........: 8
Free Disk Space............: 49846 MB
Purgable Disk Space........: 0 MB
Suballocation..............: OFF
Compression................: OFF
Migration..................: OFF
* Volume Statistics for PRINTING *
File System................: NSSIDK (Novell Storage Services)
Volume Size................: 19932 MB
Block Size.................: 4 KB
Total Blocks...............: 5102598
Free Blocks................: 4766787
Purgable Blocks............: 55
Not Yet Purgable Blocks....: 0
Total Directory Entries....: 2147483647
Available Directory Entries: 2147480871
Sectors per Block..........: 8
Free Disk Space............: 18620 MB
Purgable Disk Space........: 0 MB
Suballocation..............: OFF
Compression................: OFF
Migration..................: OFF
* Volume Statistics for STAFF *
File System................: NSSIDK (Novell Storage Services)
Volume Size................: 140541 MB
Block Size.................: 4 KB
Total Blocks...............: 35978535
Free Blocks................: 4278115
Purgable Blocks............: 428
Not Yet Purgable Blocks....: 0
Total Directory Entries....: 2147483647
Available Directory Entries: 2147301305
Sectors per Block..........: 8
Free Disk Space............: 16711 MB
Purgable Disk Space........: 1 MB
Suballocation..............: OFF
Compression................: OFF
Migration..................: OFF
* Volume Statistics for FCLTY *
File System................: NSSIDK (Novell Storage Services)
Volume Size................: 120121 MB
Block Size.................: 4 KB
Total Blocks...............: 30751101
Free Blocks................: 6551019
Purgable Blocks............: 2
Not Yet Purgable Blocks....: 0
Total Directory Entries....: 2147483647
Available Directory Entries: 2147231898
Sectors per Block..........: 8
Free Disk Space............: 25589 MB
Purgable Disk Space........: 0 MB
Suballocation..............: OFF
Compression................: OFF
Migration..................: OFF
* Volume Statistics for APPS *
File System................: NSSIDK (Novell Storage Services)
Volume Size................: 79761 MB
Block Size.................: 4 KB
Total Blocks...............: 20418911
Free Blocks................: 8163253
Purgable Blocks............: 0
Not Yet Purgable Blocks....: 0
Total Directory Entries....: 2147483647
Available Directory Entries: 2147246784
Sectors per Block..........: 8
Free Disk Space............: 31887 MB
Purgable Disk Space........: 0 MB
Suballocation..............: OFF
Compression................: OFF
Migration..................: OFF
* Volume Statistics for ACDMC *
File System................: NSSIDK (Novell Storage Services)
Volume Size................: 99700 MB
Block Size.................: 4 KB
Total Blocks...............: 25523381
Free Blocks................: 9816828
Purgable Blocks............: 0
Not Yet Purgable Blocks....: 0
Total Directory Entries....: 2147483647
Available Directory Entries: 2147069762
Sectors per Block..........: 8
Free Disk Space............: 38346 MB
Purgable Disk Space........: 0 MB
Suballocation..............: OFF
Compression................: OFF
Migration..................: OFF
* Volume Statistics for PUPILS *
File System................: NSSIDK (Novell Storage Services)
Volume Size................: 99702 MB
Block Size.................: 4 KB
Total Blocks...............: 25523813
Free Blocks................: 13579469
Purgable Blocks............: 0
Not Yet Purgable Blocks....: 0
Total Directory Entries....: 2147483647
Available Directory Entries: 2147417601
Sectors per Block..........: 8
Free Disk Space............: 53044 MB
Purgable Disk Space........: 0 MB
Suballocation..............: OFF
Compression................: OFF
Migration..................: OFF
Volume Name Name Spaces Loaded
SYS DOS
SYS MACINTOSH
SYS NFS
SYS LONG_NAMES
_ADMIN DOS
_ADMIN MACINTOSH
_ADMIN NFS
_ADMIN LONG_NAMES
IMAGES DOS
IMAGES MACINTOSH
IMAGES NFS
IMAGES LONG_NAMES
PRINTING DOS
PRINTING MACINTOSH
PRINTING NFS
PRINTING LONG_NAMES
STAFF DOS
STAFF MACINTOSH
STAFF NFS
STAFF LONG_NAMES
FCLTY DOS
FCLTY MACINTOSH
FCLTY NFS
FCLTY LONG_NAMES
APPS DOS
APPS MACINTOSH
APPS NFS
APPS LONG_NAMES
ACDMC DOS
ACDMC MACINTOSH
ACDMC NFS
ACDMC LONG_NAMES
PUPILS DOS
PUPILS MACINTOSH
PUPILS NFS
PUPILS LONG_NAMES
************************************************** ***************************Hi.
On 18.01.2012 15:36, gayfield wrote:
>
> Hi Massimo
>
> Many thanks for your quick response. I've been into the console.log and
> pasted the last few entries below :
>
> 17-01-2012 6:19:58 pm: SERVER-5.70-0 [nmID=6001D]
> Cache memory allocator out of available memory.
>
>
> 17-01-2012 6:19:58 pm: SERVER-5.70-0 [nmID=2000A]
> Short term memory allocator is out of memory.
> 1 attempts to get more memory failed.
> request size in bytes 14807040 from Module SWEEP.NLM
>
> Loading Module FSIFIND.NLM [
> OK ]
> Loading Module FSBACK.NLM [
> OK ]
>
> 17-01-2012 8:24:13 pm: SERVER-5.70-0 [nmID=6001D]
> Cache memory allocator out of available memory.
>
>
> 17-01-2012 8:24:13 pm: SERVER-5.70-0 [nmID=2000A]
> Short term memory allocator is out of memory.
> 2 attempts to get more memory failed.
> request size in bytes 11403264 from Module SWEEP.NLM
>
>
> 17-01-2012 8:34:17 pm: SERVER-5.70-0 [nmID=6001D]
> Cache memory allocator out of available memory.
>
>
> 17-01-2012 8:34:17 pm: SERVER-5.70-0 [nmID=2000A]
> Short term memory allocator is out of memory.
> 3 attempts to get more memory failed.
> request size in bytes 15418880 from Module SWEEP.NLM
>
>
> 17-01-2012 8:48:14 pm: SERVER-5.70-0 [nmID=6001D]
> Cache memory allocator out of available memory.
>
>
> 17-01-2012 8:48:14 pm: SERVER-5.70-0 [nmID=2000A]
> Short term memory allocator is out of memory.
> 4 attempts to get more memory failed.
> request size in bytes 14807040 from Module SWEEP.NLM
>
>
> 17-01-2012 8:58:18 pm: SERVER-5.70-0 [nmID=6001D]
> Cache memory allocator out of available memory.
>
>
> 17-01-2012 8:58:18 pm: SERVER-5.70-0 [nmID=2000A]
> Short term memory allocator is out of memory.
> 5 attempts to get more memory failed.
> request size in bytes 14680064 from Module SWEEP.NLM
>
> Hope this better clarifies the situation.
Somewhat. From the time of day, and the loading of commvault modules
inbetween, this looks like a combined backup / AV scan issue. The
requests of Sophos are comparably big in size, and they vary a lot. That
will lead to fragmentation of your memory, until the memory can't be
allocated in one chunk any more. It also *seems* as if Sophos actually
scans the data while it gets backed up. That is *bad*.
CU,
Massimo Rosen
Novell Knowledge Partner
No emails please!
http://www.cfc-it.de -
ICMP Timeout Alarm due to TCP Protocol Memory Allocation Failure ?
Hello Experts ,
>> Device uptime suggests there was no reboot
ABCSwitch uptime is 28 weeks, 13 hours, 50 minutes
System returned to ROM by power-on
System restarted at 13:09:45 UTC Mon Aug 5 2013
System image file is "flash:c2950-i6k2l2q4-mz.121-22.EA12.bin"
>> But observed logs mentioning Memory Allocation Failure for TCP Protocol Process ( Process ID 43) due to Memory Fragmentation
003943: Feb 18 02:14:27.393 UTC: %SYS-2-MALLOCFAIL: Memory allocation of 36000 bytes failed from 0x801E876C, alignment 0
Pool: Processor Free: 120384 Cause: Memory fragmentation
Alternate Pool: I/O Free: 682800 Cause: Memory fragmentation
-Process= "TCP Protocols", ipl= 0, pid= 43
-Traceback= 801C422C 801C9ED0 801C5264 801E8774 801E4CDC 801D9A8C 8022E324 8022E4BC
003944: Feb 18 02:14:27.397 UTC: %SYS-2-CFORKMEM: Process creation of TCP Command failed (no memory).
-Process= "TCP Protocols", ipl= 0, pid= 43
-Traceback= 801E4D54 801D9A8C 8022E324 8022E4BC
According to Cisco documentation for Troubleshooting Memory issues on Cisco IOS 12.1 (http://www.cisco.com/c/en/us/support/docs/ios-nx-os-software/ios-software-releases-121-mainline/6507-mallocfail.html#tshoot4 ), which suggests the TCP Protocols Process could not be started due to Memory being fragmented
Memory Fragmentation Problem or Bug
This situation means that a process has consumed a large amount of processor memory and then released most or all of it, leaving fragments of memory still allocated either by this process, or by other processes that allocated memory during the problem. If the same event occurs several times, the memory may fragment into very small blocks, to the point where all processes requiring a larger block of memory cannot get the amount of memory that they need. This may affect router operation to the extent that you cannot connect to the router and get a prompt if the memory is badly fragmented.
This problem is characterized by a low value in the "Largest" column (under 20,000 bytes) of the show memory command, but a sufficient value in the "Freed" column (1MB or more), or some other wide disparity between the two columns. This may happen when the router gets very low on memory, since there is no defragmentation routine in the IOS.
If you suspect memory fragmentation, shut down some interfaces. This may free the fragmented blocks. If this works, the memory is behaving normally, and all you have to do is add more memory. If shutting down interfaces doesn't help, it may be a bug. The best course of action is to contact your Cisco support representative with the information you have collected.
>>Further TCP -3- FORKFAIL logs were seen
003945: Feb 18 02:14:27.401 UTC: %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
-Traceback= 8022E33C 8022E4BC
003946: Feb 18 02:14:27.585 UTC: %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
-Traceback= 8022E33C 8022E4BC
003947: Feb 18 02:14:27.761 UTC: %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
-Traceback= 8022E33C 8022E4BC
003948: Feb 18 02:14:27.929 UTC: %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
-Traceback= 8022E33C 8022E4BC
003949: Feb 18 02:14:29.149 UTC: %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
-Traceback= 8022E33C 8022E4BC
According to Error Explanation from Cisco Documentation (http://www.cisco.com/c/en/us/td/docs/ios/12_2sx/system/messages/122sxsms/sm2sx09.html#wp1022051)
suggests the TCP handles from a client could not be created or initialized
Error Message %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
Explanation The system failed to create a process to handle requests from a client. This condition could be caused by insufficient memory.
Recommended Action Reduce other system activity to ease memory demands.
But I am still not sure about the exact root cause is as
1.The GET/GETNEXT / GET BULK messages from SNMP Manager (Here, IBM Tivoli Netcool ) uses default SNMP Port 161 which is
UDP and not TCP
2. If its ICMP Polling failure from IBM Tivoli Netcool , ICMP is Protocol Number 1 in Internet Layer of TCP/IP Protocol Suite and TCP is Protocol Number 6 in the Transport Layer of TCP/IP Protocol Suite .
So I am still not sure how TCP Protocol Process Failure could have caused ICMP Timeout . Please help !
Could you please help me on what TCP Protocol Process handles in a Cisco Switch ?
Regards,
AnupHello Experts ,
>> Device uptime suggests there was no reboot
ABCSwitch uptime is 28 weeks, 13 hours, 50 minutes
System returned to ROM by power-on
System restarted at 13:09:45 UTC Mon Aug 5 2013
System image file is "flash:c2950-i6k2l2q4-mz.121-22.EA12.bin"
>> But observed logs mentioning Memory Allocation Failure for TCP Protocol Process ( Process ID 43) due to Memory Fragmentation
003943: Feb 18 02:14:27.393 UTC: %SYS-2-MALLOCFAIL: Memory allocation of 36000 bytes failed from 0x801E876C, alignment 0
Pool: Processor Free: 120384 Cause: Memory fragmentation
Alternate Pool: I/O Free: 682800 Cause: Memory fragmentation
-Process= "TCP Protocols", ipl= 0, pid= 43
-Traceback= 801C422C 801C9ED0 801C5264 801E8774 801E4CDC 801D9A8C 8022E324 8022E4BC
003944: Feb 18 02:14:27.397 UTC: %SYS-2-CFORKMEM: Process creation of TCP Command failed (no memory).
-Process= "TCP Protocols", ipl= 0, pid= 43
-Traceback= 801E4D54 801D9A8C 8022E324 8022E4BC
According to Cisco documentation for Troubleshooting Memory issues on Cisco IOS 12.1 (http://www.cisco.com/c/en/us/support/docs/ios-nx-os-software/ios-software-releases-121-mainline/6507-mallocfail.html#tshoot4 ), which suggests the TCP Protocols Process could not be started due to Memory being fragmented
Memory Fragmentation Problem or Bug
This situation means that a process has consumed a large amount of processor memory and then released most or all of it, leaving fragments of memory still allocated either by this process, or by other processes that allocated memory during the problem. If the same event occurs several times, the memory may fragment into very small blocks, to the point where all processes requiring a larger block of memory cannot get the amount of memory that they need. This may affect router operation to the extent that you cannot connect to the router and get a prompt if the memory is badly fragmented.
This problem is characterized by a low value in the "Largest" column (under 20,000 bytes) of the show memory command, but a sufficient value in the "Freed" column (1MB or more), or some other wide disparity between the two columns. This may happen when the router gets very low on memory, since there is no defragmentation routine in the IOS.
If you suspect memory fragmentation, shut down some interfaces. This may free the fragmented blocks. If this works, the memory is behaving normally, and all you have to do is add more memory. If shutting down interfaces doesn't help, it may be a bug. The best course of action is to contact your Cisco support representative with the information you have collected.
>>Further TCP -3- FORKFAIL logs were seen
003945: Feb 18 02:14:27.401 UTC: %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
-Traceback= 8022E33C 8022E4BC
003946: Feb 18 02:14:27.585 UTC: %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
-Traceback= 8022E33C 8022E4BC
003947: Feb 18 02:14:27.761 UTC: %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
-Traceback= 8022E33C 8022E4BC
003948: Feb 18 02:14:27.929 UTC: %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
-Traceback= 8022E33C 8022E4BC
003949: Feb 18 02:14:29.149 UTC: %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
-Traceback= 8022E33C 8022E4BC
According to Error Explanation from Cisco Documentation (http://www.cisco.com/c/en/us/td/docs/ios/12_2sx/system/messages/122sxsms/sm2sx09.html#wp1022051)
suggests the TCP handles from a client could not be created or initialized
Error Message %TCP-3-FORKFAIL: Failed to start a process to negotiate options.
Explanation The system failed to create a process to handle requests from a client. This condition could be caused by insufficient memory.
Recommended Action Reduce other system activity to ease memory demands.
But I am still not sure about the exact root cause is as
1.The GET/GETNEXT / GET BULK messages from SNMP Manager (Here, IBM Tivoli Netcool ) uses default SNMP Port 161 which is
UDP and not TCP
2. If its ICMP Polling failure from IBM Tivoli Netcool , ICMP is Protocol Number 1 in Internet Layer of TCP/IP Protocol Suite and TCP is Protocol Number 6 in the Transport Layer of TCP/IP Protocol Suite .
So I am still not sure how TCP Protocol Process Failure could have caused ICMP Timeout . Please help !
Could you please help me on what TCP Protocol Process handles in a Cisco Switch ?
Regards,
Anup
Maybe you are looking for
-
I want to have a calendar in Mac Calendar that uses my own domain so that when I send meeting invites they come from my domain. I'd also like it to sync across all my apple devices. Anyone have a way to do this?
-
Difference between scripts and idocs
In real time why we are using scripts and idocs?what is the difference between scripts and idocs?pls tell me where we r using scripts and idocs?
-
Hashtable Vs Two Dimensional Array
Hi!!!!!!!!!!! Can i use Hashtable intead of Two dimensioanal Array in my application.
-
Webservices using PHP - PEAR SOAP Package
Hello, I am looking to query then use IDM attributes in our PHP based portal using webservices. THe PHP PEAR SOAP Client is the library I intend to use. Has anyone successfully used a PHP Library to extract IDM attributes? Below is the start of my ve
-
hi , mi name is Gaston from Argentina ,i have a new iphone 5 ,but i have a problems when i see the videos on-line with wi-fi . all time the video stoped . i check this problem in differents places and differents modem's , i dont have idea what is the