CJQ0 process session is in idel stat
Session Idel
Hi,
Version 10204.
All my database jobs are running using dbms_scheduler as you can see :
select count(*) from dba_jobs;
COUNT(*)
0
SELECT COUNT(*) FROM DBA_SCHEDULER_JOBS;
COUNT(*)
20
show parameter job_q
NAME TYPE VALUE
job_queue_processes integer 10 I am using the following statment to get a list of all session that in "idel" stat more than 10 hours.
I found that the oracle process: CJQ0 is in idel stat about 12 hour :
SELECT sess.username,proc.program,round(last_call_et/3600) idel_hr
2 from v$session sess, v$sesstat stat, v$statname name , v$process proc
3 where sess.sid = stat.sid and stat.statistic# = name.statistic#
4 and sess.username is not null
5 and name.name = 'recursive calls'
6 and sess.paddr=proc.addr
7 and sess.USERNAME NOT IN ('TIBCO','ONG')
8 and sess.osuser NOT IN ('Tuxedo','psoft','appl11i','wmc')
9 and sess.last_call_et/3600 >= 10
10 and machine !='xyz';
USERNAME PROGRAM IDEL_HR
SYS oracle@xxx (CJQ0) 12Oracle documentation : http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/process.htm#sthref1602
say :
"The coordinator process, named CJQ0, periodically selects jobs that need to be run from the system JOB$ table"
But my JOB$ is empty :
select count(*) from sys.job$;
COUNT(*)
0Whey the process is in this stat ?
Thanks
Hi,
Does someone can help on this issue ?
I did not get any feedback in the last few days.
Best Regards
Similar Messages
-
How to get the process id of a sql statement or a session ....
How to get the process id of a sql statement or a session . ..?
ThanksWhat about this?
SELECT pid
FROM v$session s, v$process p
WHERE p.addr = s.paddr
AND s.sid = :sid; -- replace :sid with your session idRegards.
Al -
Job co-ordinator cjq0 process not spawning job slave processes ( j0XX )
Hello,
We are having 9.2.0.6 database and our dbms jobs scheduled from discoverer are stuck.
We could run those jobs manually from sqlplus using dbms_job.run(job_id) but jobs scheduled from discoverer are in scheduled state only.
We are having around 105 jobs stuck in the database. Basically , cjq0 process died and we restarted it using below commands,
SQL> show parameter job_queue_processes
10
SQL> alter system set job_queue_processes=0
SQL> alter system set job_queue_processes=10
This started cjq0 processes but this process is not forking other job slave processes. We have replicated this scenario in our DEV environment by killing j0XX processes and found cjq0 takes care of forking job slave processes again but somehow it's not happening in PROD.
This might be because of,
1) There are many jobs stuck so I should clear dbms_jobs and then should restart cjq0 process.
2) I might have to restart the database.
Being this production environment, I am not able to experiment . Let me know your views !!
Thanks,
PrasadHi,
Below is the output,
SQL> select * from v$resource_limit where resource_name in ('processes','sessions');
RESOURCE_NAME CURRENT_UTILIZATION MAX_UTILIZATION
INITIAL_ALLOCATION LIMIT_VALUE
processes 1225 2060
6000 6000
sessions 1535 3210
6800 6800
and Alert log file contents when the issue occured,
=====================================
Creating archive destination LOG_ARCHIVE_DEST_1: '/d01/oraprod/admin/PROD/arch/PROD_1080417.arc'
ARC1: Completed archiving log 6 thread 1 sequence 1080417
Wed Nov 30 09:22:43 2011
Completed checkpoint up to RBA [0x107c62.2.10], SCN: 0x077e.f4bb0461
Wed Nov 30 09:22:53 2011
Beginning log switch checkpoint up to RBA [0x107c63.2.10], SCN: 0x077e.f4bb9ecd
Thread 1 advanced to log sequence 1080419
Current log# 8 seq# 1080419 mem# 0: /d03/oradata/PROD/log08a.log
Current log# 8 seq# 1080419 mem# 1: /d05/oradata/PROD/log08b.log
Wed Nov 30 09:22:53 2011
ARC0: Evaluating archive log 10 thread 1 sequence 1080418
ARC0: Beginning to archive log 10 thread 1 sequence 1080418
Creating archive destination LOG_ARCHIVE_DEST_1: '/d01/oraprod/admin/PROD/arch/PROD_1080418.arc'
ARC0: Completed archiving log 10 thread 1 sequence 1080418
Wed Nov 30 09:23:20 2011
ALTER SYSTEM SET job_queue_processes=0 SCOPE=MEMORY;
Wed Nov 30 09:23:39 2011
ALTER SYSTEM SET job_queue_processes=10 SCOPE=MEMORY;
Wed Nov 30 09:23:39 2011
Restarting dead background process CJQ0
CJQ0 started with pid=1579
Wed Nov 30 09:24:07 2011
Completed checkpoint up to RBA [0x107c63.2.10], SCN: 0x077e.f4bb9ecd
Wed Nov 30 09:24:14 2011
Beginning log switch checkpoint up to RBA [0x107c64.2.10], SCN: 0x077e.f4bc4a09
Thread 1 advanced to log sequence 1080420
Current log# 9 seq# 1080420 mem# 0: /d03/oradata/PROD/log09a.log
Current log# 9 seq# 1080420 mem# 1: /d05/oradata/PROD/log09b.log
Wed Nov 30 09:24:14 2011
ARC1: Evaluating archive log 8 thread 1 sequence 1080419
ARC1: Beginning to archive log 8 thread 1 sequence 1080419
Creating archive destination LOG_ARCHIVE_DEST_1: '/d01/oraprod/admin/PROD/arch/PROD_1080419.arc'
ARC1: Completed archiving log 8 thread 1 sequence 1080419
Wed Nov 30 09:25:03 2011
Completed checkpoint up to RBA [0x107c64.2.10], SCN: 0x077e.f4bc4a09
Wed Nov 30 09:25:07 2011
==================================================
Thanks,
Prasad -
Content Switching Module (CSM): Sessions stuck in closing state
Hi guys,
I'm troubleshooting a CSM with 4.3(1).
We migrated a real server from windows to linux, since then lot's of sessions stuck in closing state until the idle timer expires.
I traced the traffic from the client to the csm and from the csm to the real server what I saw is the following behaviour at the end of a session:
windows real server: client sends FIN -> real server acks the FIN -> real server sends FIN -> client sends RST -> real server sends RST -> CSM deletes session from session table
The linux real server mostly behaves like the windows real server but sometimes behaves as follows:
client sends FIN -> real server sends FIN, but does not ack the FIN sequence number of the client -> real server sends RST -> client sends RST -> CSM does not delete session from session table, it stucks in closing state
Does anybody know how I can solve this problem of half-closed sessions other than decreasing the idle timeout?
Is it possible to configure CSM to close and delete sessions not only on FIN-ACK packets but also on RST packets?
Or to use a different fast idle timeout when sessions are half-closed?
Many thanks in advance,
ThorstenHi Fabrizio,
CSM_FAST_FIN_TIMEOUT is already set to 10 seconds.
What I found out while testing is that CSM_FAST_FIN_TIMEOUT works with configurations where idle timeout is configured > 0.
But when idle timeout is configured to 0 (what meas no idle timeout) the csm seems not to use CSM_FAST_FIN_TIMEOUT: Half closed sessions will stuck in closing state.
Any idea why cms behaves this way?
Regards,
Thorsten -
Hi,
I Would like to know how to process sessions.
Regards,
PrasadRefer to these links
<b>Managing Batch Input Sessions</b>
http://help.sap.com/saphelp_46c/helpdata/en/69/c2501a4ba111d189750000e8322d00/frameset.htm
<b>Processing Sessions Automatically</b>
http://help.sap.com/saphelp_46c/helpdata/en/69/c250414ba111d189750000e8322d00/frameset.htm
Regds
Manohar -
10.5.3 puts processes into "Uninterruptible wait" (U) state.
Umm. I have a MacBook and a PowerMac G4/400 AGP.
I never had any noticeable problems with either.
I've had the G4 since Q3 2001 and the MacBook since October 2007.
Since I updated to 10.5.3 I experienced processes dropping into the U state, which seems to be pretty bad and I'm not sure I've ever had this happen on Mac OS X or Linux (D state is Linux equivalent) in all my years of experience. Basically, it's impossible to kill the process even with "kill -9" and the computer won't shut down cleanly and I have to hold down the power button to stop the computer.
This has only happened with programs that are heavy on disk I/O such as web browsers that use lots of files for cache (Firefox, not Safari), rsync, and make jobs.
My MacBook only has one non-apple kernel extension (logitech mouse) and the G4 has none installed so this likely isn't anyone's fault but the OS and hardware vendor's.
Is anyone else suffering from this or does anyone know if there's something wrong with me?I've experienced this problem some more.
This time it has happened to two different processes.
If I run "ps ax | grep -E ' U'" right now I get:
27 ?? Us 0:13.49 /usr/sbin/update
1677 s000 U+ 0:01.79 svn up
I've sampled the processes and subversion is hanging on a call to "open$UNIX2003" and update is hanging on a call to "sync". -
Session management or Managing State
Hi,
How does one manage sessions or maintain state between a web service client ( client could be any platform .NET or Java), and a web service using session beans?? (EJB 2.1 spec for web services insists on stateless session beans). I have not been able to get any convincing mechanism in weblogic docs.
ThanksThanks for your response Don. What kind of information (about the app) do
you need? I'll provide as much as I know. Thanks again.
Peter
"Don R" <[email protected]> wrote in message
news:3984bf2e$[email protected]..
You need to give a little more information about the application.
Yes you can use Stateful session beans to maintain state, however, youneed
to have some place to store the handle. With out any more info on your
application, I can't really tell you how to proceed.
Don Reamey
www.ibexone.com
www.reamey.com
"Peter Ephron" <[email protected]> wrote in message
news:3981dd29$[email protected]..
I need some help!!! I am new to WLS so please keep the description as
descriptive as possible.
My project includes building EJB-based security application that talks
to
LDAP. The application will be used by all kinds of system such as
powerbuilder, C app, Microsoft app, and of course java app. The problemwith
this is that we cannot maintain Session by using HTTP Session (thatservlet
provides) due to the nature of a lot of different systems using this
"common" security module. So my question is: what does Helen mean bysession
key (see below message)? is there a way Weblogic keep the connection, or
managing session and state if you will within EJB side of things not
servlet? Is there more information/documentation about this? any API? If
yes, could you point me to the right direction? is it through Stateful
Session Bean?
I really thank you for taking your time to read my email, and I reallywould
appreciate your kindness to take your time answering. If you're not
clear
with some of the questions, please let me know.
Sincerely,
Pete -
Open Process Session.vi
Hi
I am trying to create an unix console appliacations in LV 8.2 using cygwin 1.5.25. However when i am trying to build the applications it is giving the following error (see image).
"Failed to build executable!
Error message:
Error output:
Open Process Session.vi
Can anybody help me to solve this problem?????/
Attachments:
error.jpg 36 KBHi
I get the same error message if I try to build the Filter-Example of the following tutorial: http://zone.ni.com/devzone/cda/tut/p/id/5412
Error Message:
Error Output: Open Process Session.vi
I added the system path variable "C:\cygwin\bin" and I also choosed the DOS/text radio button.
But at the installation of Cygwin I didn't found a package called "tclck" although this name is mentioned in the tutorial.
So I installed the tcltk-package and now I get the error message above.
Can anybody help me to solve this problem?
Urs Kuenzle
The System:
LV 8.2
Win XP -
Apex 4.1: Error processing session sentry function. ORA-01403
Hi,
I have developed an application in Apex 4.0. I've translated the application into one additional language, and set the language to be derived from the browser. On the 4.0 instance, this works as expected (changing the preferred language in the browser and reloading a page uses the translated app).
I then deployed the main app and the translated app to an Apex 4.1 (runtime-only) instance. If I access the application with the browser set to the primary language (English), it works, but if I change it to the secondary language and reload the page, I get:
Error processing session sentry function.
ORA-01403: no data foundThis also happens if I try to access the translated application directly via the URL.
(I'm not sure what "session sentry function" means; in my application I have a custom authentication scheme with a custom "authentication function", but I have not specified anything for "session verify function" -- which is close but not exactly the same as "session sentry function", so I am not sure if they are the same thing.)
Anyway, as this works on Apex 4.0 and not on Apex 4.1, I wonder if it is a bug... ?
- Morten
http://ora-00001.blogspot.comAnyway, as this works on Apex 4.0 and not on Apex 4.1, I wonder if it is a bug... ?Pretty sure it's a bug.
I looked at APEX_040100.WWV_FLOWS and noticed that the AUTHENTICATION_ID column was NULL for my translated application (app id 301), whereas the main application (app id 300) has a value in that column. (This appears to be a new column for Apex 4.1.)
The export file for the translated app creates my custom authentication scheme:
wwv_flow_api.create_auth_setup (
p_id=> 1711018744328150.301 + wwv_flow_api.g_id_offset,So what I did to fix this was to run:
update apex_040100.wwv_flows
set authentication_id = 1711018744328150.301
where id = 301;That solved the problem, although the question still remains: Why didn't this get set automatically when importing the translated app?
- Morten
http://ora-00001.blogspot.com -
Windows 2008 R2 SP1 Enterprise TS Sessions stuck in Down state
I have an environment of 30 physical Windows 2008 R2 SP1 Enterprise servers providing Remote Desktop services running Citrix XenApp 6.5. Over the last 2 months, I've had two instances where one user session was stuck in a "Down" state. The user
could not log in or reconnect to the published app because this one session could not be cleared. I was forced to remove the affected server from the published app, clear off all the users, and reboot in order to clear the Down session.
Research brought me to the following KB articles:
http://support.citrix.com/article/CTX128192
http://support.microsoft.com/kb/2383928
I attempted to apply the hotfix, but it was "not applicable to your computer". I opened a ticked with MS and the conclusion was that the hotfix, and subsequent versions of the hotfix, have been superseded by Windows Updates. The hotfix apparently has
been rolled into public Windows Updates.
My problem is that this behavior still exists. Has anyone else experienced this and is there a nondestructive method (without rebooting) for clearing out these sessions stuck in a "Down" state? Thanks.OK. We sent the files over to Microsoft to check on this issue. They came back with the following information.
While we are usually skeptical of Hotfixes, several of these descriptions are on the money. We will not complete the entire list, but will start with the exact match descriptions and apply one at a time.
<<<<<Microsoft Engineers response>>>>>>>>>>>>>>>>>>
We looked at the MSDT data and found the version of “win32k.sys” is old.
Module[ 2] [C:\WINDOWS\SYSTEM32\WIN32K.SYS]
Company Name: Microsoft Corporation
File Description: Multi-User Win32 Driver
Product Version: (6.1:7601.17860)
File Version: (6.1:7601.17860)
We advise you to install the following hotfix to update Win32k.sys to the latest version.
2661332 You cannot reestablish a Remote Desktop Services session to a Windows Server 2008 R2-based server
http://support.microsoft.com/kb/2661332/EN-US
Also, I checked that these are not installed on the machine, please install the following hotfixes as they update all the components to their latest versions and we have seen similar cases in the past which were resolved after these hotfixes were installed.
2383928 Remote desktop sessions do not completely exit, and you cannot establish new remote desktop sessions to a computer that is running Windows Server 2008 R2
http://support.microsoft.com/default.aspx?scid=kb%3bEN-US%3b2383928
979530 A Windows Server 2008 R2-based Remote Desktop server denies some connection requests randomly under heavy logon or logoff conditions
http://support.microsoft.com/default.aspx?scid=kb;EN-US;979530
2578159 The logon process stops responding in Windows Server 2008 R2 or in Windows 7
http://support.microsoft.com/default.aspx?scid=kb;EN-US;2578159
2465772 An application or service that uses Winsock API or Winsock Kernel API may randomly stop responding in Windows Server 2008 R2 or in Windows 7
http://support.microsoft.com/default.aspx?scid=kb;EN-US;2465772
2265716 A computer that is running Windows Server 2008 R2 or Windows 7 stops responding randomly
http://support.microsoft.com/default.aspx?scid=kb;EN-US;2265716
975777 There is a delay when you shut down, restart, or log off a computer that is running Windows 7 or Windows Server 2008 R2
http://support.microsoft.com/default.aspx?scid=kb;EN-US;975777
2505348 High CPU usage or a lengthy startup process occurs during WMI repository verification when a large WMI repository exists in Windows 7 or in Windows Server 2008 R2
http://support.microsoft.com/default.aspx?scid=kb;EN-US;2505348
<<<<<<<<<<<<<End response>>>>>>>>>>>>>>>>>> -
Hi Gurus,
we are inserting data into one table and using append and parallel hints...but that query is not completed yet and those sessions are in blocked list.
can you please let me know how to overcome this issue and below is the query:
INSERT /*+ APPEND PARALLEL(emp 8) */ INTO emp_temp
(empno,empname,dateofjoining,deptno,sal)
SELECT /*+ PARALLEL(empn 8) */
empno,empname,dateofjoining,deptno,sum(sal) sal
FROM emp_V;
is it correct usage or anyother best way for improving performance.Thanks for the response.
Below is the issue details more detailed:
We have created table with parallel degree 8 and I am not able to insert data into that table and the sessions are blocked state.
I am seeing event names in blocked state are px deq: parse reply px deq: execution msg
Temp_table -- parallel degree8
I am selecting the data from multiple tables as per my requirement and trying to insert that data into the temp table.
Below is the query:
Insert into /*+PARALLEL(Temp_table)*/ Temp_table(report_date,quantity,revenue)
select /*+PARALLEL(Temp_table_v)*/ report_date,quantity,revenue from Temp_table_v;
In Temp_table_v we are joined the multiple tables and those tables are having millions of records and in that view also we have added parallel hints.
Please help. -
Testing Process for Gathering Single Object stats.
Hello Oracle Experts,
I work a critical system and due to some high stakes all and every change is very heavily scrutinized here whatever the level is. And one of such changes which is currently under scrutiny is gathering object stats for single objects. Just to give you a background its an Oracle eBusiness site so fnd_stats is used instead of usual dbms_stats and we've an inhouse job that depending on the staleness of the objects gather stats on them using FND_STATS. (RDBMS : 10.2.0.4 Apps Release 12i).
Now, we've seen that occasionally it leaves some of the objects that should ideally be gathered so they need to be gathered individually and our senior technical management wants a process around it - for gathering this single object stats (I know!). I think I need to explicitly mention here that this need to gather stale object stats has emerged becs one of the plans has gone pretty poor (from 2 ms to 90 mins) and sql tuning task states that stats are stale and in our PROD copy env (where the issue exists) gathering stats reverts to original good plan! So we are not gathering just because they are stale but instead because that staleness is actually causing a realtime problem!
Anyway, my point is that it has been gathered multiple times in the past on that object and also it might get gathered anytime by that automatic job (run nightly). There arguments are:
i. There may be several hundred sql plans depending on that object and we never know how many, and to what, those plan change and it can change for worse causing unexpected issues in the service!
ii. There may be related objects whose objects have gone stale as well (for example sales and inventory tables both see related amount of changes on column stock_level) and if we gather stats only on one of them and since those 2 cud be highly related (in queries etc.) that may mess up the join cardinality etc. messing up the plans etc.
Now, you see they know Oracle as well !
My Oracle (and optimizer knowledge) clearly suggests me that these arguments are baseless BUT want to keep an open mind. So my questions are :
i. Do the risks highlighted above stand any ground or what probably do you think is there of happening any of the above?
ii. Any other point that I can make to convince the management.
iii. Or if those guys are right, Do you guys use or recommend any testing strategy/process that you can suggest to us pls?
Another interesting point is that, they are not even very clear at this stage how they are gonna 'test' this whole thing as the 'cost' option like RAT (Real Application Testing) is out of question and developing an inhouse testing tool still need analyzing in terms of efforts, worth and reliability.
In the end, Can I request top experts from the 'Oak Table' network to make a comment so that I can take their backings!? Well I am hoping here they'll back me up but that may not necessarily the case and I obviously want an honest expert assessment of the situation and not merely my backing.
Thanks so much in advance!>
I work a critical system and due to some high stakes all and every change is very heavily scrutinized here whatever the level is.
Another interesting point is that, they are not even very clear at this stage how they are gonna 'test' this whole thing as the 'cost' option like RAT (Real Application Testing) is out of question and developing an inhouse testing tool still need analyzing in terms of efforts, worth and reliability.Unfortunately your management's opinion of their system as expressed in the first paragraph is not consistent with the opinion expressed in the second paragraph.
Getting a stable strategy for statistics is not easy, requires careful analysis, and takes a lot of effort for complex systems.
>
In the end, Can I request top experts from the 'Oak Table' network to make a comment so that I can take their backings!? Well I am hoping here they'll back me up but that may not necessarily the case and I obviously want an honest expert assessment of the situation and not merely my backing.
The ideal with stats collection is to do something simple to start with, and then build on the complex bits that are needed - something along the lines suggested by Dan Morgan works: a table driven approach to deal with the special cases which are usually: the extreme indexes, the flag columns, the time-based/sequential columns, the occasional histogram, and new partitions. Unfortunately you can't get from where you are to where you need to be without some risk (after all, you don't know which bits of your current strategy are causing problems).
You may have to progress by letting mistakes happen - in other words, when some very bad plans show up, work out WHY they were bad (missing histogram, excess histogram, out of date high values) to work out the minimum necessary fix. Put a defensive measure in place (add it to the table of special cases) and run with it.
As a direction to aim at - I avoid histograms unless really necessary, I like introducing function-based indexes where possible, and I'm perfectly happy to write small programs to fix columns stats (low/high/distinct) or index stats (clustering_factor/blevel/distinct_keys) and create static histograms.
Remember that Oracle saves old statistics when you create new ones, so any new stats that cause problems can be reversed out very promptly.
Regards
Jonathan Lewis -
How to procession session in foreground and errore mode from the program.
hi ALL
i have a requirement in wich i had to create a session and procession the sesion in foreground or back ground from the program it self (with out going to SM35)
argent can any body answer to my question, please
reward gauranty.
thanks in advance
sindu.refer to this link....
Running a session from the zprogram
regds,
kiran -
Hi is there any excutable to process Session BDC
Hi Friends
For sesion we will process with SM35 tcode, is there any exuctable other than this,
Regards
Jagadeeshwar.Bhi
You can try to use this program: RSBDCSUB. You have to create session using ur BDC program.. then can process it using the above mentioned program.
Regards,
Vishwa.
Edited by: vishwa sri hari on Oct 1, 2008 12:08 PM -
Process in FIBF for account statement...
In FIBF ,click on settings-process module of sap application..we could see many process .I need one process which could be used for account statement.That is customer or vendor account statement.
Thanks and Regardsperhaps try 2810 or 2820?
A.
Maybe you are looking for
-
I'm running a Mac with system OS 10.5.8. and the latest version of Firefox. == This happened == Every time Firefox opened == One week ago
-
Funny sort of keyboard problem.
For some reason unknown to myself, the forward slash and apostrophe keys are not working properly on my macbook. On any forum page, including this one, if I hit either of those keys then a little Quick Find Google window opens at the bottom left corn
-
"in update task" and "strings"
Hi guys, I tried to extend a table by a string. this table is updated via a function module (Verbuchungsbaustein = in update task). The new rows are submited via the tables option. But this leads to a dump, could it be that it is not possible to use
-
Printing fails on Epson C62 using OS 10.6 but successful using OS 10.4
When I tried to print a document using Gutenprint 5.2.3.99.1 as driver for my Epson C62 printing failed with a message: "The PPD version is not compatible with Gutenprint 5.2 3.99.1". I tried printing a jpeg photo and got the same message. I successf
-
I want to reduce IDOC HRMD_A. I have 1) created a copy ZHRMD_A & marked the fileds that I want to send in the IDOC via tocde BD53 2) activated the change pointers for ZHRMD_A 3) updated the partner profile & distribution model. But when the IDOC is c