Does win8/8.1/10 kill long-running programs automatically as stated in specs? reasons why?
does win8/8.1/10 kill/end-task long-running programs automatically as stated in specs? how specifically does it detect a locked-up process?
has this been put into windows 7 at any time to make it similar to windows 8?
Please supply accurate answers. thank you.
My understanding the reason for this change was to handle locked-up programs.
I do have a number of long-running processes. some examples of mine and scenarios for other users:
simulations on a Workstation or HPC Server
doing a directory tree walk on a hard disk with >=1TB of data
reference articles I have found on the subject:
windows 7
http://windows.microsoft.com/en-us/windows/exit-program-not-responding#1TC=windows-7
windows 8
From some of what I understand, you can also get the "Program Not Responding" or similarly titled dialog box when:
bug in the source code of the program in question. for instance, while(1){} such as forever loops (win7)
similar program bug when declaring a function one way but defining it a different way and then calling it (mismatch in function signature) (win7)
similar to above with DLLs in using MSVCRT*.DLL or other
(?) can't remember for sure on this, but I think some badly formed calls or it was invalid values or data type mismatch to Win32 API can do this from buggy code. (win7)
for (x=0; x < 16777216; x++) {your code here...} in other words, large values for loop termination (win7)
this is a repost of http://answers.microsoft.com/en-us/windows/forum/windows_8-performance/does-win88110-kill-long-running-programs/d35c3c9e-c6f4-4bbf-846a-2041bf2167a0?tm=1427518759476
here due to a request to do so.
does win8/8.1/10 kill/end-task long-running programs automatically as stated in specs? how specifically does it detect a locked-up process?
has this been put into windows 7 at any time to make it similar to windows 8?
Please supply accurate answers. thank you.
My understanding the reason for this change was to handle locked-up programs.
Hi Jim,
First, I have to admit that I'm not fully understanding the question, If a program is not responding, it means the program is interacting more slowly than usual with Windows, typically could be a confliction of software or hardware resources between
two programs, lack of system resources, or a bug in the software or drivers. In that case, we can choose to wait or end the program. This design is similiar in Windows 7, Windows 8 and other OS.
For deeper analysis, system determines whether the system considers that a specified application is not responding using a "IsHungAppWindow function",
https://msdn.microsoft.com/en-us/library/ms633526.aspx
And this link also give some explanation: Preventing Hangs in Windows Applicationshttps://msdn.microsoft.com/en-us/library/windows/desktop/dd744765%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
While I'm not a developer, to better understand this, I recommend you contact members in the MSDN Forum:
https://social.msdn.microsoft.com/Forums/en-US/home
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Similar Messages
-
Killing long running SQl automatically
I want to put a restriction on my database, if a sql query is running for more then 15 min, then killing this automatically. If this is possible kindly let me know.
Hi,
yes you can do that, use Resource Manager for that like described below:
http://www.pythian.com/blog/oracle-limiting-query-runtime-without-killing-the-session/
Best regards,
Nikolay -
Script to kill long running reports in OBIEE
Hi
I have requirement to kill long running reports . I am using OBIEE version 10.1.3.4.0 which has a bug where it is not taking query limits governor and the reports are not getting killed if i am setting that parameter in RPD.
Oracle support has advised me to upgrade to next version, but for now, i cannot upgrade.
Can anyone suggest me script to run on obiee app server that can kill long running reports on obiee and database server.
I have AIX server and all reports run on database with same functional ID that is being used for ETL as well to Analytics database.Shikhs17 wrote:
Hi
I have requirement to kill long running reports . I am using OBIEE version 10.1.3.4.0 which has a bug where it is not taking query limits governor and the reports are not getting killed if i am setting that parameter in RPD.
Oracle support has advised me to upgrade to next version, but for now, i cannot upgrade.
Can anyone suggest me script to run on obiee app server that can kill long running reports on obiee and database server.
I have AIX server and all reports run on database with same functional ID that is being used for ETL as well to Analytics database.Do you want to enforce the limitation on the database to automatically kill running sessions that run over specific period of time? -
Challenging question: Status report for long running program...
Hi All,
With all the control stuff around like cl_dd_document I was wondering if there is a way to give a user a report which shows the progress of a very long running program?
i.e. If I have a 20 step process and each step takes 1 minute, the following is what I would like to occur:
Output a status line in a report format, run step, repeat until all steps are finished.
This is similar to the status bar, but with a history of what is happening. Obviously scrolling needs to be considered also. Ideally it would behave like sapinst would but in a reporting format.
Obviously this has to bypass the PBO/PAI approach, hence why I believe UI Controls must be the answer.
Any ideas anyone?
Regards,
MattWithout using a control, you could try the old report refresh trick using set user-command and an action triggered after an RFC in a new task ... see basic demo below:
report zlocal_auto_refresh no standard page heading.
data:
begin of gs_step,
uzeit like sy-uzeit,
step like sy-tabix,
start_end(10) type c,
end of gs_step,
gt_step like gs_step occurs 10,
g_step_number like sy-tabix.
*=======================================================================
* Events
*=======================================================================
at user-command.
perform user_command.
*=======================================================================
* Mainline
*=======================================================================
start-of-selection.
perform start_of_report.
end-of-selection.
*& Form start_of_report
form start_of_report.
set pf-status '1000LIST'. "contains ZREFRESH ucomm
perform run_a_step.
endform. "start_of_report
*& Form run_a_step
form run_a_step.
* Demo with something that takes some time, like sleeping...
data:
ls_step like gs_step.
add 1 to g_step_number.
if g_step_number > 9.
stop.
endif.
get time.
clear: ls_step.
ls_step-step = g_step_number.
ls_step-uzeit = sy-uzeit.
ls_step-start_end = 'Starting'.
append ls_step to gt_step.
* generate a delay for demo
call function 'ENQUE_SLEEP'
exporting
seconds = 1
exceptions
others = 0.
get time.
clear: ls_step.
ls_step-step = g_step_number.
ls_step-uzeit = sy-uzeit.
ls_step-start_end = 'Ended'.
append ls_step to gt_step.
format reset.
format color col_normal.
loop at gt_step into ls_step.
write: /
ls_step-uzeit,
ls_step-start_end,
ls_step-step,
at sy-linsz space.
endloop.
uline.
call function 'RFC_PING'
starting new task 'NEWTASK'
performing when_back on end of task.
endform. "run_a_step
*& Form when_back
form when_back
using
i_taskname type any.
receive results from function 'RFC_PING'.
set user-command 'ZREFRESH'. "act like user pressed something
endform. "when_back
*& Form user_command
form user_command.
case sy-ucomm.
when 'ZREFRESH'.
perform run_a_step.
sy-lsind = sy-lsind - 1.
endcase.
endform. "user_command
cheers
jc -
Webkit timeout kills long running tasks
Hi There
We have just been forced to refactor/recode a significant
portion of one of our AIR based RIA's due to an arbitrary decision
made by the Webkit team to restrict all XML HTTP requests via a
hard coded, hidden timeout of 60 seconds. This decision not only
affects AIR but also affects Safari and other browsers based upon
Webkit.
Our application performs complex analytic queries which may
run to a few minutes. Whilst long synchronous requests are not
generally a good idea for web based solutions, we believe that RIA
intranet applications are a completely different ball game and
should not be subject to arbitrary constraints such as these with
no flexibility or warning. We would not see this behaviour in Java
/ C# or other such application languages, so why are we seeing this
in Adobe AIR?
Our MD has understandably questioned the suitability of Adobe
AIR for future developments of enterprise RIA's, and we are all
naturally concerned about other "features" being added or removed
to the Adobe AIR functionality, even indirectly and whether in fact
we can rely upon Adobe to monitor the stability of their runtime.
We don't believe it is acceptable for us to tell our customers that
it was the fault of a component nested within multiple layers of
the runtime outside of our control and believe that it is equally
unacceptable for Adobe to stand by and claim the same.
We are excited about the prospects of investing in Adobe AIR
for delivering rapid RIAs to our customers, but are we to expect
similar show stoppers to arise over the coming months or even
years, and can we trust the Adobe runtime as an "In production"
solution going forward.
Mark Robertshaw
Director
Oxford Information Labs
http://www.oxil.co.ukMark,
Thanks for bringing this to our attention. We, as I'm sure
you realize, aren't claiming that this sort of thing is ok. And we
do work hard to maintain the stability of the runtime. However, it
can be difficult to know a priori everything that we need to keep
an eye on. That's one of the reasons we have forums like this one
and we very much appreciate this kind of feedback.
As for this particular issue, I'll just point out that you
might consider taking advantage of the flash.net.* APIs to manage
your network request, at least as a temporary workaround.
regards,
Oliver Goldman | Adobe AIR Engineering -
How to kill long running package?
Hi,
Oracle version : 11.0.1.7.0
OS: IBM-AIX
I have executed health check package "DBMS_HM.RUN_CHECK" But my Database performance badly degraded. I wish to end the execution of the package.
How can i kill it?
Thanks
KSG-- show PROCESS id for all the active sessions
select p.spid,s.sid,s.serial#,s.username,s.status,s.client_identifier,s.last_call_et,p.program,p.terminal,logon_time,module,s.osuser
from V$process p,V$session s
where s.paddr = p.addr and s.status = 'ACTIVE' and s.username not like '%SYS%';
Find out the session and kill the session.
alter system kill session 'sid,serial#';
alter system kill session '32,87568';
Regards
Asif kabir -
Hi,
some of the time we get the situation where program (in background job) takes unusal time for execution and it will keep running...
I checked the memory utilization...logs..dumps....but no success....
when i go to SM50..I see only user and Report..there is nothing in action Tab and no table as well..
When I double click the process ..there also it dont show anything...
sometimes we kill this and ask user to resatrt the program and it will go fine....but can anybody know how to troubleshoot this scenario
Regards,
YashHi Yash,
Probably this happens due to a bad coding, something unexpected are ocurring inside the program which fall into infinite loop waiting one condition with never hapens.
To check this, you can go deeper into code (ABAP expertise required) by one or both of two ways:
- starting the debug from SM50 --> Program/Session --> Program -> Debugging or
- trace it with SE30 --> In Parallel Session --> Select your process and click on Start measurement.... Wait some time, stop and analyse the infos.
Regards, Fernando Da Ró -
How to start a long running program at system start and stop at login and restart at logoff
I am trying to mine some crypto currency with my computer. My computer is usually in logged off state, so I want to mine automatically when system is in this state.
Untill now I have done this:
At system start, I have scheduled a task to start the mining software
at login I have scheduled another task to kill the mining process
Here comes the question: I need to restart the mining process as soon as the user logs off.
But I couldnt figure out how to schedule a task at logoff, so I decided to use Group Policy Ediotr's Logoff scripts. But the problem is, I can't seem to log off at all, because system seems to be waiting for the "script" to finish, and since it is
a mining process, it doesn't finish, and the user is never logged off!
How do I configure windows to resume mining after the logoff?Hi!
I haven't been working much with mining, but you are thinking correctly with using the logon/logoff-scripts.
The problem is that the process for mining requires a user to be logged on, it runs i user-context.
So if you in some way can start the process to run in system context, you are good to go. (The mining process) But if this is possible at all I do not know, I think the miners are dependent on a user being logged on.
Best regards
Andreas Molin
Andreas Molin | Site: www.guidestomicrosoft.com | Twitter: andreas_molin -
Can I run Tiger or Leopard with these specs? + why is computer so slow?
I have an ibook dual USB with a 600 MHz Power PC G3 processor, 256 MB SDRAM. Right now I have 3.53 GB available on the hard drive. I need to be able to run Tiger on it for my work as an online writing tutor and freelance writer. I send files to Windows users, so I'd like to be able to run Leopard when it appears.
Is there any way I can update this computer--more memory, faster processor?--so that it will run these operating systems without taking a million years and/or crashing frequently?
Right now, it's running extremely slowly as is. For example, I just tried to open Systems Profiler to give more info about the computer, and after 2 minutes it still hadn't opened.
I'm thinking I should spring for a new laptop when Leopard comes out, or maybe get one now with Tiger before my computer becomes totally fried.
Advice? Thanks!Hi, and welcome to Apple Discussions.
What is the hard drive capacity? You are running with it very full right now. I recommend keeping at least 5 GB available. Maybe you could do a bit of housecleaning to make a little more space available?
I don't recommend installing Tiger on a G3 iBook. In my opinion, OS X 10.3.9 is the optimal installation for the 600 MHz iBook.
How long has it been since you did any hard drive maintenance? If it's been awhile, try booting into Safe Mode. This will take quite awhile longer than a normal startup because it does a file check and repair of the hard disk.
You will see your normal desktop. Once completely started up in Safe Mode, restart normally, and go to Applications > Utilities > Disk Utility. Click on the top hard drive icon in the left sidebar and note the S.M.A.R.T. status at the bottom right of the pane. What does it say?
Select the named boot volume in the left sidebar ("Macintosh HD" unless you've renamed it). Repair permissions on it.
See if a little hard drive maintenance helps speed things up a bit.
Additional RAM would help the speed a mite, but a new MacBook is likely the wiser choice. -
I need to uninstall Captivate update 7.0.1 becuase my quizzes will no longer run on any platform browser.
The reason they do not run is becuase LMS API will not load the quiz. because of a java script error (see image below)
The new update 7.0.1 has drastically changed the following files:
imsmanifest.xml
index_SCORM.html
SCORM_utilities.js
Utilities.js
The new script just will not run on Firefox 26
Internet Explorer 10 and 11
Chrome 31.0.1650.63m
Safari 5.1.7
How do I uninstall this update and get back to the earlier version or is there something that will fix this?
Claireyou would uninstall your current version and then reinstall the previous version, but there may be a better way to handle that error.
post on the captivate forum to check, http://forums.adobe.com/community/adobe_captivate -
CP01: long running txn detected, xid: 0x0006.00d.0044c48f
11.2.0.3
2-node RAC
RHEL-6.
We streams configured from OLTP to OLAP env for a replication. Streams are working fine till 10.2.0.5 rac. We recently migrated our db to 11.2.0.3 rac.
Even now streams are working fine but we are continously hitting following warning message in alertlog file from past few days.
CP01: long running txn detected, xid: 0x0006.00d.0044c48f (6.13.4506767)I have checked db for streams long running txn, but there are no long running txns.
Can somebody helpme out on why is this hitting in alertlog from past few days ?
Thanks,
HariHi Hari,
This appears to be related to the capture process (CP01).
Take a look at this link.
http://www.oracle11ggotchas.com/articles/MakingOracleStreamsFly.htm -
FXTrans Script runs on error: UJK_EXECUTION_EXCEPTION:Run program error
Dear Experts,
I found a couple of messages related to this topic but unfortunately no solution that fits for me. I have the following problem. In 7.0 we implemented a very simple prototype currency translation and it worked just fine. We migrated the appsets etc. to 7.5 SP4 and I was gonna run the currency translation but the script gives me the following error in the package as well as in the script logic tester:
RUN CURRENCY CONVERSION
EXCEPTION OCCURRED WHEN RUNNING PROGRAMS:
Error found in BPC
UJK_EXECUTION_EXCEPTION:Run program error, Message Number: ""
For that reason, the package of course runs on an error.
This is my FXTRANS-Script:
*RUN_PROGRAM CURR_CONVERSION
CATEGORY = %CATEGORY_SET%
CURRENCY = %RPTCURRENCY_SET%
TID_RA = %TIME_SET%
OTHER = [ENTITY=%ENTITY_SET%]
RATEENTITY = GLOBAL
*ENDRUN_PROGRAM
This is my Test-Script for the Checker:
*RUN_PROGRAM CURR_CONVERSION
CATEGORY = V301
CURRENCY = EUR
TID_RA = 2011.JAN
OTHER = [ENTITY=S21001]
RATEENTITY = GLOBAL
*ENDRUN_PROGRAM
I am very sure that I maintained all needed dimensions and properties. I just dont understand why the system gives me such a weird error message. I'm desperate.
Thanks in advance,
CoraDear CoraBo
I hope you 've configured " Currency Conversion Business Rules" in main Financial App, as required.
In the meanwhile, as I could not find much details of error LOG report in your message, I suggest you to have some insight of possibility of error ("UJK_EXECUTION_EXEPTION:Run Program Error") in the following thread for your reference:
Currency Conversion
Hope this will help you, for some extent.
Regards
ukraghu -
I do prefer using the home button. Will it somehow be 'damaged' in the long run? I just need assurance. *TIA.
Any mechanical component is subject to failure. If it does fail, if your device is in hardware warranty, it would likely be replaced. If you are still within the first year, purchase AppleCare to extend the warranty for an additional year.
-
Trying to download Mountain Lion on Mac Mini currently running Lion 10.7.4. Computer is set to never sleep. When I check progress it says "waiting" under purchases on App store. What does this mean? Way too long to still be waiting. HELP
In the app store where it says waiting, do you get the option to "resume"?
-
Web.Show_Document does not work with long running reports
I am using Web.Show_Document() to call reports from Forms. Everything works fine for smaller reports. However for long running reports I do not get the output instead get the page "This page cannot be displayed.". On checking the job status on the report server I find that report is still running and completes after some time but by that time my http request has already timed out. What configuration do I have to change to make my long running reports work.
ThanksSo, looks like this is an IE issue. I need to add the form server site to my list of Trusted Sites. Once I did that, everything started to work fine. Thought I'd share in case anyone is really interested.....
Maybe you are looking for
-
Deserialization Exception in RAD6
When I try to call the service using WSIF java client, it works fine but on RAD 6 runtime as web project it gives me this exception: org.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element ServiceError of bean com.coo.testws.model.LatL
-
Using search and comments on my own server
Hi all, I have created a blog site and I use the search and comments features. I noticed that every time I publish my site to a folder (or to our internal server) instead to .Mac the functionality of the search and comments is gone. Is there a way to
-
Topology builder encountered an issue and cannot publish the topology.
Hi all, Initially I have created a topology and with central management store in the domain controller. DC\rtc Then i deleted the existing topology and created a new one in the server where i'm running Lync deployment wizard. memberserver\rtc. But, n
-
Installed LR2. Now it, PS and Bridge all crash after I launch them.
I installed Lightroom 2 on my Mac yesterday and now when I try to launch Lightroom, Photoshop or Bridge they get through the credits and open, but quickly crash before I can do anything. I have run software update on all Adobe products and Mac OS. Us
-
I am a little confused with documentation about character sets. In chapter 9 it says that "The database is created using Unicode(AL32UTF8) character set, which is suitable for global data in any language." but in Chapter 10.3 Supported Character Sets