Set execution thread number
I am running WLS6.1SP1, and in the tab configuration/tunning, I did not see a place
that let me set the number of execution threads, does any body know where to set
it ?
thanks
zhou
I found this on weblogic.developer.interest.performance just minutes after my last post:
1. Click on "Servers" folder in tree to expand it to where you can see the server you want to work with (if necessary).
2. Right-mouse click of the server you want to work with. This will display a track pop-up menu. Select the "View Execute Queues" menu option.
3. Click the link for the "default" execute queue in the HTML table that is displayed. Afterwards, you should see the screen you are accustomed to using to adjust the execute threads count.
4. Change the value in the field next to the "Thread Count" label and click the "Apply" button.
I don't know why I didn't think of that...
Dave
On Mon, 03 Jun 2002 19:08:16 GMT, [email protected] (David W. Archer) wrote:
I think it's missing from the GUI. It's in config.xml as:
<Server ...>
<ExecuteQueue Name="default" ThreadCount="50"/>
/Server>
On 11 Apr 2002 12:43:04 -0800, "x zhou" <[email protected]> wrote:
I am running WLS6.1SP1, and in the tab configuration/tunning, I did not see a place
that let me set the number of execution threads, does any body know where to set
it ?
thanks
zhou
Similar Messages
-
Thread number limitation on Sun One Web Server 6.1 on Solaris 9
Hi.
I am testing my servlet on Web Server 6.1 on Solaris 9 (SPARC). I am logging start of HTTPServlet.doPost() method and end of it, by calling GenericServlet.log() method for perfomance check.
When I request more than two request(it takes long time) simultaneously from browser, my servlet logs like:
doPost start
doPost start
doPost end
doPost start
doPost end
doPost start
:that is ,two requests is processed concurrent by threads, and another requests waiting, and after each running thread ends, waiting request is processed one by one.
I think there is some limitation of thread or connections, so I checked magnus.conf. But RqThrottle is set to 128. And I cannot find any thread number settings.
My magnus.conf is as follows.
# The NetsiteRoot, ServerName, and ServerID directives are DEPRECATED.
# They will not be supported in future releases of the Web Server.
NetsiteRoot /export/home0/SUNWwbsvr
ServerName test03
ServerID https-test03
RqThrottle 128
DNS off
Security off
PidLog /export/home0/SUNWwbsvr/https-test03/logs/pid
User webservd
StackSize 131072
TempDir /tmp/https-test03-8ac62f09
UseNativePoll off
PostThreadsEarly on
KernelThreads off
Init fn=flex-init access="$accesslog" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length%"
Init fn="load-modules" shlib="/export/home0/SUNWwbsvr/bin/https/lib/libj2eeplugin.so" shlib_flags="(global|now)"Why web server do not process more than two requests concurrent? Which server configuration should I check?
Thanks in advance.I don't think I ever ran into that kind of a limit. Does the servlet use database connections (maybe the connection pool is empty) or other critical sections / large synchronized blocks?
Try a minimal servlet that takes a while to execute:
doGet(...)
log("sleep starting " + Thread.currentThread().getName());
try {
Thread.sleep(30000);
} catch (Exception e) { }
log("sleep done " + Thread.currentThread().getName());
response.getOutputStream().println("good morning"); -
Hello,
I add OpenMP directives in my code, do "setenv OMP_NUM_THREADS 4", then run the code. When the code is running, I use "top" utility to look at this running job. One column "THR" in the "top" screen shows "6" for this job. I only set to use at most 4 threads, why are there "6" threads? I then tested different thread numbers, when I set thread number to 1,2,3,4, respectively, the running process actually uses 3,4,5,6 threads respectively. So, even if I want it to run serially by set 1 thread, it still create 3 threads.
If I compile the real serial code which has no OpenMP directives at all, the code would run as a real serial code, "top" indicates only 1 thread is created.
This kind of behavior is not expected, anything wrong with SUN compiler or parallel run time system? I am using Studio8 compiler on 4-processor SUN fire V880 system.
Anybody has similar experience?
Thanks for any input or comments.
JeffIt's likely that you're running on Solaris 8 or older, and not
using the 1-to-1 libthread. (/usr/lib/lwp on Solaris 8)
That threads library creates extra threads for "internal" use,
like catching signals.
The OMP variable controls how many threads the OMP library
creates, not how many will be in the process.
The extra threads don't normally run code except during special
cases like signal processing.
On newer versions of Solaris you can use "prstat -L" to get a top-like
display showing all active LWP's. This would be a good tool to see
how many threads are actually doing work at once in your OpenMP program.
--chris -
Thread number per connection crash 4.16
We are using a program in a loop, we add 500 entry in 2 minutes. If the
thread number per connection is set to 5 or 10, the Netscape Directory
Server 4.16 got disorderly shutdown and dump a core. If we set this as 1,
the server works fine.
Could you please tell me what is the problem? Is this version not reliable?
Thanks,
PeterPeter Pan wrote:
We are using a program in a loop, we add 500 entry in 2 minutes. If the
thread number per connection is set to 5 or 10, the Netscape Directory
Server 4.16 got disorderly shutdown and dump a core. If we set this as 1,
the server works fine.
Could you please tell me what is the problem? Is this version not reliable?What does it say in your error log? Is the number of threads per connection times the number of connections greater than the
threadnumber? Are you sure you have tuned your kernel parameters to allow a large number of threads per process and per kernel?
>
>
Thanks,
Peter -
Execution thread hang after OCIBreak
Hie,
We have a oci-based interface program for execution stored procedures; each procedure have a maximum execution time. After that amount of time we use OCIBreak to stop execution. Program have number of ordinary execution threads and a separate thread (watcher) for execution monitoring and issuing OCIBreak if required.
Everything goes well, but sometimes watcher calls OCIBreak and execution thread instead of termination of a database call with error falls into sleeping state until the kill of the whole process.
Platform solaris 10, sparc, Oracle 10gR2
truss reports
read(11, 0x001C1E56, 2064) (sleeping...)
gdb points somewhere in OCIStmtExecuteNo, I was not able to find a clear description on how to run queries in parallel for nonblocking mode and decided not to use it.
-
Hi ,
We are planing to upgrade our 10g R2 CRS to 11g R2 CRS on HP-UX server ,while running cluvfy tool we are getting the below error.Please help me to fix this issue.
Checking settings of device file "/dev/async"
Node Name Available Comment
erpdev04 yes failed (incorrect setting for minor number.)
erpdev03 yes failed (incorrect setting for minor number.)
Result: Check for settings of device file "/dev/async" failed.
Pre-check for cluster services setup was unsuccessful on all the nodes.
oracle.oracle.erpdev03.fwprod_app1> (/app/oracle/oracle_source/patches/bin)# /sbin/mknod /dev/async c 101 0x104
-
How can I set a variable number of values in a SQL IN clause?
Hi,
How can I set a variable number of values in a SQL IN clause without having to change the text of the SQL statement each time?
I read the link http://radio.weblogs.com/0118231/2003/06/18.html. as steve wrote.
SELECT *
FROM EMP
WHERE ENAME IN (?)
But we need the steps not to create type in the system and would there be any other solution if we would like to use variable number of values in a SQL IN clause ?
We are using JDeveloper 10.1.3.2 with Oracle Database 10.1.3.2
Thanks
RajHi,
can you please explain why the solution from steve is not the right solution for you.
regards
Peter -
Set up Trip Number by Company Code, not Personnel Area
Hi Gurus,
I'm implementing Travel Management Module and I am totally new.
There are more than 400 Personnel Areas in the system so I'm just wondering whether it is possible to set up trip number rage by Company Code rather than Personnel Areas.
Anyone encounter this, and how did you get around?
I've heard that user exit MP56TFEX can be used, but how? - (Please note that I'm totally new to user-exit)
Thank you in advance
Cheers
DavidHi
Go through this link if you are new TV,hope you will get a idea.
http://help.sap.com/bp_bblibrary/600/BBlibrary_start.htm
J09: Travel Management
cya
udayakumar -
Hello,
Can someone help me to activate the Call Forwarding option on IPhone 5, OS 6.01 ??
Currently I am trying:
* Settings -> Phone -> Call Forwarding -> "ON" -> SET THE PHONE NUMBER ->"Call Forwarding button"
But when the screen returns to Call forwarding, the option returns to "OFF" mode.
* I already try to call to *72 to "activate" the call forwarding option, just didn't work.
I don't know if I need to do an additional configuration, If someone has an idea, please let me know!!
Regards
CamiWho is your carrier? Not all carriers support enabling and disabling call forwarding using the controls in Settings.
-
Setting a sequential number to records placed into groups?
Hello I have one table with records which can be grouped and I want to know if I can set an ordinal number to each record and when the group breaks set 1 again to the first record of the group and then 2 to next...3 to next....until group breaks again.....
the first thing I need is order the records according the group then number each record inside the group sequentially from 1 to ..n (numbers or records of the group).
Can I do this???
Thanks in advanceHello
you can use the row_number analytic function
WITH gp AS
( SELECT 1 id, 1 family_id,to_date('29/06/1966','dd/mm/yyyy') dob from dual union all
SELECT 2 id, 1 family_id,to_date('22/06/1986','dd/mm/yyyy') dob from dual union all
SELECT 3 id, 2 family_id,to_date('04/03/1975','dd/mm/yyyy') dob from dual union all
SELECT 4 id, 3 family_id,to_date('01/04/1990','dd/mm/yyyy') dob from dual union all
SELECT 5 id, 3 family_id,to_date('10/01/1996','dd/mm/yyyy') dob from dual union all
SELECT 6 id, 3 family_id,to_date('21/09/2000','dd/mm/yyyy') dob from dual
SELECT
id,
family_id,
dob,
ROW_NUMBER() OVER(PARTITION BY family_id ORDER BY DOB) rn,
ROW_NUMBER() OVER(PARTITION BY family_id ORDER BY DOB DESC) rn_desc
FROM
gp
ID FAMILY_ID DOB RN RN_DESC
1 1 29-JUN-1966 00:00:00 1 2
2 1 22-JUN-1986 00:00:00 2 1
3 2 04-MAR-1975 00:00:00 1 1
4 3 01-APR-1990 00:00:00 1 3
5 3 10-JAN-1996 00:00:00 2 2
6 3 21-SEP-2000 00:00:00 3 1
6 rows selected.which gives you the ability to generate the numbers as you have requested. The important parts are the PARTITION which is the group of rows over which the function will be applied, and the ORDER BY which will determine the order in which the function is applied to those rows. You can see that I called the function twice, once with ORDER BY DOB and the other with ORDER BY DOB DESC and the difference in the output.
HTH
David -
Setting the maximum number of rows in a ResultSet
Hi everybody,
Anyone knows if it is possible to set the maximum number of rows to obtain in a ResultSet using JDBC 2.0, and if so, how to do it?
Thanks in advance.Statement st = con.createStatement();
st.setFetchSize(no_of_rows_here);
ResultSet rs = st.executeQuery(query);Sudha -
How to set execution preferences between Data Objects
Hi Experts,
I have 2 data Objects(one Bidrectional and another Upload Only) in my SWCV and according to my requirement i have to execute first DO(Bidirectional) before execution of Second DO(Upload Only).
Is there any way so that i can set execution preferences between these two DOs.
Regards,
AbhishekHi Liji,
Execution preference is more related to the "Semantic Compression" capability of the application/framework than the "backward compatiblity" with 04/04s.
Whenever the semantic compression is enabled, sync order has to be present for the set of data object to ensure the correct order of the data going to the server.
As all the backward compatible applications are "Semantic compression enabled" this option is mandatory for those applications.
But non-backward compatible applications might also want to use "semantic compression" feature to reduce the traffic over the network. In this case, those applications will also need this feature. Hence this feature of settting the sync order is available for all the SWCVs.
Regards,
Ramanath. -
How to set main thread Priority?
i have set:
Thread.currentThread().setPriority(Thread.MAX_PRIORITY);
// and the other thread ( )
thread_load = new Thread();
thread_load.setPriority(Thread.MIN_PRIORITY);
thread_load.start();but it doesn't make any diffrent,
i mean diffent the CPU usage for the thread.
i want the main thread has a MAX PRIORITY CPU usage , then the other thread.
is this true to set the thread priority use setPriority(..) ?
thx..Thread is a Runnable within java (or javaw) process: his priority has no meaning outside the JVM, if you wanna impact on CPU usage you should set this process priority, i.e. (for windows):
instead of starting as
javaw ....try
start/min javaw ...You could need to quote the javaw command, to see all possible priorities see start help by typing start/? in cmd.
Bye. -
How do I set French mobile number in contacts for facetime
How do I set French telephone number in FaceTime contacts
How do I set French telephone number in FaceTime contacts
-
Is it possible to set a port number for a server as a value from env ?
Hello,
I'm using the version 6.1 - sp8 and I'd like to set the port number of a server as a value returned by an environment variable. Will this be achievable somehow through the admin console?
In fact, I have an environment variable called '$WEB_SERV_PORT'. I'd need this value to be assigned as the port number for a server. The reason why I am trying to do this is coz I have multiple instances running as different batch accounts and each batch account would be having its own '$WEB_SERV_PORT' which would be the port on which iplanet would be running for that batch account.
I'd appreciate if anyone could help.
Thank you,
Presley.Hello Sriram,
Thanks for the info that you have provided. I do agree that what you said would be a better approach.
However I've got a couple of questions on the approach that you have suggested (Sorry that its a bit off from the main topic). Just wanted to clarify if what I thought is in sync with the approach that you suggested.
1. As you said, I could setup multiple virtual server within an instance (https-<hostname>) - Does this mean that I am creating "Virtual Server Classes" for each server and through the web-applications tab, assigning the corresponding war file to each Virtual Server Class?
2. Another approach that came upto my mind is that I could create different instances like (https-virtual server1, https-virtual server2, https-virtual server3 etc..). I am assuming that if I follow this approach, I could have each server allocate memory indiviually to the virtual servers. for eg, I could allocate
1024 MB to each virtual server where as in the first approach, I would have to make the 1024 MB to share between all the Virtual Server Classes. And also, in the case theres an issue with one server, I could handle the start/ stop etc individually, where as in the 1st approach, all the virtual classes would be affected by the start/stop. Am I assuming it correctly ?
I'd appreciate if you could let me know.
Thank you,
Presley.
Edited by: pressley on Mar 26, 2008 7:04 AM
Maybe you are looking for
-
PS General SQL Routines: Missing or invalid version of SQL library libpsor
Hi, I am facing the above error while booting up the Appserver. Could someone help me on these please. below are the softwares used: Oracle Linux5.4 64bit peopletools:8.51 Application HCM:9.1 weblogic wls_1034 Tuxedo 10g3 Stderr shows: dlopen in libp
-
My hard drive fail, so i replaced it with sata 3 solid state drive, but i i'm sure that i'm geeting only sata 2 speed by intel rapid storage technology and by benchnmark testing. My question is: do my board support sata 3 ,( I have been told that it
-
Audigy 2 - EAX-Console crashes everyti
Hi, I own the Audigy 2 ZS and have some trouble with the EAX-Console. When I want to change some settings there (CMSS f.e.) the software just hangs up. Like 80% of the time and I am not able to restart it, until I do a reboot. I have the latest drive
-
Transferring from Vegas to FCP
hi all, has anyone had to / managed to transfer a work in progress from Vegas (PC) to Final Cut Pro (Mac) successfully? From what i can see, Vegas can export AAF, but FCP can't read it. FCP can read XML, but Vegas can't export it. Tried exporting an
-
Parameters in Selection Screen
Hi All, I want to display input box just after radiobutton. if I am doing like this: SELECTION-SCREEN BEGIN OF BLOCK s4 WITH FRAME TITLE text-004 . PARAMETERS: p_r4 RADIOBUTTON GROUP rad2 DEFAULT 'X', p_r5 RADIOBUTTON GROUP rad2, p type c