SAPSYS user session  in CLNT 000 not killed

Hi all!
I have question.
When i check in SM04 i have like 50+ user sessions where the user is SAPSYS in clnt 000 the session type is Plugin HTTP. As terminal info there's a IP-number.
I don't no if its relevant but I'm running an internal ITS. I also run a locally installed IPC (on my laptop since it is a test system).
My question is why are the sessions not closed down when i log out.
I understand that the system is creating the sessions.
Hope you can help me understand!
//Roland

Hi Disha!
We have had memory bottleneck problems and we have applied note 742048 (extending em/global_memory_mb), still this didn't solve the problems with the internal sessions not closing.
Regards,
Roland

Similar Messages

  • How to check whether a user session is null or not

    Hi
    I am using Jdeveloper 11.1.2.2
    I have a use case of running some Junit test case, this is the problem I have :
    There are some Junit tests which are written for some VO's. While testing insert and update operation in Junit there is two mandatory columns Created by and Updated by to be entered for committing into the database.
    These values are taken from the UserName of the current UserSession .
    So for getting the these values for each user I thought of displaying a JPanel before the test is run, where the user enters the Username and password which is validated and the user is verified.
    First, I need to check whether there is a session present or not. For checking this, I wrote a createUserSession() and did like this inside it :
    if(fixture.getApplicationModule().getSession().getUserData().isEmpty())If so to show the Jpanel and get the user details and verify the user.
    But while running the test itself I found that the session is already present, now I just have to input the values based on who is the user.
    But Junit doesn't run the tests in the order in which the test are written. So I have to call this in all the test cases.
    The Question is :
    How can I check whether the session is already present or not, so that I don't have to ask the user every time while every test is running to enter the Username and Password ?
    Thanks,
    Nigel.
    Edited by: Nigel Thomas on Jul 30, 2012 10:26 AM

    Hi,
    wondering why don't you create test users and then automatically log them in as Jan Vervecken did on the threads I pointed you to. This way your test cases run without user interaction. To test if a session exists for a user, I would put a custom property into user data. If this property exists, the user session is an existing one. However, make sure the information you save into the user data survives passivation as otherwise the information you get out of this is not accurate. See: http://tompeez.wordpress.com/2011/07/08/jdev-always-test-your-app-with-applicationmodule-pooling-turned-off/
    Frank

  • MTS, Killing the user session?

    My db is using MTS connection, while i kill the user session by using alter system kill session, the ever killed process goes to Pseudo status....even i can't kill from unix level because it uses dispatchers...
    is there any way i kill the user processes in MTS, with out going to pseduo status

    Hi,
    AS ORACLE SAID,
    If an active session cannot be interrupted (it is performing network I/O or rolling
    back a transaction), the session cannot be terminated until the operation completes.
    In this case, the session holds all resources until it is terminated. Additionally, the
    session that issues the ALTER SYSTEM statement to terminate a session waits up to
    60 seconds for the session to be terminated. If the operation that cannot be
    interrupted continues past one minute, the issuer of the ALTER SYSTEM statement
    receives a message indicating that the session has been "marked" to be terminated.
    A session marked to be terminated is indicated in V$SESSION with a status of
    KILLED and a server that is something other than PSEUDO.

  • Server 2012 R2 RDS – cannot log off user session

    We have a 2 server RDS RemoteApp Farm.
    One server is constantly leaving user sessions in a disconnected state without the ability to kill the session (rebooting is the only way); this is happing 1-2 times per week.
    Servers have been configured to kill a disconnected session after 10 minutes, but some disconnected sessions have been running for days.
    Below is a screenshot of the process running for two disconnected users sessions that I could not disconnect, rebooting the server was the only way of fixing this. No error's were generated when users disconnected the session.
    Is there a known fix for this?

    Hi,
    Did you apply session disconnected policy setting in your environment?
    There are different ways for getting user log off. As you have commented that it’s happening with specific user, once check whether the user profile is not corrupted or any other related case. Also it might relates that some application or related services
    is still running under user profile so that session cannot be logged off. You can also try PowerShell command to log off the user. Also with
    Query user command you can find the related session name and ID and then with “Logoff user command” you can logoff the specific user. 
    For policy related to session setting you can check beneath article. (point 1)
    [Forum FAQ] Restrict number of Active Sessions
    in RDS 2012 and 2012 R2
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Restricting Portal users Sessions.

    Dear All,
                       I have a requirement where i have to restrict the portal sessions of users to 3. How can we achieve this. Again can we keep sessions restriction by user. i.e. some group of users have max. 3, some have max. 4 etc.?
                      What would happen if user try to open a new session for the fourth time?
    Thanks in Advance,
    Regards,
    Vinayak

    Hi Vinayak,
    Let me clear something about restricting Portal user sessions. I do not think that the number of open sessions is limited by user (maybe I'm wrong but so far, all posts I know of are not refering to Portal session management per user).
    You can limit the number of over all sessions in the configuration of WebAS. So, if you for example want to limit the number of sessions in your portal, you could do it for the Web Module "irj". You can set a maximum session limit for each web module.
    check: http://help.sap.com/saphelp_nw70/helpdata/EN/b9/665b42cfca5542e10000000a1550b0/frameset.htm
    Goto Visual Administrator->services->Security Provider->properties. There is a property called sessions_size.
    The default value is 200 and you can change the value you desire.
    Thus, to limited Portal session per user..not possible. Limited concurrent sessions number..Possible as describle above and other posts above.
    P.S: The parameters in the module irj: Maximum Sessions= -1 (-1 means "not set" or "unlimited"). You should restart your servlet engine after changing the parameter to be sure that the configurational change is active.
    Hope that helps. Award points for helpful suggestions.
    Ray

  • Terminate User Session

    Hi all,
    I'm using FM TH_DELETE_USER to delete a user session, however this will terminate all sessions. Can anyone suggest a system function that will delete a specific user session?
    Thanks, Mark

    Hi ,
    TH_DELETE_USER kills the sessions of the user.But there is no FM to delete the particular session.
    But if you Debug SM50 you get some info.
    i tried it i got this...
         CALL 'ThWpInfo' ID 'OPCODE'   FIELD OPCODE_WP_DEL            
                         ID 'WP_INDEX' FIELD WP_TABL_ALV-WP_INDEX.    
    in this program <b>RSMON000_ALV</b> you can find the code .
    Regards
    vijay

  • Opmnctl stopall doesn't end related Database user Sessions

    Hi all,
    I have iAS10g installed to work with DB10g.
    A strange behavior of opmn is that application user sessions on DB are not ended with "opmnctl stopall" action even if oas processes are still stopped.
    just to mention that iAs and DB are not installed on the same server
    thanyou for every help

    Hi,
    In one case
    User is able to log in on the general page, then goes to 'select responsibility --> continue--> then gets error message that it is unable to open another window and to verify pop up blocker
    Pop-ups have been enabled and user is still unable to get past this step in the program.The pop up blocker should be Disabled in order to allow opening a new window.
    If you are using IE7/IE8 define the tabs behavior so that a link will open in new window and not in new tab.
    >
    In another case, the applet opens ok, and when user chooses to open a workbook from the database, the workbook list is just blank. There are no security or privilege issues for that responsibility as i have checked.
    If the workbook list is empty that means he has no shared workbooks with him.
    Share a workbook with him or with the responsibility he uses.
    By the way you should check the Java version and the explorer you use so that you can verify the first issue you by using same as in another station that it works.
    Tamir

  • SAPSYS user+client 000+Plugin HTTP

    Dear Expertise,
                 As a part of monitoring activity I have executed SM04 where in I found SAPSYS user from 000 client and the corresponding activity is Plugin HTTP. I wonder many simillar entries in sm04(around 40) I known he is a system user but I have very less knowledge about sapsys userid .
    Please any one kindly clarify me that what is he and what he is doing at the moment? is he a good sign or harmful? how to regulate him.
    Thanks in Advance
    Satya207

    >
    Julius Bussche wrote:
    > What made you suspect that this is a public service? I would think that it would still be advisable to create a service user for this, to be able to start services and possibly also perform additional checks.
    >
    > That SAPSYS is appearing means that there is no authentication - just a session which cannot pass any authority-checks and by design cannot submit any ABAP programs either.
    >
    venkata satya wrote:
    > As a part of monitoring activity I have executed SM04 where in I found SAPSYS user from 000 client and the corresponding activity is Plugin HTTP.
    "Plugin HTTP" indicates: we are dealing with http requests (inbound).
    And the fact that "user SAPSYS / client 000" is the one assigned to the taskhandler session (SM04) told me: this session is unauthenticated. So, combining both (knowning that there are "public ICF services") I've concluded that this is a public service.
    Well, there are three different types of ICF services:
    - those that require authentication (default)
    - those that run unauthenticated (public services, operated under 000/SAPSYS)
    - those that run under a configured identity (of a service user)
    From the outside you cannot distinguish between the last 2 ones - in both cases you can use the service without being prompted for authentication.
    And yes: 000/SAPSYS is not assigned to any authorizations.

  • BI7.x sessions did not killed

    Hi,
    We are facing the issue on the number of sessions that are generated in R/3 when a user is active on the portal. If I watch my user is transaction SM04, I see many sessions are being created and when logging of, users dont get closed. This is happening only If I execute the report 7.x template.
    I found many notes but no result.Can you please help .
    - Lisa

    Hi Lisa,
    I do not have a solution to this issue.
    But I observed an interesting thing while opening 3-4 web templates.
    As you said, on closing a web template the session still can be seen in SM04 for the user. However, I saw that the memory consumed (last column - Megabyte in SM04) reduced from 4 to 1.
    Secondly, if I opened a new web template, it did not create a new session, but used the existing one (which remained after closure of the previous template) and increased the memory utilized for that session from 1 to 4 MB.
    So I guess that though SAP does not kill these sessions immediately (maybe it does after a certain period of time), it does try to optimize the resource (memory) utilization.
    Hope this helps!
    Regards,
    Saurabh

  • Unable to kill work process and user sessions.

    Hi Gurus,
    Iam facing a different problem in my prd system.Dialog process of a particular user has been running continuosly for long time, when i killed it with cancel with core or with out core option in sm50 still it is starting automatically on different PID and going in to loop.Even though user is not logged in and no back ground jobs are running still the process is running on its own.Even i tried killing the PID from OS level using DPMON but was of no help.
      I tried to kill the user session and log him out from sm04 from it was not happening, locked the user also but was of no help.
    Has anybody faced this situation?Is there any option excluding restarting the system to solve this issue.
    Thanks&Regards
    Prashant

    Hi Prashant,
    In case of multiple instances you have to log off the user from system wide select this option from SM04 while deleting user session again look for the action in SM50 for the process and if possible get details by activating trace from ST05 and filter with user, wp.
    Thanks,
    Saleem

  • Killing User sessions and user calcs

    Hi all,
    We have a situation where users run their business rules during evening and at times in night.
    We also have a maxl script which does aggregation and other calcs daily in night and it does not run as other calcs are launched by users.
    Is it possible to kill the user session and calcs launched by users before running maxl calculation for consolidations?
    I know I can do in in EAS, but want to try to do it in MAxL for automation.
    Thanks in advance

    You would be better off locking people out. After you kick off the automated calc, killing sessions doesn't stop them from initiating calcs while your automated calc is running. In answer to your question, yes, you can do that in maxl.
    alter system kill request all;
    You have other options if you want to be more selective on what you kill.
    kill request <session-id>
    kill request by user
    kill request on application
    kill request on database
    Check out the technical documentation for more info - http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/launch.html.
    Kyle Goodfriend
    http://www.in2hyperion.com
    Please make sure to assign helpful/answered to responses if applicable - it rewards those who help and benefits the user community.

  • How to find and kill session similar to forms user session

    We have a forms and reports based system that uses the oracle sessions. Sometimes if a form takes a long time we have the need to navigate to iAS>Forms>User Sessions, find the IP of the machine where the form is not responding and kill it based on the IP of the troublesome machine.
    I want to add this into our forms environemnt so people can kill their own sessions if need be but not sure how this is handled
    is it a simple alter system kill session in the db or something different.
    also how is the ip found to match the session?
    Thanks

    hi,
    Instead Set session timeout parameters..So that user gets logged off automatically from the application after a particular interval of time
    For this you have to make changes in httpd.conf file,web.xml file and env file
    Regards
    Fabian

  • Killing a user session?

    Running Essbase 11.1.2 ASO cube...occassionally, when I attempt to kill a user session in EAS, I get the status of "terminating". I try to kill the session using Maxl commands to no avail. I know as a last resort to use task manager to end the ESSSVR.exe process -but I have been burned by this in the past as the database gets corrupted. Does anyone know of a safe method to kill these "terminating" sessions? and why are some easy to kill through EAS and others are not?

    Hi ,
    You may find the following entries in the application log which means there were hung sessions.
    +[Mon Jan 24 13:23:46 2011]Local/ESSBASE0///Error(1013290)+
    Failed to logout user []: timeout while waiting for requests to die
    +[Mon Jan 24 13:23:46 2011]Local/ESSBASE0///Info(1056092)+
    Sessions logged out [0]
    However, it is difficult to say why these errors occur exactly. Usually Errors like this occur because there are still processes running in the memory when the next transaction is called.
    A vast majority of errors can be avoided by integrating pauses and by unloading the application and then reloading it after each calculation or member/data load.
    When you kill a session from the EAS Console for a particular user, you need to wait for some time before the process gets compeltely killed, which perform a restructure or data load or data aggregation. You need to wait untill the process gets killed completely before performing any operations on the application.
    Never allow any other user to modify outline or update data whenever the Calculation is running. This can cause the application to go into a hang state and whenever you try to kill and if it fails, then you need to kill the ESSSVR process manually. For instance, follow the below guide lines when running Calc scripts:
    1) Never allow any other user to indulge any activity on the application. It is preferred to schedule the batch script as a nightly process, if it is a large operation to avoid user interruption.
    2) In case of hangups, use the UNLOCKOBJECT command (ESSCMD) to first unlock all the objects that are accessed by the script (Check the technical reference guide for the command ).
    3) Next log off the user using the LOGOUTUSER command, but here if you have multiple sessions of the same user logged in the application, all the sessions will be logged off. In this case use the EAS console and kill all the requests of the user first and then kill the session of the user.
    Suggestion:
    Try to execute the following MaxL commands as batch script and check if the execution of Calculation script is successful:
    spool on to 'D:\output\backup.log';
    login admin mypassword on localhost;
    alter application <app_name> load database <db_name>;
    alter system logout session on database <db_name>;
    Shell Sleep 30;
    alter system kill request on database <db_name>;
    Shell Sleep 30;
    alter application <app_name> disable commands;
    Shell Sleep 30;
    Execute Calculation <app_name>.<db_name>.<calc_name>;
    Shell Sleep 30;
    alter application <app_name> enable commands;
    Shell Sleep 30;
    logout;
    exit;
    You can also refer the doc: How to Kill the Essbase Processes/Sessions in 'Terminating' Status (Doc ID 839411.1)
    Hope it helps...
    KosuruS

  • Killing a user session through API

    Hi,
    I want to create a procedure for killing user sessions.
    Following is the code
    create or replace procedure kill_session (sess_no number,serial_no number)
    as
    v_sid number;
    v_serial number;
    V_flag char := 'U';
    begin
    v_sid := sess_no;
    v_serial := serial_no;
    dbms_output.put_line(v_sid||v_serial);
    select 'S' into v_flag from sys.v_$session where sid=v_sid and serial#=v_serial;
    dbms_output.put_line(v_flag);
    --exception
    --when no_data_found then
    -- dbms_output.put_line('No session');
    if v_flag ='S' then
    dbms_output.put_line('true');
    execute immediate 'alter system kill session ''v_sid,v_serial'' ';
    end if;
    end;
    It return error : ORA-00026: missing or invalid session ID
    But I am passing valid sid and serial#.
    Again When I am executing
    begin
    execute immediate 'alter system kill session ''64,6677''' ;
    end;
    It works fine. What is the problem,can anyone suggest .
    Regards,
    Neeraj

    Hi Justin,
    Thanks for your reply. I have verified the right number of quotes,still it doesn't work. Please look.
    declare
    2 v_sid number :=42;
    3 v_serial number :=26633;
    4 begin
    5 EXECUTE IMMEDIATE 'ALTER SYSTEM KILL SESSION '' || v_sid || ',' || v_session || ''';
    6 end;
    7 /
    EXECUTE IMMEDIATE 'ALTER SYSTEM KILL SESSION '' || v_sid || ',' || v_session || ''';
    ERROR at line 5:
    ORA-06550: line 5, column 62:
    PLS-00103: Encountered the symbol "," when expecting one of the following:
    . ( * @ % & = - + ; < / > at in is mod not rem return
    returning <an exponent (**)> <> or != or ~= >= <= <> and or
    like between into using || bulk
    The symbol ". was inserted before "," to continue.

  • Kill User Sessions in Enterprise

    I was told that there was some code here that would allow me to kill user sessions in BOE XI 3.1 SP3. Can anyone point me in the right direction?

    If you have access to Service Market Place, you can search for KB 1468652. 
    It includes the following information, the code snippets are java code, you will just need to convert it to .NET:
    This method was not supported in version XI R2, but it is supported in version XI 3.1.  The steps are:
    1. Retrieve the connection objects using the following query and determine the SI_ID of the connection you want to terminate.
    SELECT SI_ID, SI_USERID, SI_NAME, SI_LASTLOGONTIME FROM CI_SYSTEMOBJECTS WHERE SI_KIND = 'Connection' AND SI_FAILOVER_AVAILABLE_UNTIL = NULL AND SI_AUTHEN_METHOD != 'server-token' ORDER BY SI_NAME"
    Do not delete any connections that use the server-token authentication method as those are used to communicate between servers (e.g. between the page server and cache server).
    2. Once you know the SI_ID, retrieve that specific infoobject and delete it.
    IInfoObjects oSessions = (IInfoObjects) iStore.query("SELECT SI_ID from CI_SYSTEMOBJECTS WHERE SI_ID =" + sessionID);
    IInfoObject oSession = (IInfoObject)oSessions.get(0);
    oSessions.delete(oSession);
    iStore.commit (oSessions);

Maybe you are looking for