I have a java web application and java engine running simultaneously,
accessing same DB. I want to limit the usage of engine process so that
web users get reasonable performance.
1. If I want to share resources between web app and engine as 30:70,
how can I do that?
- Can this be done by "setlimit cpu" clause? What exactly does the
argument of "setlimit cpu" indicate? Number of CPU seconds per minute?
- Would changing the priorities of these two processes help?
2. Web application connects to DB through application server (say,
websphere). How can I distinguish this process from engine process?
What application is used to connect through JDBC calls?
Regards,
Vikas