- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SIGSEGV ERROR!!!!!!!
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
07-19-2003 11:55 PM
07-19-2003 11:55 PM
I using hp_ux 10.20.
I have a problem with an application.
I get "memory fault (SIGSEGV).
Can I resolve it?
Thanks
Amir
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2003 12:33 AM
07-20-2003 12:33 AM
Solutionor data segment size of a proccess.
Check these with
echo maxdsiz/D | adb /stand/vmunix /dev/kmem
echo maxssiz/D | adb /stand/vmunix /dev/kmem
maxdsiz is 64mb by default,can be encreased to
1-2gb values.Can do this with SAM also.
Note,adb maxdsiz value is in 4kb pages , so divide by 4.
Regards,
Zeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2003 02:51 AM
07-20-2003 02:51 AM
Re: SIGSEGV ERROR!!!!!!!
application needs segment sizes .For more
details read size man page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2003 11:30 AM
07-20-2003 11:30 AM
Re: SIGSEGV ERROR!!!!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 03:40 AM
07-24-2003 03:40 AM
Re: SIGSEGV ERROR!!!!!!!
It's a backup software.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 07:00 AM
07-24-2003 07:00 AM
Re: SIGSEGV ERROR!!!!!!!
Use size command.size /
Next,
echo "maxdsiz/D" | adb /stand/vmunix /dev/kmem
echo "maxtsiz/D" | adb /stand/vmunix /dev/kmem
echo "maxssiz/D" | adb /stand/vmunix /dev/kmem
Compare with size output.
and don't forget to give points.
Zeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2003 12:02 AM
07-27-2003 12:02 AM
Re: SIGSEGV ERROR!!!!!!!
You will get some point's... (Just kidding you will get them all).
Now my output is:
"maxdsiz/D" | adb /stand/vmunix /dev/kmem
maxdsiz:
maxdsiz: 16384
echo "maxtsiz/D" | adb /stand/vmunix /dev/kmem
maxtsiz:
maxtsiz: 16384
echo "maxssiz/D" | adb /stand/vmunix /dev/kmem
maxssiz:
maxssiz: 2048
My size output:
size ./bru
161236 + 35392 + 15184 = 211812
The number for the kernel parameters, suppose to be like the number of the size output?
If so, is it going to effect any other application, database?
Amir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2003 02:18 AM
07-27-2003 02:18 AM
Re: SIGSEGV ERROR!!!!!!!
this binary calls another binaries (with more memory requests etc).
Ok,as you have 10.20 here are the values :
---------------------------------------------
maxdsiz
Specify the maximum data segment size for an executing process.
Acceptable Values:
Minimum: 0x400000 (4 Mbytes)
Maximum: 0x3B031000 (944 Mbytes)
Default: 0x4000000 (64 megabytes)
---------------------------------------------
maxssiz
Set the maximum dynamic storage segment (DSS) size in bytes.
Acceptable Values:
Minimum: 0x4000 (16 Kbytes)
Maximum: 0x4FB3000 (approx. 79 Mbytes)
Default: 0x800000 (8 Mbytes)
---------------------------------------------
maxtsiz
Set maximum shared-text segment size in bytes.
Acceptable Values:
Minimum: 0x40000 (4 Mbytes)
Maximum: 0x40000000 (4 Gbytes)
Default: 0x4000000 (64 Mbytes)
---------------------------------------------
So enlarge maxdsiz to say,128Mb (you have 4 now), maxtsiz to 128Mb (also have 4 now) and maxssiz to 64mb (have 1/2 mb now).
You can do this using SAM.adb shows you values in pages of 4kb each (run "sysdef|grep max").
For example maxdsiz - 64mb = 67108864 bytes = 0x4000000 in hex.
This requires kernel rebuild and system reboot.
Hope this helps
Zeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2003 12:39 PM
07-27-2003 12:39 PM
Re: SIGSEGV ERROR!!!!!!!
As you can see that your values are not
enought for the program that you want to use
so you need to change them for your application
You can do it with SAM,
change the value:
maxdsiz-> 100 - 140 MB
maxssiz-> 60 - 74 MB
maxtsiz-> 100 - 140 MB
It's almost would affect on the kernel,
it will probably take a few sec. more on the
boot (load of the kernel)
But you really have small values.
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2003 03:29 AM
07-28-2003 03:29 AM
Re: SIGSEGV ERROR!!!!!!!
According to the information I gave you befor you wrote me that the maxdsize value is 4MB.
When I'm looking on my kernel parameters via Sam and see that the value is 64MB:
Name Current Pending
maxdsiz 67108864 67108864
I'm a little bit confused.
Can you clear that one for me?
*another question for you:
My backup application is running almost 4 years, what happened that suddenly the parameters is not good enough or ( MA NISHTANA BKERNEL HAZE MIKOL HKERNELIM)
Cheers
Have fun
Amir