How to map the client PID:TID to db connection on the database?

Hi,
We have a multithreaded application and each thread connects to database using the same userID.
How do I identify on the dtabase side which DB connection belongs to which client thread?
I need to uniquely map the client processID:Thread ID to a DB connection.
On Unix I do not see the processID:Thread ID pair in the v$session table process column.
It is only showing the PID.
Any other ways to map the client PID:TID to db connection?
Thanks

sb92075 wrote:
Unix does not have threads.It does. See POSIX Threads. But it is seldom used (in my experience) - likely legacy reasons as the fork() model works well and the Linux/Unix kernel does not suffer from the same problems that the Win32/64 kernel does when faced with a large number of executable process images to manage.
May be mistaken, but I think Ingres added PThreads support to their database some years ago. My guess it won't be that difficult for Oracle to follow suit as they have a process/thread abstraction layer (using the fork() model on Linux/Unix and CreateThread() on Windows).
Question though is what will using PThreads buy ito resource footprint and robustness and management on a Linux/Unix kernel? From personal experience, writing code on Unix is safer as a forked child process cannot "damage" the parent (separate data segment). On Win32 a poorly behaved client thread can cause a failure in the parent process and crash it. But then Win32 API also supports fibres and one can design and code sophisticated multi-thread processes.

Similar Messages

  • The client timed out waiting to connect to the Essbase Server using TCP/IP

    Hi,All
    When I deploy the HPCM application to essbase, i received the following message below in the log file hpm.log
    2009-02-20 13:34:50,389 [Thread-115] ERROR com.hyperion.profitability.business.mdb.deployment.cubegeneration.CubeGenerator: error setting measures dimension member properties
    com.hyperion.profitability.data.mdb.essbase.MDBException: Error setting member property share option to store_data for member: D0900SB
         at com.hyperion.profitability.data.mdb.essbase.MDBMember.setShareOption(MDBMember.java:413)
         at com.hyperion.profitability.business.mdb.deployment.cubegeneration.CubeGenerator.setMemberProperties(CubeGenerator.java:1232)
    Caused by: com.essbase.api.base.EssException: (1290001): Network Error [10061]: Unable To Connect To [hypeion:32776]. The client timed out waiting to connect to the Essbase Server using TCP/IP. Check your network connections. Also please make sure that Server and Port values are correct
         at com.essbase.server.framework.EssOrbPluginDirect.ex_olap(Unknown Source)
         at com.essbase.server.framework.EssOlapMetaDataService.ex_olap(Unknown Source)
    And the Essbase service is up.
    Pls help!
    Shen.

    If you are installing on Windows, there is a limitation in the default configuration of TCPIP. I wrote about it, and included the steps to fix it, on my blog at http://timtows-hyperion-blog.blogspot.com/2007/12/essbase-api-error-fix-geeky.html.
    Note the error number you reported is slightly different than what I write about in the blog, but I believe I have seen this error fixed by the blog steps..
    Tim Tow
    Applied OLAP, Inc

  • Finding the Unix PID of a sqlplus connection by the user

    Hi,
    I want to find at the OS level the process id when a user connects from his machine via sqlplus, is there a way I can do it? - I read that it can be got by combining v$session with v$process, but I still don't know the exact query.
    Thanks
    NIrav

    The query is not returning any rows, because in the v$process table there is only one user named oracle (though I connected with user named NIS2)
    QL> select count(*) from v$session where username='NIS2';
    COUNT(*)
    2
    SQL> select distinct username from v$process;
    USERNAME
    oracle
    Can u pl. suggest..
    Thanks
    Nirav

  • How to configure the mac mini to allow the clients to access both partitions...the client will only see the one we are logged into at the server???

    if possible??? how do we configure the mac mini to allow the clients to access both partitions...the client will only see the one we are logged into at the server???

    You have to explicitly share directories on external/secondary volumes.
    Use the Server admin app to configure file sharing, and select which directory/directories on the second drive you want to share, then they'll be available to clients.

  • The message ~There was a problem connecting to the server "your-447023ae6b".appears when I try to play music transferred from my PC to my iMac. Files were transferred from my PC by a Genius. How do I sort it? Next appointment with genius is 5 days away!

    The message ~There was a problem connecting to the server “your-447023ae6b”.appears when I try to play music transferred from my PC to my iMac. Files were transferred from my PC by a Genius. How do I sort it? Next appointment with genius is 5 days away!

    Hi
    Thanks this has helped me solve the problem.
    I used the Outlook Anywhere connectivity tester you suggested. Selected Outlook autodiscover.
    It told me that it could not resolve things on any of the 4 tests.
    I saw that using the last test "Attempting to contact the Autodiscover service using the DNS SRV redirect method", was the only one likely to work in my case.
    I had already changed 3 entries in dns to point at my DDNS address but this had not worked, from the errors I could see that it was just the certificate name not matching so I changed the DNS entries for Autodiscover, autoconfig and _autodiscover._tcp
    to be webmail.domain.com which is a CNAME to my ddns address for the broadband router, which in turn forwards ports 80 and 443 to the exchange server for owa and activesync access. I got an error message saying that I had an illegal entry in my SRV record
    as a CNAME is not allowed, but it saved the change anyway.
    I reran the test and it worked.I can now make new outlook clients attach teo exchange.
    Thank you, after 8 hours yesterday of trying to reolve this I suddnely got it to work on one laptop but the other still would not and had lost track of what I could have changed so had no idea what actually made it work.
    Thank you for your suggestion.

  • I have a new MAC MINI and I want to install a second monitor.  I have one connected to the HDMI and it works.  I can't get a signal to the other one.  It is connected from the thunderbolt to its HDMI port.  How can I make it work?

    I have a new MAC MINI and I want to install a second monitor.  I have one connected to the HDMI and it works.  I can't get a signal to the other one.  It is connected from the thunderbolt to its HDMI port.  How can I make it work?

    Could be a bad cable or bad Thunderbolt port.
    You have 90 days of free telephone support on a new device. You can call them at 1-800-MY-APPLE. Have your Mini's serial number handy
    You can also make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

  • When I try to get on the internet thru safari at home, on my network, I get a pop up that says Safari cannot open the page because it is not connected to the Internet.  How can this be and how do I fix it?

    when I try to get on the internet thru safari at home, on my network, I get a pop up that says Safari cannot open the page because it is not connected to the Internet.  How can this be and how do I fix it?

    Does the iPod connect to other networks?
    Do other device connect?
    Did the iPod connect to this network before?
    Try:
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>GeneralReset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • When i click on safari to use the internet it says "safari cannot open the page because it is not connected to the internet", but i am connected to a wifi network so how do i get safari to work?

    when i click on safari to use the internet it says "safari cannot open the page because it is not connected to the internet", but i am connected to a wifi network so how do i get safari to work?

    you may be connected to the wireless network but the question is the internet working properly on the wireless network...
    what i mean is that i can make a wireless network without the internet so i can save and share files and have other devices connected to the same network access them... but you have to make sure that your internet it running properly... may have to reconfigure the router is your using PPPOE or if it was working prior to your post then try to restart your modem... that usually resolves most issues.

  • Safari will not open on my iPad Air...."Safari cannot open the page because it could not connect to the server." There were recent updates on my iPad Air. How can I fix this problem?

    How can I correct the issue of Safari not connecting on my iPad Air? It was working great 2 days ago.....now on September 20 it is not working! I have an internet connection but Safari will not open. "Safari cannot open the page because it could not connect to the server."

    Hello Beckieor,
    After reviewing your post, I have located an article that can help in this situation. It contains a number of troubleshooting steps and helpful advice concerning network issues:
    iOS: Troubleshooting Wi-Fi networks and connections
    Follow these steps to troubleshoot the above issues:
    Be sure you're in range of your Wi-Fi router (access point).
    Tap Settings > Wi-Fi and turn Wi-Fi off and on. If your Wi-Fi setting is dimmed, follow these steps.
    Confirm that your Wi-Fi router and cable or DSL modem are connected to power, turned on, and connected to the Internet. If not, refer to your network administrator or Internet service provider (ISP) for assistance.
    Restart your iOS device.
    Tap Settings > Wi-Fi and locate the Wi-Fi network to which you're connected.
    Tap and Forget this Network.
    Try to connect to your desired Wi-Fi network.
    Note: You may need to enter your Wi-Fi password again if your network requires one.
    Turn your Wi-Fi router off and on2. If your ISP also provides cable or phone service, check with them before attempting this step to avoid interruption of service.
    Update your device to the latest version of software.
    Update your Wi-Fi router to the latest firmware2. For AirPort Base Stations, install updates using the AirPort Utility.
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • How do i fix my wifi if it connects and the bars are blue but no check sign appears next to the wifi name and does not connect to the internet???

    How do i fix my wifi if it connects and the bars are blue but no check sign appears next to the wifi name and does not connect to the internet???

    Did you already try to reset the iPod by holding the sleep and home button for about 10sec, until the Apple logo comes back again? You will not lose data.
    If this does not work, try to reset the network settings in Settings/General/Reset. After that you'll have to put in the passwords for all known networks again.
    More troubleshooting can be found here:
    iOS: Troubleshooting Wi-Fi networks and connections

  • The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.

     try
                    MailMessage mail = new MailMessage();
                    SmtpClient SmtpServer = new SmtpClient("smtp.gmail.com");
                    mail.From = new MailAddress("[email protected]");
                    mail.To.Add("[email protected]");
                    mail.Subject = "Test Mail..!!!!";
                    mail.Body = "mail with attachment";
                    System.Net.Mail.Attachment attachment;
                    attachment = new System.Net.Mail.Attachment(@"C:\Attachment.txt");
                    mail.Attachments.Add(attachment);
                    SmtpServer.Port = 587;
                    SmtpServer.UseDefaultCredentials = true;
                    SmtpServer.Credentials = new System.Net.NetworkCredential("userid", "Password");
                    SmtpServer.EnableSsl = true;
                    SmtpServer.Send(mail);
    Catch(Exception exception)
    When i m run this part of code it throw an Ecxeption                                                          
            Given Below is the Error.. 
        The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.
    Bikky Kumar

     try
                    MailMessage mail = new MailMessage();
                    SmtpClient SmtpServer = new SmtpClient("smtp.gmail.com");
                    mail.From = new MailAddress("[email protected]");
                    mail.To.Add("[email protected]");
                    mail.Subject = "Test Mail..!!!!";
                    mail.Body = "mail with attachment";
                    System.Net.Mail.Attachment attachment;
                    attachment = new System.Net.Mail.Attachment(@"C:\Attachment.txt");
                    mail.Attachments.Add(attachment);
                    SmtpServer.Port = 587;
    SmtpServer.UseDefaultCredentials = true;    ///Set it to false, or remove this line
                    SmtpServer.Credentials = new System.Net.NetworkCredential("userid", "Password");
                    SmtpServer.EnableSsl = true;
                    SmtpServer.Send(mail);
    Catch(Exception exception)
    Given Below is the Error..      The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.
    Solution:
    The error might occur due to following cases.
    case 1: when the password is wrong
    case 2: when you try to login from some App
    case 3: when you try to login from the domain other than your time zone/domain/computer (This
    is the case in most of scenarios when sending mail from code)
    There is a solution for each
    solution for case 1: Enter the correct password.
    Recomended: solution for case 2: go to
    security settings at the following link https://www.google.com/settings/security/lesssecureapps and
    enable less secure apps . So that you will be able to login from all apps.
    solution 1 for case 3: (This might be helpful) you need to review the activity. but reviewing the activity will not be helpful due to latest security
    standards the link will not be useful. So try the below case.
    solution 2 for case 3: If you have hosted your code somewhere on production server and if you have access to the production server, than take remote
    desktop connection to the production server and try to login once from the browser of the production server. This will add exception for login to google and you will be allowed to login from code.
    But what if you don't have access to the production server. try
    the solution 3
    solution 3 for case 3: You have to enable
    login from other timezone / ip for your google account.
    to do this follow the link https://g.co/allowaccess and
    allow access by clicking the continue button.
    And that's it. Here you go. Now you will be able to login from any of the computer and by any means of app to your google account.
    Regards,
    Nabeel Arif

  • I have a modem and a separate router in a part of my house that gets poor reception from the modem.My iPad won't connect to the auxillary router like my laptop does with ease. How do I get the iPad to connect?

    I have a modem, and a separate (hard wired from modem) router in a part of my house that gets poor reception from the modem.My iPad won't connect to the auxillary router like my laptop does with ease. How do I get the iPad to connect? It does see the router in my wi-fi connections list - just won't connect. !

    This article will provide a troubleshooting framework.
    http://support.apple.com/kb/TS1398

  • . What is the client concept in SAP? What is the meaning of client independ

    hi,
    send me replay

    Hi ,
    since u r maintaining different clients in da same server ,
    so ,
    tables needs to have diff data for diff client.....
    now if u dont make tables client dependent then , same table data will be used by all clients ...
    But all clients have their own diff data ,
    So making a table client depedent , u r using same database table, to store data of different clients.
    for more information:
    A client is a logical division of data within an SAP system. Some things, like application data are mostly client-dependent, meaning that for example, a G/L account defined in client 123 of system ABC is only visible in that client. Therefore if you logon to client 456 of system ABC you will not be seeing the same database entity (if it is defined at all).
    At a technical level, client dependent data simply resides in database tables that have the client number as a key field (typically the first key field).
    Multiple clients within an SAP system are often used in development, testing and training systems - so that individuals can work in the same system (on the same codeset) but in isolation of each other.
    Very rarely will a production system have multiples clients (ignoring the internal SAP clients like 000 and 066).

  • Client could not establish a connection to the remote computer

    Sir we are using Windows 2008 Server standard licence edition and using Microsoft Cal open licence  (Total 25). Our system are working from smoothly from 1 years. But from one week we have facing client could not establish a connection to the remote
    computer.
    Sir I am talking from Integral Bank, Jaipur Sir please solve our problem.
    With warm regards,
    Hariom
    M-09875156100
    mail : [email protected]

    Sir we are using Windows 2008 Server standard licence edition and using Microsoft Cal open licence  (Total 25). Our system are working from smoothly from 1 years. But from one week we have facing client could not establish a connection to the remote
    computer.
    Sir I am talking from Integral Bank, Jaipur Sir please solve our problem.
    With warm regards,
    Hariom
    M-09875156100
    mail : [email protected]

  • Hello - I have done  a series of edits on premiere cs6 and now need to transfer info to the client overseas so I have to transfer the rushes and would like to know what I need to provide ( list...) regarding the edit done on the CS6 version  - thank you

    hello - I have done  a series of edits on premiere cs6 and now need to transfer info to the client overseas so I have to transfer the rushes and would like to know what I need to provide ( list...) regarding the edit done on the CS6 version  - thank you

    >I have managed to download the footage onto Picture Motion Browser
    Isn't Picture Motion Browser available for Windows only?  If so, why are you posting in an Final Cut Express forum?  My apologies if I'm incorrect.
    -DH

Maybe you are looking for

  • Passwordless SSH for Solaris 10 user (not root)

    Hi All, I tried the setup the passwordless ssh for an user between 2 servers but failed. I follow this guide but only manage to setup for root, but not other users http://www.sunsolarisadmin.com/solaris-7/ssh-access-without-password-in-sun-solaris/ h

  • PSE4-change font size in captions

    Does anyone know what file to change the font size for captions? I am really surprised this isn't an option. I also had the problem of the caption not working in slide shows with a version set. Even tried retyping the caption on the top picture, stil

  • Facing problem with RFC connections

    In the Maintenace View for RFC connections, when I press the 'Apply' button I am getting the message"You have no authorization to display the destinationu201D for all the 4 destination IDs" Can somebody suggest on how to overcome this problem? Thanks

  • Why is build preview so fast?

    Hi - something's happened to Keynote with its Build previews. When I build an animation (using a simple effect like Appear) with several items appearing in order, the preview just races by. I have to actually hit Play and walk thru my sequence to mak

  • Max File size in UFS and ZFS

    Hi, Any one can share what is max file size can be created in Solaris 10 UFS and ZFS ? What will be max size file compression using tar,gz ? Regards Siva