nizamudeen
2nd October 2001, 09:54
We are using BaaN IVc4 under HP UNIX 11.0 with Oracle8i as the database. I would like like to know the optimum values for the SHM Parameters.
I feel even if i run shmvalues6.1, it always does not give the correct values suitable for the Operating system.
Can any one suggest the recommened values ?
Regards
Nizam
James
2nd October 2001, 12:11
Hi,
There are not really any 'optimal' settings for the shared memory parameters. These settings determine the behaviour of the OS shared memory allocated to Baan.
shmvalues6.1 just defines the,
1 Memory segment size,
2 Memory start address,
3 Memory step difference between segment start addresses,
4 Max number of memory segments
The default memory segment size is 16Mb. If you make this smaller, more segments will be used; if you make this bigger, less segments will be used. As far as I know, the number of segments has no impact whatsoever.
The memory start address and step size just define the location of the segments in memory - these values should not normally need to be changed.
Max number of memory segments is used to limit shared memory size available to Baan. The default is 30 segments which is pretty high - this upper limit will prevent any Baan memory problems intereferring with other OS applications/functionality.
So there are no optimal values for any of these parameters - they are just available so that memory settings can be tweaked should memory issues arise.
If you are having specific problems then let us know.
James
nizamudeen
2nd October 2001, 12:22
Hi James,
Thanks for the info you provided.
The reason i asked about this memory issue is that, when i try to post the integration transactions (of course , they are huge in amount), the system hangs and when i see the particular processes they are in the sleeping state. Hence i was having a doubt in my mind whether the reason might be the operating system resources...
any way, let me go through my system and come back to you if i require any assistance
Regards
James
2nd October 2001, 14:32
Hi Nizam,
Your problem is definitely not related to the shm params. Indeed at the moment it is both month and Q3 end, so a lot of activities will be going on which would make your system slower than normal.
Sleep state for processes is pretty normal and does not indicate a problem. If a bshell process is sleeping, its probably waiting for information to come back from the database via the database driver. So for example, a large number of reads/writes maybe being performed inside the database - the bshell must wait (sleep) for this info to be returned before continuing the processing.
marcel
2nd October 2001, 21:47
Hi:
Shared-memory communications:
For the link with BAAN IV, it is not possible to use shm since the bshell establishes multiple links to INFORMIX (for Oracle I don“t know) and shm is not able to handle multiple links. Perhaps check your bshell.
Normal is 10.
Bien le bonjour
Marcel