Unix Technical Forum

maxfiles and maxfiles_lim

This is a discussion on maxfiles and maxfiles_lim within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> I am running the tzupdater for Java from HP and it errors out because of the maxfiles limit. HP ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 05:52 AM
Robert Hicks
 
Posts: n/a
Default maxfiles and maxfiles_lim

I am running the tzupdater for Java from HP and it errors out because
of the maxfiles limit. HP said to change both of those parameters to
'4096'.

I know I can do:

kmtune -s maxfiles=4096
kmtune -s maxfiles_lim=4096
kmtune -u

That will update those parameters. What I have found is if those two
parameters are dynamic or whether I will have to rebuild the kernel
and reboot or just reboot after the change or no reboot necessary
because they are dynamic values.

Robert

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 05:52 AM
Rick Jones
 
Posts: n/a
Default Re: maxfiles and maxfiles_lim

Robert Hicks <sigzero@gmail.com> wrote:
> I am running the tzupdater for Java from HP and it errors out
> because of the maxfiles limit. HP said to change both of those
> parameters to '4096'.


> I know I can do:


> kmtune -s maxfiles=4096
> kmtune -s maxfiles_lim=4096
> kmtune -u


> That will update those parameters. What I have found is if those two
> parameters are dynamic or whether I will have to rebuild the kernel
> and reboot or just reboot after the change or no reboot necessary
> because they are dynamic values.


I am not quite sure what you are trying to say in the paragraph above
- are there some missing "not"'s in there? Whether a given tunable is
dynamic depends on the OS release - later OS releases have a greater
percentage of dynamic tunables. I was under the impression that the
list one can get from kmtune/kctune had some indication as to whether
or not a rebuild/reboot was required.

It has been a while since I've messed with those things, but you may
also want to check the process's ulimits.

rick jones
--
portable adj, code that compiles under more than one compiler
these opinions are mine, all mine; HP might not want them anyway...
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 05:52 AM
Robert Hicks
 
Posts: n/a
Default Re: maxfiles and maxfiles_lim

On Mar 2, 3:25 pm, Rick Jones <rick.jon...@hp.com> wrote:
> Robert Hicks <sigz...@gmail.com> wrote:
> > I am running the tzupdater for Java from HP and it errors out
> > because of the maxfiles limit. HP said to change both of those
> > parameters to '4096'.
> > I know I can do:
> > kmtune -s maxfiles=4096
> > kmtune -s maxfiles_lim=4096
> > kmtune -u
> > That will update those parameters. What I have found is if those two
> > parameters are dynamic or whether I will have to rebuild the kernel
> > and reboot or just reboot after the change or no reboot necessary
> > because they are dynamic values.

>
> I am not quite sure what you are trying to say in the paragraph above
> - are there some missing "not"'s in there? Whether a given tunable is
> dynamic depends on the OS release - later OS releases have a greater
> percentage of dynamic tunables. I was under the impression that the
> list one can get from kmtune/kctune had some indication as to whether
> or not a rebuild/reboot was required.
>
> It has been a while since I've messed with those things, but you may
> also want to check the process's ulimits.
>
> rick jones
> --
> portable adj, code that compiles under more than one compiler
> these opinions are mine, all mine; HP might not want them anyway...
> feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...


Probably my English wasn't that good... : )

maxfiles_lim is dynamic...so I changed that and it fixed my problem.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:14 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com