Operating System - HP-UX
1751968 Members
4605 Online
108783 Solutions
New Discussion юеВ

detection of alignment fault HPUX 11.00

 
SOLVED
Go to solution
inactive account
Frequent Advisor

detection of alignment fault HPUX 11.00

Hi

I can see with Glance that I have a lot of Vfault which are i presume alignment faults.

How can I detect at run-time where in the code the error occurs? Is there an option to set at complie time to generate an output or a stack_frame trace?

Thanks

Laurent
4 REPLIES 4
Steven E. Protter
Exalted Contributor
Solution

Re: detection of alignment fault HPUX 11.00

You might want to collect some more data on this issue.

Script attached.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
keith persons
Valued Contributor

Re: detection of alignment fault HPUX 11.00

Laurent,

The Vfault as listed in the processor screens for Glance/GPM do not indicate alignment faults. Vfault is the time spent by the processor handling page faults - that's all. I think the alignment your are referring to mainly comes into play during compilation on RISC platforms.

Keith
T G Manikandan
Honored Contributor

Re: detection of alignment fault HPUX 11.00

vfault indicates virtual fault which means that there is paging on the server.

It looks like the load on the memory on high.
If there are too many vfaults, it could
probably indicate a high
load on memory.
inactive account
Frequent Advisor

Re: detection of alignment fault HPUX 11.00

Thanks to everyone who took time to reply.

My surprise then is that other processes have strictly no vfault at all. The process that have these vfaults is having 4000 vfaults/5sec but the system memory is not full ( I have 2 G of RAM and Glance tell that 1 G is available.
PS: To avoid forced switches i reniced the process to -16.
my whole application use a hundred processes with about 10 threads each