Carrying Case Owner's Manual

56 Oracle TimesTen In-Memory Database Installation Guide
application
SHMEM_MAGIC may result with an Invalid Argument error
(EINVAL, errno=22) when attempting to connect to TimesTen.
If a connection is made to a data store with ExclAccess=1, then memory
windows will not be used. In this case, TimesTen does not allocate
shared memory but rather space for the data store is allocated from the
process' private data space.
Troubleshooting
TimesTen support may ask for all of the following in order to diagnose a
problem using memory windows.
How many memory windows do you have configured?
% /usr/sbin/kmtune -q max_mem_windows
What is the maximum shared memory segment size?
% /usr/sbin/kmtune -q shmmax
How many windows are you using?
% cat /etc/services.window
Do you have the correct instance in your path?
% ttVersion
% ttStatus
% getmemwindow tt_instance
Can you connect with a utility provided by TimesTen?
% ttIsql -connStr dsn=my_dsn
Can you successfully run a demo program? The TimesTen demos are
located under install_dir
/demo/
What other segments are in use?
% ipcs -m -a
Does "setmemwindow(1M)" or a TimesTen utility such as ttStatus
return silently when you expected output?
Check the error status from the “
setmemwindow” command.
What does the "
memwin_stats" tool show?
% memwin_stats -w
The memwin_stats tool may be downloaded from HP at
ftp://contrib:9unsupp8@hprc.external.hp.com/
What error are you getting when you try to connect?
The following list is not exhaustive but may help sort out the problem.