Sponsored Content
Full Discussion: MINFLT on a Tru64 Unix OS
Top Forums UNIX for Dummies Questions & Answers MINFLT on a Tru64 Unix OS Post 90023 by Fco on Thursday 17th of November 2005 01:46:21 PM
Old 11-17-2005
MINFLT on a Tru64 Unix OS

Hello:
I have a question here, ¿What is the ps parameter MINFLT on a Tru64 Unix OS?,
As far as I can know, it just refers to all the page swaps that have failed when accessing to the memory (RAM).

If that is true, i would like to explain my case: I have a process that runs continuosly day and night (except for a moment at night that is restarted), this process runs on a machione that has the following characteristics:
+ 4 CPU's Alpha (486 MHz each)
+ 8GB of RAM (Real Memory)
+ 8GB of Virtual Memory.
+ The ARQ is a Digital Alpha (1997)
My process start to reserve a total og 5.01 GB (on VSZ) and each time it gets a file it moves to RSS an average of 750 MB. During the day and while processing files the system MINFLT increments steadily until its restart. Up to here is the normal running.
Now it comes the wierd situation. Sometimes the process picks a file and starts to reserve memory, but before it finish to allocate all the memory need for this file, the MINFLT starts to increment exponencially moving in no time from 20.000.000 to 2.000.000.000 pages and the process takes 99% of the CPU and looks like is hang. However during this process the OS never says anything. Here are my questions:
1.- Can this problem be because the systems runs out of memory?
2.- If the process runs out of memory, Why doesn't react the OS? (Just like killing the process and dumping a core)
3.- Is there any bug on a Tru64 related to this problem?

Notes: We know the system is low on memory when running and we also know that the process may have a little memory leak (No more than 170 MB / 5010 MB per 24 continuos running). This has happened around 5 times in the last 3 months.

Personal Note: I am not an Unix admin, so If something I ask is obvious, sorry.

THanks in Advance.
Fco Jaen
 

9 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

tru64 unix

Can anyone help me with tru64 unix. We have just got a new server with this already loaded on, we don't have the CDrom. We are trying to establish the common features ie smit,printers,users and day to day commands. Any help would be greatly appreciated. thanks (8 Replies)
Discussion started by: jacl
8 Replies

2. UNIX Desktop Questions & Answers

tru64 unix

Whick book would I get for dummies learning tru64, ie basics. thankyou (1 Reply)
Discussion started by: jacl
1 Replies

3. HP-UX

Unix HP Tru64

Hi experts, I hope someone can help me with these simple tasks as I am new in Unix environment. I need to create a file system for backup purpose, therefore I need to know the commands in Unix. 1) What is the command to check my disk drives to see how much available space is not allocated... (2 Replies)
Discussion started by: kingsto88
2 Replies

4. UNIX for Dummies Questions & Answers

Help In Compaq Tru64 UNix

Hi, I am new to UNIX. I need help in working with Compaq-UX TRU64 OS. How It work FTP Server? ANd MAil Server? and I have apach pprogram project and it work as HTTP Server. Also I need how can setup a new version of progrm on UNix like mozilla and adobe reader etc........... Thank... (3 Replies)
Discussion started by: svuad
3 Replies

5. Linux

How do cron restart on unix Tru64?

hi all, How do cron restart on unix Tru64? because don't run my cron jobs. few days age it's running fine. I did below steps: 1. cd /usr/sbin 2. cron stop response: "! Cron is already running. Exiting... Tue Nov 27 14:38:00 2007" 3. cron start response: "! Cron is already running.... (2 Replies)
Discussion started by: Tlg13team
2 Replies

6. Shell Programming and Scripting

Sent mail from unix tru64

hi all, I need send mail from unix tru64 to mymail@domain.com use shell script. i saw result of "man mail", "man mailx" commands on my unix tru64 server, but i don't understand how to sent mail.... Please advice any suggestion or help? (1 Reply)
Discussion started by: Tlg13team
1 Replies

7. UNIX for Dummies Questions & Answers

Tru64-unix

Hello everybody I am new in TRU64 UNIX and i would really appreciate if somebody can help me with some info regarding the classification of the user rights of this OS. The types of user i know from previous experience in HP-UX 11 i is the root user or the superuser, the user admn that is the... (0 Replies)
Discussion started by: adak2010
0 Replies

8. UNIX for Advanced & Expert Users

dd using Digital Unix Tru64

Hi I am posting this in this area because I couldn't find a better place. I am trying to make exact copies of my disk that I use in an old DEC3000. I loaded the one disk then used dd dd if=/dev/rrz0c of=/dev/rrz1c I started this a 6pm last night here in Wales. It is now 2pm the next day,... (4 Replies)
Discussion started by: mndavies
4 Replies

9. Solaris

autocomplete Path on UNIX (TRU64)

Hi, i need autocmplete file_name/dir_name by TAB key. I work on UNIX (TRU64) and I just tried to type on .profile this setting: set autolist but it doesn't work. I think it is because this command doesn't belong to this UNIX version (sure it works for example on HP-UX). I need to set it... (0 Replies)
Discussion started by: D4vid
0 Replies
MLOCKALL(2)						     Linux Programmer's Manual						       MLOCKALL(2)

NAME
mlockall - disable paging for calling process SYNOPSIS
#include <sys/mman.h> int mlockall(int flags); DESCRIPTION
mlockall disables paging for all pages mapped into the address space of the calling process. This includes the pages of the code, data and stack segment, as well as shared libraries, user space kernel data, shared memory and memory mapped files. All mapped pages are guaranteed to be resident in RAM when the mlockall system call returns successfully and they are guaranteed to stay in RAM until the pages are unlocked again by munlock or munlockall or until the process terminates or starts another program with exec. Child processes do not inherit page locks across a fork. Memory locking has two main applications: real-time algorithms and high-security data processing. Real-time applications require determin- istic timing, and, like scheduling, paging is one major cause of unexpected program execution delays. Real-time applications will usually also switch to a real-time scheduler with sched_setscheduler. Cryptographic security software often handles critical bytes like passwords or secret keys as data structures. As a result of paging, these secrets could be transfered onto a persistent swap store medium, where they might be accessible to the enemy long after the security software has erased the secrets in RAM and terminated. For security applications, only small parts of memory have to be locked, for which mlock is available. The flags parameter can be constructed from the bitwise OR of the following constants: MCL_CURRENT Lock all pages which are currently mapped into the address space of the process. MCL_FUTURE Lock all pages which will become mapped into the address space of the process in the future. These could be for instance new pages required by a growing heap and stack as well as new memory mapped files or shared memory regions. If MCL_FUTURE has been specified and the number of locked pages exceeds the upper limit of allowed locked pages, then the system call which caused the new mapping will fail with ENOMEM. If these new pages have been mapped by the the growing stack, then the kernel will deny stack expansion and send a SIGSEGV. Real-time processes should reserve enough locked stack pages before entering the time-critical section, so that no page fault can be caused by function calls. This can be achieved by calling a function which has a sufficiently large automatic variable and which writes to the memory occupied by this large array in order to touch these stack pages. This way, enough pages will be mapped for the stack and can be locked into RAM. The dummy writes ensure that not even copy-on-write page faults can occur in the critical section. Memory locks do not stack, i.e., pages which have been locked several times by calls to mlockall or mlock will be unlocked by a single call to munlockall. Pages which are mapped to several locations or by several processes stay locked into RAM as long as they are locked at least at one location or by at least one process. On POSIX systems on which mlockall and munlockall are available, _POSIX_MEMLOCK is defined in <unistd.h>. RETURN VALUE
On success, mlockall returns zero. On error, -1 is returned, errno is set appropriately. ERRORS
ENOMEM The process tried to exceed the maximum number of allowed locked pages. EPERM The calling process does not have appropriate privileges. Only root processes are allowed to lock pages. EINVAL Unknown flags were specified. CONFORMING TO
POSIX.1b, SVr4. SVr4 documents an additional EAGAIN error code. SEE ALSO
munlockall(2), mlock(2), munlock(2) Linux 1.3.43 1995-11-26 MLOCKALL(2)
All times are GMT -4. The time now is 06:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy