- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 24426 Memory fault
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2005 05:41 AM
06-15-2005 05:41 AM
the programmer received this error when he ran (i believe C program)to collect information on a message queue. "memory fault error".
below are some MAX parameters.
Do you think i should increase those parameters.
Thanks in advance.
Tom
The message:-
FMQLOGPATH=/opt/FMQClient/log export FMQLOGPATH;
FMQROOT=/opt/FMQClient export FMQROOT;
FMQCONNECT=SUNDC1 export FMQCONNECT;
#read from test queue
#/SUN/SUNCH/CPROG/fmqread DEVMSMQ
#read from production queue
/SUN/SUNCH/CPROG/fmqread SUNDC1
/tmp/readqch.2005162101012[13]: 24426 Memory fault
some of my MAX setting:
max_thread_proc 256 - 256
maxdsiz 0x10000000 - 0x10000000
maxdsiz_64bit 0x40000000 - 0X40000000
maxfiles 2048 - 2048
maxfiles_lim 4096 Y 4096
maxqueuetime - - 0
maxssiz 0x8000000 - 0X8000000
maxssiz_64bit 0x40000000 - 0X40000000
maxswapchunks 16384 - 16384
maxtsiz 0x4000000 Y 0X4000000
maxtsiz_64bit 0x40000000 Y 0X40000000
maxuprc 1024 Y 1024
maxusers 512 - 512
maxvgs 10 - 10
modstrmax 500 - 500
msgmap 4118 - (2+MSGTQL)
msgmax 8192 Y 8192
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2005 05:45 AM
06-15-2005 05:45 AM
Re: 24426 Memory fault
They are displayed by the ipcs comannd
ipcs
gpm/glance is a good tool for looking at shared memory use. If you are close to 100% then shmseg and shmmax may need an increase. I have yet to run into a system that fully utilized shared memory, even with Oracle running on it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2005 06:20 AM
06-15-2005 06:20 AM
Re: 24426 Memory fault
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2005 07:24 AM
06-15-2005 07:24 AM
Re: 24426 Memory fault
sounds like a programming issue at hand..
can you find the 'core' file related to this process ? how many bytes is this core ? ls -l the file for size..
you can verify the core is related to the executable by matching it using adb command.
# adb executable-file core-file
$c
$q
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2005 08:31 AM
06-15-2005 08:31 AM
Re: 24426 Memory fault
unfortunately, the person who wrote that code was not here and i only have the executable program.
Is there a shortcut to make the error goes away for now by increase some parameters and do the troubleshooting later.
Regards,
Tom
sema 1 - 1
semaem 16384 - 16384
semmap 8234 - (SEMMNI+2)
semmni 8232 - (NPROC*2)
semmns 16464 - (SEMMNI*2)
semmnu 4112 - (NPROC-4)
semmsl 2048 Y 2048
semume 10 - 10
semvmx 32767 - 32767
sendfile_max 0 - 0
shmem 1 - 1
shmmax 0x4000000 Y 0X4000000
shmmni 200 - 200
shmseg 120 Y 120
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2005 08:43 AM
06-15-2005 08:43 AM
Solutionhere's the thing, the forum guys suggested to study this process as it runs. did you study this process ? run: ps glance, etc.
as far as the kernel tuneables are concerned, this might be a smoking gun..
I don't believe this has anything to due to memory limits, its a core file (kernel aborted this program due to some illegal execution of either an instruction or accessing a memory region that not allowed by this program.)
do you have the source code for this module ? can you rebuild using the debug option (-g). if you can, then this is your best option.
http://www.unix.com/archive/index.php/t-13218.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2005 08:44 AM
06-15-2005 08:44 AM
Re: 24426 Memory fault
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2005 09:05 AM
06-15-2005 09:05 AM
Re: 24426 Memory fault
Will not mofdify any thing and ask the programmer to check out his coding.
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2005 09:30 AM
06-15-2005 09:30 AM
Re: 24426 Memory fault
I must suggest you try this TUSC command out. this will show you the System Calls that the program is running.
tusc -a -c -e -f -l -n -p
tusc -f -v -o
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/tusc-7.7/
ftp://ftp.cup.hp.com/dist/networking/tools/