- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Kernel parameter
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
03-04-2004 06:59 PM
03-04-2004 06:59 PM
Kernel parameter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2004 07:04 PM
03-04-2004 07:04 PM
Re: Kernel parameter
Not too sure what you mean by "controls the execution of a file at around 100MB in size?"
Could you expand taht one a bit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2004 07:17 PM
03-04-2004 07:17 PM
Re: Kernel parameter
Bisides the ulimit there is a filesystem limit if nolargefile option is used creating the filesystem. This limit is set at 2 GB. There also can be a user quota. This also is set up on the filesystem, and can be set to a number of files ( inodes) and total size of the e.g. homedir.
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2004 07:25 PM
03-04-2004 07:25 PM
Re: Kernel parameter
There is no kernel parameter for limiting the size of the file.
As advised, check "ulimit" and "quota".
If the filesystem is not configured with largefiles support than it will not allow creating a file more then 2 GB.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2004 08:26 PM
03-04-2004 08:26 PM
Re: Kernel parameter
Thanks! I appreciate your replies, however, to elaborate my concerns; is there a kernel parameter that limits the file size to be executed in an HP-UX 10.20 environment?
For example:
10MB executable file is to be executed, is there a kernel parameter that would not allow this execution?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2004 08:28 PM
03-04-2004 08:28 PM
Re: Kernel parameter
No, but there are kernel parameters limiting the ammount of memory a process can use.
like maxdsize maxssize maxtsize ( all _64bit aswell)
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2004 08:45 PM
03-04-2004 08:45 PM
Re: Kernel parameter
The kernel parameter values for the parameters that you've mention are more than the 10MB barrier they're almost close to 100MB. Therefore, that would rule-out those parameters.
Anyways, if you guys have any more suggestions then, just send me a reply.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2004 01:26 AM
03-05-2004 01:26 AM
Re: Kernel parameter
So that parameter is not a ood place to limit program sizes. Instead, use ulimit -d which will prevent a program from requesting more than ###kbytes of RAM. For instance, ulimit -d 10000 will not allow programs larger than 10 megs to run. I suspect that you have specific users that are abusing the system so you can put this limit in /etc/profile and make a test to see if a specific user is logging in...if so, set the ulimt -d value. But don't set the limit for a user like oracle.
NOTE: You may be requesting this limit because an important program is failing tro run with an error that says not enough memory. Since HP-UX is a virtual memory machine, you can run programs that are too big to fit into memory. Just provide additional swap space. But there is a nother concern: 32bit programs have big problems addressing more than 900 megs of memory. See several threads here in the forums about that issue. And of course, a large program may require more than 64megs of RAM and your default value for maxdsiz may be causing the lack of memory message.
To sort all the programs by memory usage:
UNIX95= ps -e -o vsz,pid,ruser,args|sort -rn|more
This will give you an idea which programs are using memory.
And finally, a program may need shared memory but fails to identify that it needs this special memory when it gives an error. There are shared memory kernel psrsmeters that limit the maximum amount of shared memory.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2004 05:33 PM
03-05-2004 05:33 PM
Re: Kernel parameter
Regards
John