Jmx hanging process
For the background processes we make use of JMX Beans.
We develop them with JDeveloper 10g (10.1.3) and deploy to OC4J.
We have a background proces for the processing of messages (xml-files from a queue) into the database (using ADF BC).
Most of the time this works fine, but sometimes it seems that the process is hanging (?), there are no error messages (not in logfile of the application and not in the directories of the Oracle Application Server). We had to restart the process and then the same message has to be processed well.
In the Java code we put a lot of debug-messages.
When it goes wrong, the last debug message is just before the database commit (getTransaction().commit()).
In the database there are no locks, waiting processes, or something like that, at the moment.
Any tips how I can figure out what the problem can be?
Since the problem is periodic, I guess this is happening because of some weekly loads. There might be some weekly loads running on every Saturday, which is consuming most of the resources and hence creating problems for your PC.
To process the Idocs manually, you should go in SM58, select the Idocs, and press F6.
To get rid of this, you should have a proper load sharing strategy.
To get a mai/notification, this is possible. You need to include an ABAP program in your PC and configure your mail box. As soon as some loads fails, it kicks out a mail. I used to get a mail in such cases.
Thanks...
Shambhu
Similar Messages
-
How to check hanged process in solaris
Hi every one ...
I have a 10 processes running in my server .. suddenly on process got hanged ..
How can i check the hanged process...is there any specific command or ehat does the notation it shows in prstat command
Thanks in AdvanceFirst, if the process is not showing 0% CPU utilization in prstat, it's not hung, although it may be stuck in an infinite loop. That's actually a significant difference, as an infinite loop is a logic error, whereas getting stuck could be a failure of some type.
To see if it's really hung, you can use the "truss" or "pstack" commands:
truss -p PID &or
pstack PID &where PID is the process ID of the process you want to check. Note the ampersand to background the process. That's because if the process is indeed stuck in an unkillable wait for a kernel lock, your truss or pstack process will also be stuck and unkillable.
The pstack call should just run and return. It will show the current call stack for all threads in the process. Run it several times and see if it changes. The truss call will run as long as the target process is running, and it will show all system calls made by the process. If it doesn't output anything at all the process is running in user space and should still be getting CPU time, or it's stuck. -
Hang process mamping connect to sqlserver 2000
Help me
Problem this, before one weeks , process mapping connect to sqlserver still running
but, after this process mapping hang get data from sqlserver 2000
because i try 10, 100, 5000 record mapping still running, but 100000 record still hang, this is i try method row_bases.
and i try method set based, data still empty in target (4 hours)
this data from sqlserver +/- 1600000 record,
how to solve problem this.
owb client 11.1.0.6.0
owb repository 11.1.0.1.1
db ver 11.1.0.6
db sqlserver 2000
OS Window NT 2000
Txdo you mean the url?
it seems to be right.
the server is on THE_B
the instance is MIAINSTANCE
(when i've installed the DBMS i've specified "miaInstance" as instance name,but whe I access to it I see MIAINSTANCE as name.it can be a case sensitive problem?)
i've specified the following URL
...sqlserver://THE_B\MIAINSTANCE:1433;SelectMethod=....
i've also tryed
...sqlserver://THE_B\miaInstance:1433;SelectMethod=....
but it still doesen't work.
yes,the instance is running. -
Application Support permissions changing and hanging processes
I'm running OS X 10.10.1 on a MacBook Air (11-inch, Mid 2013; 1.7 GHz Intel Core i7; 8 GB 1600 MHz DDR3; 500 GB SSD). For the past few weeks, several applications have been freezing up regularly. In particular, Evernote and Keyboard Maestro have been the worst culprits. I found myself having to constantly force quit these and other applications and processes. I also noticed that, periodically (that is, several times a day), my ~/Library/Application Support directory becomes world-writable, for no apparent reason.
It turns out that these problems are related because, if I chown -R and chmod -R go-w the directory, everything runs smoothly for a while. However, the permissions have been reverting back so often, that I ended up creating a cron job that runs every 20 minutes, which fixes them. This works (i.e., nothing hangs, and I can use my computer without problems), but I would rather not have to do this, and I would really like to know *** could be constantly changing this directory's permissions to 777. I've run a deep virus scan using Bitdefender, so that (hopefully) rules out something sinister.
Any advice would be much appreciated. Thanks.Thanks for your reply.
I only installed the free version of Bitdefender (which runs on demand only, and not in the background) a couple of days ago, to rule out malware, so it can't be the cause of this.
I'm chowning to my user account, the owner of the home directory. Since my post, things have got worse (e.g., processes are hanging again, and TextMate won't even start), so I'm considering a clean install of OSX. -
Hi,
I have a process which is expected to go on for hours , creating shared memory etc.
I would like to know what is the most reliable method to check whether this process
is hanging or not. What are the commands that can be used and what are the
fields I should look for in the output of such commands.
thanksIn this situation, the best debug tool is to use the
truss command.
If the process performs system calls or causes "machine
faults" (truss -m). If it performs some lengthy
calculations you might not see system call / fault
activity for quite some time.
"prstat" (or "top") and "pstack" can be usefull in such a
situation... -
User Defined Activity "hangs" Process Flow if it runs for more than 10mins
I have been using OWB (10g r2) for a while and have used "User Defined" activities in production process flows successfully before.
However my problem now is that the activity (shell command) I want to perform, takes more than 10 minutes to complete. If I run the process flow with a parameter that generates a shell command that executes in two or three minutes, the process flow continues past the sucessfully executed user defined activity to the next activity.
BUT
If I run the same process flow (without modification or even redeployment) with a different parameter , the user defined acivity sucessfully executes (after about 11 minutes or so) but the process flow , doesnt seem to know that it is finished and just says it is still executing.
my "user defined" activity has
COMMAND: /usr/bin/ksh
PARAMETER_LIST bound to a variable which is set earlier in the process flow.
RESULT_CODE:
SCRIPT :
SUCESS_THRESHOLD : 0
by examining (RUNTIME CONTROL CENTER SCHEMA).all_rt_audit_execution_params
I can see that the variable contents assigned to RESULT_CODE look like this
'/usr/bin/rsh -n WINSRV1 dtsrun /usa /ppw /S WINSQLSRV /N JOBNAME_SHORT'
or this
'/usr/bin/rsh -n WINSRV1 dtsrun /usa /ppw /S WINSQLSRV /N JOBNAME_LONG'
I put the -n in because I thought that may have been the problem, but I think its more likely that there is come sort of ".properties" in a runtime file that needs to be set to control the "timeout" of user defined activities.
(like in Runtime.properties
property.RuntimePlatform.0.NativeExecution.Shell.security_constraint = NATIVE_JAVA
except maybe
.........Nativeexecution.timeout = .....?????
Has anybody had a problem like this? Found a document describing available configuration properties for PF activites?
Can anyone help?I have been using OWB (10g r2) for a while and have used "User Defined" activities in production process flows successfully before.
However my problem now is that the activity (shell command) I want to perform, takes more than 10 minutes to complete. If I run the process flow with a parameter that generates a shell command that executes in two or three minutes, the process flow continues past the sucessfully executed user defined activity to the next activity.
BUT
If I run the same process flow (without modification or even redeployment) with a different parameter , the user defined acivity sucessfully executes (after about 11 minutes or so) but the process flow , doesnt seem to know that it is finished and just says it is still executing.
my "user defined" activity has
COMMAND: /usr/bin/ksh
PARAMETER_LIST bound to a variable which is set earlier in the process flow.
RESULT_CODE:
SCRIPT :
SUCESS_THRESHOLD : 0
by examining (RUNTIME CONTROL CENTER SCHEMA).all_rt_audit_execution_params
I can see that the variable contents assigned to RESULT_CODE look like this
'/usr/bin/rsh -n WINSRV1 dtsrun /usa /ppw /S WINSQLSRV /N JOBNAME_SHORT'
or this
'/usr/bin/rsh -n WINSRV1 dtsrun /usa /ppw /S WINSQLSRV /N JOBNAME_LONG'
I put the -n in because I thought that may have been the problem, but I think its more likely that there is come sort of ".properties" in a runtime file that needs to be set to control the "timeout" of user defined activities.
(like in Runtime.properties
property.RuntimePlatform.0.NativeExecution.Shell.security_constraint = NATIVE_JAVA
except maybe
.........Nativeexecution.timeout = .....?????
Has anybody had a problem like this? Found a document describing available configuration properties for PF activites?
Can anyone help? -
How to diagnose a hanging process/session?
Hello,
I've got a user that has a stored procedure that (I'm still waiting to get the code from him) he says basically drops a table, then recreates it by a select on another table. He says this only involves tables of about 600 rows.
He has run this numerous times with no problems and it usually completes immediately.
However, since yesterday, he fires this off, and it seems to just sit there hung forever. Even killing it takes a good bit of time.
Strangely enough, this seems to have started happening on all 3 instances on the same box (3 different test environments, all approximately the same) at the same time.
Can someone give me some good steps and suggestions to try to help troubleshoot this?
Thank you,
cayenneOracle prevents modification of a procedure under certain conditions.
1) Procedure does DML
2) No COMMIT has been issued.
No session is allowed to change procedure until either COMMIT or ROLLBACK is issued by session that did DML.
In other words, user is blocking himself by invoking multiple sessions & never issuing COMMIT or ROLLBACK.
Edited by: sb92075 on Sep 1, 2009 7:11 AM -
Process flow hangs in state "bussy"
Hi,
We are encountering what seems to be a "random" problem when runing process flows. In about 1 out of 4 runs the flow "hangs" with status "busy"
The technical specs are as follows:
OWB 9.2.0.2.8 on WIN2K Server SP4.
There are two runtime repositories on two different WIN2K database servers (Oracle 9.2.0.4 EE)
The symptoms are as follows:
- We have more than 10 process flows containing from 15 to 60 processes. The problem is not related any single process flow, and occurs on both our target servers.
- The process flows runs OK in approximately 3 out of four runs.
- When the process flows "hangs", one or more of the processes in the process flow also hangs in the "busy" state. The hanging process can be a mapping or an external process
- The processes that have status "busy" have actually finished. They have a completion time set, and in the case where the process sends mail, the mail has been received. In the case of mappings I have verified that the mapping has completed, and that the session performing mapping has terminated.
- When the problem occurs, there is always the same "lock" pattern displaying in OEM:
Username Session IdLockMode HelMode Requ Object Name ROWID Object OwnObject T Resource ID1 Resource ID2
OWBRT92 17TM ROW SHARNONE WB_RT_SERVICE_QUEUE_TAB OWBRT92 TABLE 61161 0
OWBRT92 17UL EXCLUSIVNONE 1073741824 0
OWBRT92 48TM ROW SHARNONE WB_RT_NOTIFY_QUEUE_TAB OWBRT92 TABLE 61145 0
OWBRT92 67TM ROW EXCLNONE WB_RT_NOTIFICATION_COMPONENTS OWBRT92 TABLE 61137 0
OWBRT92 67TM ROW EXCLNONE WB_RT_NOTIFY_QUEUE_TAB OWBRT92 TABLE 61145 0
OWBRT92 67TM ROW EXCLNONE WB_RT_NOTIFICATION_ACKS OWBRT92 TABLE 61141 0
OWBRT92 67TM ROW SHARNONE WB_RT_NOTIFICATION_STREAMS OWBRT92 TABLE 61135 0
OWBRT92 67TM ROW EXCLNONE WB_RT_AUDIT_EXECUTIONS OWBRT92 TABLE 61199 0
OWBRT92 67TX EXCLUSIVNONE 262151 87564
Session 17 is the runtime service, and these two locks are present under normal operation. Session 48 is the Sqlplus session runing the execution template, and session 67 is (i think) the session that is causing the problem.
- The advanced queue WB_RT_NOTIFY_QUEUE tab shows "Number in state ready" equal to the number of processes still in the state "busy" i the process flow.
- When the runtime service is stoped (using the stop_service.sql) The locking sessions disappears.
- When the service is restarted, the processes change status to "bussy recovery" There is now a RPE-01008 and a RPE-01009 message in the "errors" section for the mapping.
- After the failed recovery, everything looks normal, except that there are now twice the number of messages in state READY on the WB_RT_NOTIFICATION_QUEUE. The only way I have found to get rid of these is to delete them from the queue table.
Is this a known problem? We are about to go live in a few weeks, and this could be a serious show stopper if we can't rely on the daily process flows to run as expected.
I could log a TAR on this, but I suspect support would ask for a test case, and Im going to have a hard time providing it for them in this case.Jean-Pierre,
Thanks for the update. I was afraid this was going to be one of those "hard to pinpoint" issues...
When the problems occurs the Worflow Monitor always shows the task status as "Notified".
The "Main routine" is no longer executing. The session that was executing the mapping has disconnected, and the mapping has completed successfully. (I have verified this by checking the rows in the target tables). Also, the problem is not restricted to mappings. Sometimes it happens to "mail notifications", and in these cases the mail message is received as expected.
It looks to me like there is some kind of synchronization problem between AQ and the controlling process (the runtime access user session) that can arise under a given condition (which I unfortunately have not been able to determine what is). As far as I can tell, the process executing the mapping completes and puts the message that it has completed on the Notify_Queue (hence the messages in stat "Ready" on the queue), but for some reason the process waiting to read the message fails to do so.
As for a test case, I have recently sent an export of our design repository to Igor Machin. Is it possible for you to have a look at that? As I mentioned in the first post, our Process Flows are fairly complex. Some of the flows are executing 50+ mappings in parallel. -
IE 10/11 does not free up, hangs - unkillable process
Hi!
I have a problem with IE since about 2 years now. IE does not close/exit correctly, i have always to do a system reboot!
IE 9 worked fine, never had a problem with this version. Since v10 and now v11 i cannot close IE completely. If i close the open tabs and exit IE, the program window closes, but there are still one or more 'iexplore.exe *32' processes running in the background
(with massive RAM consumption - non growing). I always try to kill the open process(es), with no luck, it will not exit! I can restart IE again and can use it, but after exiting the hanged processes are still running. So i have always to do a system
restart several times a day. This is unacceptable!
I tried following things till now to get rid of the problem (nothing worked!):
- starting/using IE 32bit with/without addons, IE 64bit (forced mode) with/without addons.
- un-/reinstalling Flash v10/v11/v12/v13/v14/v15
- trying to kill 'iexplore.exe' and 'iexplore.exe *32' with "Windows Task Manager", "Process Explorer", "Process Hacker", "System Explorer", "Advanced Process Termination", "taskkill.exe", "pskill.exe",
"killprocess.exe", "process.exe"
My PC:
Toshiba Satellite L670D - Win 7 Ultimate SP1 x64 - IE 11.0.9600.17280
IE Addons:
Adobe Shockwave Flash Object
Adobe PDF Reader
DivX Web Player Object
Microsoft Windows Media Player, Windows Live ID Sign-in Helper/Control, Silverlight, XML DOM Document, XSL Template, XML HTTP, Free Threaded XML DOM Document, VIDEO__X_MS_ASF Moniker Class, VIDEO__QUICKTIME Moniker
Class
Oracle Deployment Toolkit
Skype Click to Call
Skype add-on for IE
Your help is very appreciated.
Thank you, Frank@Robert:
Yes, i just can't believe that i can not kill this process. It could be so easy if any of this 'artillery' had worked.
I had read much about the idea of looking up the "Handles" of a task, but i never got the point of this investigation... what exactly should i am looking for? How should i proceed there?
If i go to the stucked iexplore.exe process i see following things:
by Task-Manager: iexplore.exe
Properties - Security/Permissions:
"Account Unknown" (S-1-15-2-1) : Read & execute=yes, Read=yes
"SYSTEM" : Read & execute=yes, Read=yes
"Administrators" : Read & execute=yes, Read=yes
"Users" : Read & execute=yes, Read=yes
"TrustedInstaller" : Full control=yes, Modify=yes, Read & execute=yes, Read=yes, Write=yes
Owner="TrustedInstaller"
by Process Explorer/Process Hacker: iexplore.exe - PID 5028
Properties - Security/Permissions:
"Account Unknown" (S-1-5-5-0-105819) : Special permissions=yes/no (greyed)
"SYSTEM" : Full control=yes, Read=yes, Write=yes, Special permissions=yes/no (greyed)
"Administrators" : Full control=yes, Read=yes, Write=yes, Special permissions=yes/no (greyed)
Owner="Administrators"
Parent process:
"iexplore.exe" (non-existent process)
Threads:
"ntdll.dll!Rt|UserThreadStart"
ntoskrnl.exe!_misaligned_access+0x17e71,
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x93d2,
ntoskrnl.exe!KeWaitForSingleObject+0x19f3,
OAmon.sys+0x5e204,
OAmon.sys+0x62045,
OAmon.sys+0x1e226,
OAmon.sys+0x16d57,
adgnetworktdi.sys+0x35168,
adgnetworktdi.sys+0x18cf9,
adgnetworktdi.sys+0xb5b810,
OAmon.sys+0x430711,
afd.sys+0x57acd12,
ntoskrnl.exe!NtMapViewOfSection+0x15a713,
ntoskrnl.exe!NtDeviceIoControlFile+0x5614,
ntoskrnl.exe!KeSynchronizeExecution+0x3a2315,
0x77204120
Handles:
Desktop \Default
File \Device\Afd
File C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\OTCFKYT5\like[1].htm
File C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\NQ20PYVG\rapidworker-1.1[1].js
File C:\Windows\SysWOW64\en-US\mlang.dll.mui
File \Device\Afd
File C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\QQC0D85P\likebox[1].htm
File C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\Y6EO28KM\postmessageRelay[1].htm
File C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\2TOLVVLD\like[1].htm
File C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\NQ20PYVG\KFZn1BJ0LYk[1].htm
File C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\NQ20PYVG\rapidworker-1.1[1].js
File C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\NQ20PYVG\rapidworker-1.1[1].js
File C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\TLY2BXE2\grlryt2bdKIyfMSOhzd1eA[1].woff
File C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\NQ20PYVG\rapidworker-1.1[1].js
File \Device\Afd
File C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\NQ20PYVG\rapidworker-1.1[1].js
File C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\KOKSA3VI\fontello[1].eot
File C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\NQ20PYVG\rapidworker-1.1[1].js
File \Device\Afd
File C:\Windows\winsxs\x86_microsoft.windows.c..-controls.resources_6595b64144ccf1df_6.0.7600.16385_en-us_581cd2bf5825dde9
File C:\Windows\SysWOW64\en-US\wdmaud.drv.mui
File \Device\Afd
File C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\NQ20PYVG\rapidworker-1.1[1].js
File \Device\Afd
File C:\Users\Admin\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\NQ20PYVG\rapidworker-1.1[1].js
File \Device\Afd
Mutant \Sessions\1\BaseNamedObjects\http://www.blick.ch/
Mutant \Sessions\1\BaseNamedObjects\SmartScreen_UrsCacheMutex_4A72F430-B40C-4D36-A068-CE33ADA5ADF9Low_BLACKBOOK_Admin
Mutant \Sessions\1\BaseNamedObjects\http://cdn.cxense.com/
Mutant \Sessions\1\BaseNamedObjects\https://www.flickr.com/
Mutant \Sessions\1\BaseNamedObjects\http://www.bild.de/
Mutant \Sessions\1\BaseNamedObjects\https://www.youtube.com/
Section \BaseNamedObjects\C:*ProgramData*Microsoft*Windows*Caches*cversions.2.ro
Section \Sessions\1\BaseNamedObjects\windows_ie_global_counters
Thread iexplore.exe(5028): 4344
Thread iexplore.exe(5028): 4492
Thread iexplore.exe(5028): 3424
Thread iexplore.exe(5028): 364
Thread iexplore.exe(5028): 5076
Thread iexplore.exe(5028): 5852
Thread iexplore.exe(5028): 3108
Thread iexplore.exe(5028): 2568
Thread iexplore.exe(5028): 3052
Thread iexplore.exe(5028): 4448
Thread iexplore.exe(5028): 4848
Thread iexplore.exe(5028): 3352
Thread iexplore.exe(5028): 2892
Thread iexplore.exe(5028): 6044
Thread iexplore.exe(5028): 5196
Thread iexplore.exe(5028): 5144
Thread iexplore.exe(5028): 6020
Thread iexplore.exe(5028): 1108
Thread iexplore.exe(5028): 4268
Thread iexplore.exe(5028): 3820
Thread iexplore.exe(5028): 2068
Thread iexplore.exe(5028): 3688
Thread iexplore.exe(5028): 4592
Thread iexplore.exe(5028): 5032
Thread iexplore.exe(5028): 2144
Thread iexplore.exe(5028): 3912
Thread iexplore.exe(5028): 4152
Thread iexplore.exe(5028): 3296
Thread iexplore.exe(5028): 4468
Thread iexplore.exe(5028): 2860
Thread iexplore.exe(5028): 4956
Thread iexplore.exe(5028): 5800
Thread iexplore.exe(5028): 4016
Thread iexplore.exe(5028): 4596
Thread iexplore.exe(5028): 3900
Thread iexplore.exe(5028): 2288
Thread iexplore.exe(5028): 4152
Thread iexplore.exe(5028): 2320
Thread iexplore.exe(5028): 5676
Thread iexplore.exe(5028): 3796
Thread iexplore.exe(5028): 2244
Thread iexplore.exe(5028): 4208
Thread iexplore.exe(5028): 2840
Thread iexplore.exe(5028): 2368
Thread iexplore.exe(5028): 6088
Thread iexplore.exe(5028): 5900
Thread iexplore.exe(5028): 3696
Thread iexplore.exe(5028): 4480
Thread iexplore.exe(5028): 1756
Thread iexplore.exe(5028): 5964
Thread iexplore.exe(5028): 6040
Thread iexplore.exe(5028): 5088
Thread iexplore.exe(5028): 4964
Thread iexplore.exe(5028): 3288
Thread iexplore.exe(5028): 3084
Thread iexplore.exe(5028): 2344
Thread iexplore.exe(5028): 4128
Thread iexplore.exe(5028): 4284
Thread iexplore.exe(5028): 3880
Thread iexplore.exe(5028): 3532
Thread iexplore.exe(5028): 4412
Thread iexplore.exe(5028): 2260
Thread iexplore.exe(5028): 1664
Thread iexplore.exe(5028): 4816
Thread iexplore.exe(5028): 3836
Thread iexplore.exe(5028): 3936
Thread iexplore.exe(5028): 1760
Thread iexplore.exe(5028): 3780
Thread iexplore.exe(5028): 4444
Thread iexplore.exe(5028): 5692
Thread iexplore.exe(5028): 4016
Thread iexplore.exe(5028): 1784
Thread iexplore.exe(5028): 3280
Thread iexplore.exe(5028): 5544
Thread iexplore.exe(5028): 2760
Thread iexplore.exe(5028): 2244
Thread iexplore.exe(5028): 4328
Thread iexplore.exe(5028): 3600
Thread iexplore.exe(5028): 4928
Thread iexplore.exe(5028): 4124
Thread iexplore.exe(5028): 5908
Thread iexplore.exe(5028): 4612
Thread iexplore.exe(5028): 5124
Thread iexplore.exe(5028): 4908
Thread iexplore.exe(5028): 4924
Thread iexplore.exe(5028): 5136
Thread iexplore.exe(5028): 1140
Thread iexplore.exe(5028): 3752
Thread iexplore.exe(5028): 3536
Thread iexplore.exe(5028): 3544
Thread iexplore.exe(5028): 5180
Thread iexplore.exe(5028): 4800
Thread iexplore.exe(5028): 4580
Thread iexplore.exe(5028): 5036
Thread iexplore.exe(5028): 3332
Thread iexplore.exe(5028): 5712
Thread iexplore.exe(5028): 3816
Thread iexplore.exe(5028): 2252
Thread iexplore.exe(5028): 2692
Thread iexplore.exe(5028): 4040
Thread iexplore.exe(5028): 4200
Thread iexplore.exe(5028): 3788
Thread iexplore.exe(5028): 3648
Thread iexplore.exe(5028): 2420
Thread iexplore.exe(5028): 5780
Thread iexplore.exe(5028): 2788
Thread iexplore.exe(5028): 4512
Thread iexplore.exe(5028): 3476
Thread iexplore.exe(5028): 3804
Thread iexplore.exe(5028): 5796
Thread iexplore.exe(5028): 3376
Thread iexplore.exe(5028): 4244
Thread iexplore.exe(5028): 4340
Thread iexplore.exe(5028): 5576
Thread iexplore.exe(5028): 3664
Thread iexplore.exe(5028): 3216
Thread iexplore.exe(5028): 5280
Thread iexplore.exe(5028): 1560
Thread iexplore.exe(5028): 1924
Thread iexplore.exe(5028): 4436
Thread iexplore.exe(5028): 4072
Thread iexplore.exe(5028): 5376
Thread iexplore.exe(5028): 3228
Thread iexplore.exe(5028): 1416
Thread iexplore.exe(5028): 2152
Thread iexplore.exe(5028): 5244
Thread iexplore.exe(5028): 3876
Thread iexplore.exe(5028): 4396
Thread iexplore.exe(5028): 4944
Thread iexplore.exe(5028): 3584
Thread iexplore.exe(5028): 4824
Thread iexplore.exe(5028): 3092
Thread iexplore.exe(5028): 460
Thread iexplore.exe(5028): 5504
Thread iexplore.exe(5028): 3452
Thread iexplore.exe(5028): 1692
Thread iexplore.exe(5028): 2396
Thread iexplore.exe(5028): 2524
Thread iexplore.exe(5028): 4904
Thread iexplore.exe(5028): 5148
Thread iexplore.exe(5028): 4608
Thread iexplore.exe(5028): 5668
Thread iexplore.exe(5028): 3104
Thread iexplore.exe(5028): 3240
Thread iexplore.exe(5028): 5224
Thread iexplore.exe(5028): 1900
Thread iexplore.exe(5028): 3824
Thread iexplore.exe(5028): 272
Thread iexplore.exe(5028): 3196
Thread iexplore.exe(5028): 1904
Thread iexplore.exe(5028): 2912 -
Hanging cyrus process stopps mail service
Yesterday it happened the second time that a cyrus process hanged. I couldn't kill and even shutting down the server did not succeed (because it couldn't kill the hanging process I think). So I had to switch off the server with all those ugly side effekts (databases corrupted).
Is there anyone here who had simular problems?
The first time it happened it was a process that tried to delete a large mail. Why it hanged I could not see. The second time I have no idea.
Has someone an idea how to kill a process that ignores kill -9 ? And how to reboot without getting problems with the other services? I am used to kill them first by hand and then pulling the plug, but launchd respawns them so fast that e.g. slapd ist running again before I could reach to the plug.
I hope there are some BSD cracks around for help.
StefanLog entries for that time frame would help.
-
Configuration: MS Win2k SP2, MS Visual C++ 6.0 SP6, Oracle 8.1.7 via OCI
I have 128 threads doing the following:
1) Create environment (OCI_THREADED, OCI_ENV_NO_MUTEX), setup handles, try to connect to remote database 2) If connect fails, log the error message and try again after 2 seconds 3) Execute simple stored procedure 4) Disconnect from remote database ( + cleanup of all handles including environment ) 5) ... repeat from 1)
When I go to the remote database and perform shutdown of the whole operating system (by choosing shutdown in Windows), something peculiar happens. First I get: ORA-12500 and ORA-12541 error messages. Then most of the channels go to ORA-12535 error message and they loop in that message until I exit the application. However, some of the threads remain hanging in OCIServerAttach function and do not allow my application to exit.
Needless to say, OCIBreak function doesn't help here (I've tried).
When I attach the debugger to the hanging process, I get the attached stack trace. It looks like some sockets remain hanging - a terrible thing to happen.
In the attachment are also Oracle error descriptions that I mentioned.
I would be thankful for any suggestions here...
-- Tomislav.
"Real sharpness comes without effort,
No growth without assistance,
No action without reaction,
Now give yourself up and find yourself again."
"Crouching tiger, hidden dragon"
NTDLL! 77f827e8()
MSAFD! 74fd8e33()
WS2_32! 75031275()
ORANTCP8! 6470565f()
ORANTCP8! 64703536()
ORAN8! 60b78f5a()
ORAN8! 60b7c8a8()
ORAN8! 60b44d24()
ORAN8! 60b3fd0a()
ORAN8! 60b3f474()
ORAN8! 60b157a0()
ORAN8! 60b61c7c()
ORACLIENT8! 60429b1e()
ORACLIENT8! 604b4695()
ORACLIENT8! 604b9ece()
ORACLIENT8! 604823a3()
ORACLIENT8! 60429f64()
ORACLIENT8! 60401340()
OCI! 015059ab()
CLibOCI::OCIServerAttach(OCIServer * 0x0dff13e0, OCIError * 0x0dff15d4,
unsigned char * 0x0de9b810, int 21, unsigned int 0) line 282 + 28 bytes
FCALLDLL! 014d2c03()
MSVCRT! 7800a3c0()
KERNEL32! 77e8758a()
"TNS-12500 TNS:listener failed to start a dedicated server process
Cause: The process of starting up a dedicated server process failed. The executable could not be found or the environment may be set up incorrectly.
Action: Turn on tracing at the ADMIN level and re-execute the operation. Verify that the Oracle Server executable is present and has execute permissions enabled. Ensure that the Oracle environment is specified correctly in LISTENER.ORA. The Oracle Protocol Adapter that is being called may not be installed on the local hard drive. Check that the correct Protocol Adapter are successfully linked. If the error persists, contact Oracle Customer Support.
TNS-12541 TNS:no listener
Cause: The connection request could not be completed because the listener is not running.
Action: Ensure that the supplied destination address matches one of the addresses used by the listener. Compare the TNSNAMES.ORA entry with the appropriate LISTENER.ORA file (or TNSNAV.ORA if the connection is to go by way of an Interchange). Start the listener on the remote machine.
TNS-12535 TNS:operation timed out
Cause: The requested connection could not be completed within the timeout period specified by the CONNECT_TIMEOUT parameter in LISTENER.ORA. This error arises from the TNSLSNR.
Action: Either reconfigure CONNECT_TIMEOUT to be 0, which means wait indefinitely, or reconfigure CONNECT_TIMEOUT to be some higher value. Or, if the timeout is unacceptably long, turn on tracing for further information."Hi,
What is going on in your case is :
1. Oracle library (OCI) is failing to identify a Dead Connection properly all the time.
2. According to the errors you have received, all of them seems to be appropriate to what you have described in your message.
a. TNS failed to start a dedicated server process. This error is returned when the number of server processes are excessive or memory is low etc - I am not sure why this is returned to you
b. TNS listener is not available - May be the listener has already shutdown, since the system is being shutdown.
c. TNS operation timed out. This will be returned by your local TNS client library, which says CONNECT(socket operation) failed, since the other end has already SHUTDOWN.
Getting an error is good for you, since you can always sleep 2 seconds and reconnect.
The hanging thread is due to a problem that Oracle folks call as DCD(Dead COnnection Detection) logic. The DCD can be turned on by setting sqlnet.expire timeout to be some number of minutes in the sqlnet.ora file. Please check on the Metalink on the DCD issue.
What I have personally seen is that DCD does not always work, even if turned ON. -
Sh setup.sh deploy hangs for PetStore 1.3.2 w J2EE 1.3.1
Hi!
I have succesfully installed a J2EE reference installation in a linux machine and the server starts up fine:
Starting web service at port: 8000
Starting secure web service at port: 7000
J2EE SDK/1.3.1
Starting web service at port: 9191
J2EE SDK/1.3.1
J2EE server startup complete.The cloudscape server also starts up ok
Thu Nov 11 16:53:36 PST 2004: [RmiJdbc] Binding RmiJdbcServer...
Thu Nov 11 16:53:36 PST 2004: [RmiJdbc] No installation of RMI Security Manager...
Thu Nov 11 16:53:37 PST 2004: [RmiJdbc] RmiJdbcServer bound in rmi registryBut when running the "sh setup.sh deploy" , the deployment just displays
init:
deploy:
[echo] Deploying ears ....and that's it. No errors, no exceptions, nada.
What is the problem? Do I need any special permissions? I have even tried deploying as root and it still just hangs.
Thanks for any help that you might provide.I ran into the same problem.
"stracing" the hanging process I found that the installer tried to connect to an IP mapped to my hostname in /etc/hosts:
bind(6, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
getsockname(6, {sa_family=AF_INET, sin_port=htons(38792), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
connect(6, {sa_family=AF_INET, sin_port=htons(36047), sin_addr=inet_addr("192.168.1.107")}, 16) = -1 EHOSTUNREACH (No route to host)
Problem was that the mapping of my hostname to IP 192.168.1.107 was not valid any more. Updating the IP mapped to the hostname to the current IP AND RERUNNING the setup procedure solved the problem. -
How to stop/cancel Process Chain in BI 7.0
Hi,
Could you tell me how to stop/cancel a process chain that hangs with status yellow or green in BI 7.0? There was an easy option to do it in 3.x, but I cannot find a similar option in 7.0.
What happens is that at random our process chains hang at a certain variant with either yellow or even green status and do not proceed further. What happens is that in a couple of hours another pchain run occurs and it executes fine. Then again at random (might be the same day or the next day) the process chain hangs again. I think that all those "hanged" pchains pile up in the queue, so that it cause other future pchains to hang as well at some point. So, is there anyway to stop/cancel these zombie process chains when it stops at a particular event RSPROCESS in BI 7?
Thank you,
AG
Message was edited by:
AGHi Frank,
Thanks for your reply. I have a few questions.
1)SM37 -->Kill Job
We cannot do that because the job has already finished.
2)SM50/sm66- ->Kill process
There are no hanged processes to kill
3)RSPC>Job Log>Make the process RED forecefully
How do you do that exactly?
4)RSPC>Process chain> main Menu"Remove from Scheduling" OR
5)se37-->RSPC_API_CHAIN_INTERRUPT
give RFC BW system name(technical) and process chain name(technical) - we can do this, but what exactly would it accomplish. Would it remove the process chain from any runs in the future or also any hanged ones in the past? An how is this step different from #4?
Thank you,
AG -
PS2013 - When creating a new instance of Project Server hangs in 'Waiting for resources' status
Hi,
I have one instance of Project Server 2013 fully operational and I tried to duplicate the instance to make some tests. As I know the issue of using the same Content Database of Project Server in the same Server Farm, I used the powershell backup/restore/dismount
and mount the content database to change the site IDs to avoid index duplication. The Project server database was a regular SQL backup and restore in another database.
I created a new Web App in the port 90 as show below.
Then I included the Content database of Project Server as separated DB from SharePoint for this new SharePoint -acme90 and I tried to create the new instance. The creation hanged in "Waiting for Resources" status.
To make another check excluding the reuse of the SharePoint-80 I tried to create another instance both in the SharePoint-80 where is the working instance and in the SharePoint-90, everything default and again they all hanged in Waiting for Resource.
If I try to create the instance using PowerShell I got the following error:
PS C:\Users\epm_setup> Mount-SPProjectWebInstance -DatabaseName Test_EPM -SiteCo
llection http://acme02/epm -Lcid 1046
Mount-SPProjectWebInstance : Cannot find an SPSite object with Id or Url:
http://acme02/epm.
At line:1 char:1
+ Mount-SPProjectWebInstance -DatabaseName Test_EPM -SiteCollection
http://acme02/ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : InvalidData: (Microsoft.Offic...ountPwaInstance:
PSCmdletMountPwaInstance) [Mount-SPProjectWebInstance], SPCmdletPipeBindEx
ception
+ FullyQualifiedErrorId : Microsoft.Office.Project.Server.Cmdlet.PSCmdletM
ountPwaInstance
All SharePoint and Project Server services are running, all App Pools and sites are started at the IIS. I could not find a hanging timer job.
I cannot stop the hanged process or dismount the instances using Powershell since no instance created.
How should I solve the hanging status of creation of the instance? As they are in Hyper-V I can go back using one snapshot.
Thank you.
Best regards, Ricardo Segawa - Segawas Projetos / Microsoft PartnerHi Eric,
Thank your for your interest in this case.
I checked for running and crashed PWA jobs and deleted all of them just after restoring the snapshot and tried to create the new instance in the new web app in port 90 (besides the existing and working instance in port 80), but again it hanged in "waiting
for resources". There is not any timer job hanging, no error in event viewer or in log. So the error is well before working with cloned dbs.
Answering your questiion, I am working all on 2013. My intention is backup one instance of the port 80 and copy to the instance of port 90, changing of course the url and the index of the content db of SharePoint. The process I used was:
Create a new web app in port 90, creating a new SharePoint_Content_2 on a
http://server:90 site.
Created the top level site called Portal using the Team Site template.
Create a new content db for new instance of Project Server named EPM_Content_2 using Central Admin.
Backup content db from port 80 instance of Project Server and restore to this EPM_content_2 using PowerShell cmd.
Dismounted and mounted this Project Server content db to create new index for existing sites to avoid index conflicts.
Backup the Project Server DB from port 80 using SQL backup and restored as ProjectWebApp2 db for port 90 instance.
Tried to create a new instance of Project Server
http://server:90/pwa on web app of port 90 using the ProjectWebApp2 db and using the same app pool of the other instance. But as in the previous case, it hang out in "Waiting for resources".
Best regards, Ricardo Segawa - Segawas Projetos / Microsoft Partner -
Torch update to 6.0.0.448 hangs Win 7 Blackberry Desktop in Address book update
First attempt at using Win 7 Desktop update since updating 9800/Torch to 6.0.0.448 and the desktop hangs "Processing Device Address Book". Shows Record 189 of 189 and never completes.
Reset the Desktop Organizer configuration to ground zero and re-configured. Works now, but did duplicate a lot of my calendar events. Just a bit buggy....
Maybe you are looking for
-
Hi, For some reason, on my website it is showing some random blank white spaces? They appear to be in the same places on each individual page so I was wondering if it could possibly be anything to do with the master page? In preview mode, both on Ado
-
Submitting a user's file to an applet.
Hi, I am fairly new to Java, but I have spent a large part of this year learning about and using Java to write a program for biochemists, to allow them to study a particular class of enzymes. I have used Java because I wanted to enable to program to
-
Moving itunes folder and music to external drive
I moved my itunes folder and all my mp3's onto an external hard drive. As a result, all of the songs that appear in itunes has a ! and says they cannot find where the songs are. It seems that I have to re-import everything all over again including re
-
SAP Query using internal table because of multiple records in KONV
Hi Im using abap code to write to an internal table, how do you get the internal table fields to show in query report. Reason I have added abap code is I have a query for purchase order tables EKKO and EKPO. I would like to show any conditions attach
-
Xml-declaration="yes" in xsl:output
When I have a xml-declaration="yes" in my xsl:output, should I get <?xml version="1.0" ... ?> in my output? I tried it on Oracle xmlparser_v2_0_2 sample XSLSample.java and I did not get the <?xml ...?> line. How do I modify the file so that it output