1849143 Members
4266 Online
104041 Solutions
New Discussion

Re: ulimit output

 
Pattabhi
Frequent Advisor

ulimit output

ulimit -a
Name Softlimit Hardlimit
CORE 2214726718 unlimited
CPU unlimited unlimited
DATA -134283264 -134283264

Can some one help me with the data output. i know,can it be a -ve value?? this output is on the customer machine, let me know if the output is valid.

Thanks
Pattabhi Raman
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: ulimit output

Shalom,

Whats the OS.

This output doesn't look like any HP-UX machine I have around here. We have nearly 100.

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
Pattabhi
Frequent Advisor

Re: ulimit output

Hi,

Here is the requested details

Sysname: HP-UX
Release: B.11.11
Version: U
Machine: 9000/800
Bitmode: 64

Also the previous output was typed in by me and not a cut and paste from th esystem.

Regards,
PAttabhi RAman
Bill Hassell
Honored Contributor

Re: ulimit output

Let's start with the shell since a normal shell has ulimit as a builtin. What do the commands:

type ulimit
echo $SHELL

report? The header and the capitalization is definitely not from a Bourne, POSIX, or Korn shell.


Bill Hassell, sysadmin
Pattabhi
Frequent Advisor

Re: ulimit output

Hi,

The shell is ksh.

The output is collected from on of our tools, so you see the capitalisation. we get the entire system environment from the same.
Bill Hassell
Honored Contributor

Re: ulimit output

Since your example is from your special tools, we can't provide much help. From ksh, just type the command:

ulimit -a

and post those results. From your question:

> can it be a -ve value?

I am assuming that you are questioning the negative value for DATA, and no, ulimit will not report a negative value. Most likely your tools may have made a calculation and signed integer overflow has occurred. This is a programming error. If ulimit reports a negative value, you are likely not up to date on patches.


Bill Hassell, sysadmin
Pattabhi
Frequent Advisor

Re: ulimit output

Bill,

Our application, just executes the command on the machine and captures the output, so it guess there is no calculations going on there. its been working fine for other HP machines.

Since the issue is on this particular machine we are wondering if it might be because of the ulimit (data) value.

Thanks for your time.

Regards,
Pattabhi Raman
Bill Hassell
Honored Contributor

Re: ulimit output

What does ulimit -a by itself report? Run the command using the POSIX shell since ulimit is a shell built-in. If there is a difference, the shells probably patches.


Bill Hassell, sysadmin
Dennis Handly
Acclaimed Contributor

Re: ulimit output

The value you have is most likely: 4160684032

>just executes the command on the machine and captures the output, so it guess there is no calculations going on there.

Captures it how? As a string, or do you convert it to an long/int? This would be your problem as Bill says.