session is not killed properly

I use oracle 10g (10.2.0.1) in Redhat Ent Linux 5.0.

In my production database, one of my session which is connected thorugh 'TOAD' program is hanged.

I kill this session several times but not removed from the session and it shows the status is 'DEAD '.

Here is the result:

SQL > select username sid, serial #, session state $ v where status = 'KILLED ';

USERNAME SID SERIAL # STATUS

------------------------------ ---------- ---------- --------

1860 37381 KILLED DBPROD

SQL > alter system kill session '1860,37381';

alter system kill session ' 1860,37381'

*

ERROR on line 1:

ORA-00031: session marked for kill

SQL > alter system kill session '1860,37381' immediate;

alter system kill session '1860,37381' immediate

*

ERROR on line 1:

ORA-00031: session marked for kill

Also during the session to kill, there is no show message in the log file of the alerts associated with the kill command.

Now, please help me how I can fix this without closing the database.

EDIT the SYSTEM KILL SESSION does not remove the session.  The session dies only when the user actually tries another SQL operation and is thrown a mistake - that is to say when Oracle kills the process.

The other option is to use an OS command to kill the server process - but you need to know how to do this and identify the right process to kill (assuming not shared server and dedicated server connections).

Hemant K Collette

Tags: Database

Similar Questions

  • Why kill him the session is not immediate

    Hello
    I'm on 8.1.7.4 company
    I have a loop that takes hours
    When I kill the sesison running this loop
    I can still see the loop is still to work (selects, inserts,...)
    and I have to wait a time loooooooong

    Why kill the session is not immediate, not to make it faster?

    Thank you

    Take a look at this... He talks to kill sessions using the ORAKILL utility...
    http://articles.TechRepublic.com.com/5100-10878_11-5224960.html

    Concerning
    Z.K.

  • Satellite L775 - mouse pad does not work properly

    I have a laptop Toshiba Satellite L775. I run Win 7 Home Premium. My mouse pad does not work properly. I also have a Logitech Anywhere MX wireless mouse. I tried the mouse pad to work properly with the key FN and F9, but it does not work. And you really have no idea if that turns or out of the mousepad anyway, subj for another time I guess.

    What does not work, but I have to do is to go to Control Panel then mouse option load that and just scroll the tabs without changing what each time and then close and the touch pad works. But only for this session. If I have my laptop nearby, or turn it off, I have to start throughout the whole process.

    What's past and how to fix this?

    Thank you very much.

    > What's past and how to fix this?
    After reading your ad, I still don t know what is your problem.
    > My mouse pad is not working properly
    How to understand this? What does not work properly? What happen exactly when you start your laptop?

  • USB drivers do not work properly.

    I have a netbook Vaio (name of the VPCM13M1E model) and USB drives will not work correctly. I ran a microsoft fix (hardware and devices one by one). The results said:

    -universal host controller USB Intel (r) 82801g (ICH7 family) - 27 8 does not work properly, and it has not been fixed.
    -Intel (r) 82801g (ICH7 family) USB2 enhanced host controller-27CC does not work correctly, and it has not been fixed.
    -Hardware changes may not be detected.
    Its very annoying because I cannot plug anything on the USB.
    Help, please.
    Camille

    There was a lot of mistakes in the case where the display indicating a gel delivers that seems to have started in early April.

    These gels seem to be preceded by the following error (Source - core-EventTracing):

    Session "Microsoft Security customer OOBE" stopped because of the following error: 0xC000000D

    This error can be caused by a corrupted EppOobe.etl.

    You may be able to resolve the freeze by recreating the EppOobe.etl.

    First of all, can you do the following:

    Start > type options files in the "search programs and files ' and press 'Enter' keyboard > view > then under" Hidden files and folder "select"Show hidden files and folders and drives"> OK

    Then go to the following folder:

    C:\ProgramData\Microsoft\Microsoft Security Client\Support

    In this folder click EppOobe.etl , and then rename the file in EppOobe.bak

    Restart the computer and let Windows recreate the EppOobe.etl.

    I hope that will stop the freezing issue.

    If the problem persists with USB you can restart the computer using safe mode and see if the problem exists in Mode without failure.

  • Error HTTP 404 ORA-00028: your session has been killed error

    Our server application error log is full to the top with the errors below;

    mod_plsql: / pls/PROD/twbkwbis. P_GenMenu HTTP-404 ORA-00028: your session has been killed.
    mod_plsql: impossible to reset the status for mode 1: Err 1012

    This happens for all pages temporarily, we don't kill all users and whenever a user refreshes the page one or a few times after getting page not found error itself solves the problem and continues to work, but it can happen anytime and all other pages.
    This error does not stop the publication of web pages, but it breaks a user several times while doing something, it's confusing.

    Our application: AS Oracle 10g 10.1.3.1.0 (J2EE)
    Our database: Oracle Database 11.1.0.6 Enterprise Edition

    Our web pages are written as packages of pl/sql and published on the web by oracle application server.

    Could you help me to find the reason for these errors and solve the problem?

    Thank you
    Hatice

    Hi all

    Our problem is solved. Error ORA-00028 isn't appearing any more in the papers, and we don't get a not found error page HTTP web plus side. I am writing the solution if anyone else would need.

    The main reason for the problem was our swap space; our previous s/n increased once the size of database memory, but all increasing, he never did the same thing for the space of swap and when we checked it it was too little for the memory of the db. Our management system has increased and this corrected the problem.

    Thank you

    Hatice

  • Session ends not with StructClear function

    Normally, if you want to delete a session we do with StructClear function. But I don't see that it does not end in a user session because the same CFID and CFTOKEN values exist once we've cleared a session. This means so that it is not really ends a session. right?. But if we are expiring these cookies (CFID and CFTOKEN) values then we can see new values for these cookie variables. Here force us coldfusion to new values for these variables cookie but actaually there neither expired nor onSessionEnd() handler has been invoked.

    So my question is how effectively ends the session. But it won't work if we use StructClear function because it erases a logical business identifier as reported in your business logic.

    Anyone have any ideas on that.

    Suppose that you set your session timeout to 2 minutes.

    When you visit the page, you start a new session, CF generates a CFID/CFToken and SENDS that back to you in response to your first request.

    When you visit a page before the session, your browser sends the CFID/CFToken with demand, CF sees this, check the this is a live session and does not issue you a new.

    If you wait 2 minutes of a session timeout, CF kills the session, but not FACT NOT to MESS with your Cookies.  It doesn't matter, because they are invalid anyway.

    When you make a request, you send the CFID/CFToken now old, CF sees that it is not correlated to a live Session and generates a new CFID/CFToken it sends to you now and you update the cookies with the new values.

    A session expires on the server is NOT because ColdFusion deletes the cookies from the user's browser.  It States only that "for this combination CFID/CFToken, the session no longer exists, so let me generate a NEW session for you and send you it is CFID/CFToken to correlate your visitor to the new SESSION scope.

    In the meantime the timeout and check your cookies should show the last cookies you had when you request.  Nothing new.

    In your onSessionEnd() method, it will BE the old values because when the session expires, this method gets a COPY of the scope SESSION and APPLICATION, (the SESSION just expired) and it's the old data CFID/CFToken.  CF performs as one might expect.  What you trying to do?  I think that the problem here is that you don't understand how work sessions.

    A SESSION that CF is when he takes a cookie CFIF/CFToken provided the user request and checks to see if it is valid.  If so, then all the variables stored in the SESSION scope are made available for the processing of this application.  These cookies act as a means of your browser, say who they are.  By default, Session values are stored in RAM.

    When you do not apply for an amount of time specified in the THIS.sessionTimeout value, CF mess with cookies on your computer.  He says simply.  "Hey, these variables that I wanted for the SESSION which was for CE CFID and CFToken THIS, well, delete them.  The session has expired.  The browser will not see anything different either until he makes another request.

    When you make a request, once again, your browser provides CF CFID and CFToken cookies, but this time CF says ' Hey, that the session has expired, so I'll make a new one for you (lights off the coast of the onSessionStart() method) and he referred to a new CFID and CFToken cookie to the user who now matches the new session.»  A session that will stay alive as long as the user makes requests in the specified time-out period.

    If you have deleted your cookies, the SESSION would still be ALIVE, but it would simply be inaccessible, and after the time-out value, SEE it would expire.  But if you have deleted your cookies, to present a request to the server, we're no. CFID/CFToken cookies sent, so CF would create a new session for you and will send you a new CFID/CFToken.

  • Site sometimes takes support sessions, sometimes not, depending on the user

    I have something very strange happening with sessions. A particular Web site supports session variables - or NOT - depending on where the site is displayed from. However, a location that sees no sessions on this site will see other sites of ColdFusion sessions. Whether or not a particular location sees sessions does not depend on the question whether the computer is on a network. It depends not on either a PC or a Mac, or if cookies are enabled. I don't know what it depends.

    To resolve this problem, I need to tell the host support exactly what to do. My experience with them, it's that I have to support support.

    Here are the details.

    Platform: ColdFusion MX on Windows.

    The Web site does NOT support sessions if the visitor is:
    (1) using a PC with Windows XP on a network with cookies enabled (me and probably low level host tech support)
    (2) using a Mac that is not networked (my client at home)

    The site supports sessions if the visitor is:
    (1) using a PC with Windows, possibly network (my client at work and technical support no doubt high level host)).

    Note: My client doesn't know if its computer network. I didn't ask the host tech support if they were put in a network, but I guess they are. Whenever I spoke with tech support people at low altitude, they see that the sessions do not work. But then they spend the ticket until high level Tech (that I can't talk) who say the sessions are working properly.

    In any case, there is enough information to eliminate cookies, the networks and the PC vs. Mac as the determining factor here.

    I did a test system and put it on two sites: my customer site on CF MX (where don't work sessions sometimes) and another site on CF 8 (where the sessions still work).

    Site A) here is the test on the site where the sessions sometimes do not work.

    http://birdprecision.com/z-test-sessions-1.cfm

    Site B) here is the test on the site where the sessions still work.

    http://brilliantgreenmarketing.com/z-test-sessions-1.cfm

    Do you have any idea what's going on here? And what should I say host technical support, to fix?

    In any case, it would be useful that tell you what results you get for Site A and details on your platform. If enough people did so, the answer may emerge just from that.

    As for me, I am totally confused. I've never seen anything like this.

    Thank you!!!

    VeryHopeful wrote:
    > Mack, thank you for your answer, but I do not completely understand.
    >
    > 1) on Site A, why are they working sessions for some users and not others?

    You try to set cookies on the ".com" domain, which is not allowed.
    If the cookie is not 'stick' on the browser for a new session is created
    on the server for each request. Check if you have something like
    or in
    your code.

    > 2) for users who don't see sessions on Site A, why sessions work on Site
    > B ?

    Because b, you're not setting on the .com domain cookies.

    >
    (> 3) what should I say host for the Site A change on the server, so
    > sessions works for everyone on the Site as they do for Site B?

    Delete the code that sets the cookie on the .com domain.

    --
    Mack

  • My Apple TV remote 3rd generation A1294 doesn't aluminum A1394 does not work properly, the battery is and I have tried all the resets including factory reset.

    My Apple TV remote 3rd generation A1294 aluminium does not work properly, battery is good, and I tried all the resets including factory reset. the battery compartment is clean.

    You don't say what you mean by not working not properly, however...

    Your Apple TV can become affiliated with another remote control. Hold the remote control close to and pointed on the Apple TV, press and hold the menu and rewind buttons together for 6 seconds or until you see an icon of the chain broken on screen.

  • Hello on the program is not working properly, please return the money to buy other best program and thank you

    Hello on the program is not working properly, please return the money to buy other best program and thank you

    A faulty program that has not been purchased Mali returned from four days

  • My speed has decreased between the router and the modem is not working properly, what can I do to increase the download speed with my Time Capsule 802.11n

    My speed has decreased between the router and the modem is not working properly, what can I do to increase the download speed with my Time Capsule 802.11n

    A variety of phenomena can affect the performance of its wireless network. You may be able to mitigate some negative effects.

    Solutions to any factors that may have an impact on your wireless network, read use the Diagnostics wireless for you help to solve the problems of Wi-Fi on your Mac - Apple Support.

  • In the Amazon, I get error message that the page is not redirecting properly

    When I try to view the details of an item in the Amazon, for example, a book, I get an error saying that the problem loading page. The page is not redirecting properly Firefox has detected that the server redirects the request for this address in a way that will never end.

    Year example of the URL causing this problem is https://www.amazon.co.uk/gp/product/0692394028?redirect=true & redirect = true & redirect = true & redirect = true & redirect = true & redirect = true & redirect = true & redirect = true & redirect = true & ref_ = gb1h_img_m-3_4447_e77918ec & smid = A3P5ROKL5A1OLE

    I tried an update of Firefox, I tried to remove and reinstall it. I tried to delete cache and cookies, but I still get the same problem. I use v42.0.

    Any help would be appreciated.

    Thanks for your reply.

    However, now that I have a working stable system I will not even try 42.0 but will wait until a newer version is released. Back to 41.0.2 also stopped all site accidents I knew (and reported) with 42.0 - sort of IMO, there are certainly issues with v42.0

  • I downloaded Multi Access Tool from Mcafee with Firefox Mozilla, how do I reinstall if it does not work properly?

    I downloaded Multi Access Tool from Mcafee with Firefox Mozilla, how do I reinstall if it does not work properly?

    My sincere apologies, my Mcafee came via the Optimum/Cablevision, not Mozilla. I now managed to solve my problem and appreciate the 2 above responses. Thank you.

  • I think Firefox is getting worse, because there are many Web sites that does not work properly with it, while my other browser Google Chrome can.

    There are many sites, but I will say only 1 site because I have very bad memory, so here's the problem, Web site Furaffinity.net, search for his website may not work properly with Firefox, its advanced research, help and toggle the button description can be click but nothing happened after a click. However, my other browsers, Google Chrome and INTERNET EXPLORER horrible can work properly. I tried to fix it by resetting Firefox but it doesn't work.

    Thank you, and I take back what I said about Firefox getting worse.

  • After the upgrade to El Capitan 10.11.5 shift, Alt and command of my keyboard keys started to act arbitrarily, they are suspended and are not working properly.

    After the upgrade to El Capitan 10.11.5 shift, Alt and command of my keyboard keys started to act arbitrarily, they are suspended and do not work properly (I already tried several keyboards and is not Firefox or Chrome). This behavior is exacerbated in Illustrator CC, but also affect all programs and even my office. It drives me crazy, does anyone know how I can fix this problem?

    Mi IMac is a 27-inch, late 2013, 3.4 GHz Intel Core i5, and use a Wacom Intuos Pro.

    Could possibly be interfering with the entry Wacom drivers.

    Start safe mode and see if there are still have the problem there. Safe mode is slow and some things do not work, but it prevents some third-party boot loading software. If your keyboard works properly in Mode without fail, this would imply that some third-party software is causing the problem. If so, check the updates.

    It also takes more time to start because the BONE is clean some system caches that can also help.

    Try safe mode if your Mac does not end commissioning - Apple Support

  • SD card is not working properly after installing windows 10

    I have a MacBook Pro (retina, 13 inches, early 2015) with EL Capitan 10.11.5 and after I installed 10 windows using bootcamp, everything worked fine at first, but after I deleted my part of windows and then installed windows 10 the second time, the SD card is not working properly. She mounts only if the computer shuts down first, and then start. If I take the laptop directly, the SD card will not rise. The same thing happens when I switch systems using a control option key or bootcamp Center where when I switched to another system, the SD card that was mounted on the old system does not appear in the new system. I was trying to solve this problem remove the part of windows before you reinstall it again once, so I found that after I deleted the windows part, the problem is gone and it reappeared after installing windows 10 even once. I also found that after I installed windows the total volume of hard drive (128g front) became 121g.

    Hello LorinMax,

    Thanks for this info and choosing the communities Support from Apple. I know the importance of your work with your Macbook Pro SD card!

    If I understand correctly, you cannot use your SD card, unless you stop and then restart. Because this behavior started when you installed Boot Camp, I would start with the following steps:

    1. first of all, start by repairing your hard disk in disk utility to correct the unexpected problems that could be the cause of this behavior.

    Disk utility (El Capitan): a disc repair

    2. use Mode without fail to start up your Mac so that it performs certain checks, remove files from the system cache, check your startup disk and trying to fix problems if necessary directory.

    Try safe mode if your Mac does not end commissioning

    Graphics performance limited in recovery of OS X or in safe mode

    3. According to Boot Camp Installation & Setup Guide, you may need to back up your personal data and reinstalling OS X, then reinstall Windows via Boot Camp and related support files.

    Boot Camp Installation & Setup Guide

    Backup of your Mac hard drive

    OS X: on OS X Recovery

    See you soon!

Maybe you are looking for