GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: multiple users for an application (?)
Operating System - HP-UX
1846556
Members
2173
Online
110256
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
05-14-2003 04:46 AM
05-14-2003 04:46 AM
multiple users for an application (?)
I have written a relatively simple application using Oracle Pro*C, which is just a precompiler that turns the Oracle calls into c code that gets compiled and linked by the HP-UX products. It is running on HP-UX 11i (64 bit) and interacts with Oracle 8i. Is there anything in terms of system resource management I need to include in order to have multiple concurrent users? I viewed this like 20 users logging in and running "top" or something. Is this an oversimplification? I know Oracle handles all the database calls, but I was wondering about things like shared memory, file usage, etc. Currently I am using only stack space (not heap) and am not using file I/O (I said it was simple...) Is there a good resource for this information if I do need to use it?
Thanks in advance!!!
Thanks in advance!!!
if only we knew...
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 04:58 AM
05-14-2003 04:58 AM
Re: multiple users for an application (?)
Hi,
If this is a relative simple application and a limited number of users I don,t think you need to modify any system parameters. There is a number of tools (for example vmstat and GPM) which you can use to monitor system activity.
If this is a relative simple application and a limited number of users I don,t think you need to modify any system parameters. There is a number of tools (for example vmstat and GPM) which you can use to monitor system activity.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 04:59 AM
05-14-2003 04:59 AM
Re: multiple users for an application (?)
On the client side, the client code is subject to all of the normal resource constraints - e.g. if the client is compute intensive, it'll look compute intensive on the client host.
On the database side, there are a number of tunes you have to look at - the tunes cap the resources available to things like the client processes. For example, the number of connections (processes) for Oracle; there are also memory constraints, etc.
If the client host and the database host are the same, then add paragraph 1 and paragraph 2.
On the database side, there are a number of tunes you have to look at - the tunes cap the resources available to things like the client processes. For example, the number of connections (processes) for Oracle; there are also memory constraints, etc.
If the client host and the database host are the same, then add paragraph 1 and paragraph 2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 06:30 AM
05-14-2003 06:30 AM
Re: multiple users for an application (?)
You need to do things like: How many files handles will be open by each application? - in addition to all the routine needs of the OS. Will nfile thus need to be increased? Will any one of my applications need many files opens so that I need to look at maxuprc?
How much memory does each process use? (some of it's shared like text/shared library) - so don't count more than once but some is unique to each process. Do I have enough memory so that the box is not driven into swapping.
Having said all this, pulling 20 small applications is really nothing. The one red flag that I saw was your statement that you use only stack space. This implies that you are running static arrays. Generally, that's a bad thing. You either make them big, safe - and wasteful or they are undersized -requiring a compile to fix things. The better technique is to learn to use dynamic allocation and allow you arrays to grow "on the fly".
How much memory does each process use? (some of it's shared like text/shared library) - so don't count more than once but some is unique to each process. Do I have enough memory so that the box is not driven into swapping.
Having said all this, pulling 20 small applications is really nothing. The one red flag that I saw was your statement that you use only stack space. This implies that you are running static arrays. Generally, that's a bad thing. You either make them big, safe - and wasteful or they are undersized -requiring a compile to fix things. The better technique is to learn to use dynamic allocation and allow you arrays to grow "on the fly".
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP