|
From: Stas O. <sta...@gm...> - 2008-10-01 14:31:08
|
Hi Leif. Thanks, I see. Do you have any idea how to find current priority level (so I could increase 1 by 1). Regards. 2008/10/1 Leif Mortenson <le...@ta...> > Stas, > On linux, open your wrapper shell script in an editor and modify the > PRIORITY value found in the settings section towards the top. These > are standard nice levels, so look at "man nice" for details. > > Cheers, > Leif > > On Wed, Oct 1, 2008 at 9:44 PM, Stas Oskin <sta...@gm...> wrote: > > Hi Leif. > > > > 2008/10/1 Leif Mortenson <le...@ta...> > >> > >> Stas, > >> That's great news. The memory leaks were in the Java code? What are > >> you maximum memory settings set to? Are they low enough that the > >> entire JVM will fit in memory without any swapping along side the OS > >> and other apps being used? Java performs very poorly when its memory > >> is being swapped out. (Not a Wrapper issue) > > > > The leaks were in JNI code and quickly took the whole memory. This caused > > Java to swap. > > > >> > >> About the CPU, I reread this thread but I don't think you ever told me > >> what platform you are running on. That will make a big difference. > >> Under UNIX, there is a setting in the shell script which allows you to > >> specify a "nice" level to control the priority. > > > > We use Linux - CentOS distro. What setting we should look to? > > > >> > >> On Windows, it is done using the > >> wrapper.ntservice.process_priority=NORMAL property. Please be sure to > >> read the warnings in the documentation. > >> > >> > http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-process-priority.html > >> > >> Normally on most platforms, the OS gives priority to the Windowing > >> system and those processes to make them more responsive. That is why > >> on UNIX, it is good to run servers in a headless environment. > > > > Hmm, we running the server without any X installed, strictly via console > - > > is this what you call headless? > > > > Actually, this is the main app the server was targeted to, so we indeed > > prefer to give it all the priority we can (without hanging the OS of > > course). > > > > Regards. > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Wrapper-user mailing list > > Wra...@li... > > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |