_swtch significance in pstack Or When _swtch will be seen in pstack pid

Hi ,
Am using a multithreaded application (Using pthread) on solaris8 .
The thread count seems to be increasing gradually.As the further thread creations are getting failed.(Sorry i dont have a perror for it).
Following is the log of pstack :
-------------------------- thread# 3563 --------------------
ff0a93a4 _swtch   (7d6, 0, ff1a7620, ff1bc008, cc818, ff1c23a1) + 424
-------------------------- thread# 4581 --------------------
ff0a93a4 _swtch   (7d6, 0, ff1a7620, ff1bc008, cc818, ff1c23a1) + 424
-------------------------- thread# 9162 --------------------
ff0a93a4 _swtch   (7d6, 0, ff1a7620, ff1bc008, cc818, ff1c23a1) + 424
-------------------------- thread# 13743 --------------------
ff0a93a4 _swtch   (7d6, 0, ff1a7620, ff1bc008, cc818, ff1c23a1) + 424
-------------------------- thread# 18324 --------------------
ff0a93a4 _swtch   (7d6, 0, ff1a7620, ff1bc008, cc818, ff1c23a1) + 424
-------------------------- thread# 22905 --------------------
ff0a93a4 _swtch   (7d6, 0, ff1a7620, ff1bc008, cc818, ff1c23a1) + 424
Above threads seen in my pstack are not created by me, but still i see them in pstack of my application.
1.Can anyone guide me why is it so.
2.Is it because of these calls to _swtch, the thread count of my application has reached the limit of 3399 threads per process and hence no new thread creation is getting possible.
3.When is the call to _swtch will be made.
4.Who is calling _swtch.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

The reason for asking the maximum value is calculating the appropriate I as it is done in Lakeshore 330 Manual (the first post that I have sent has the detailed description for that ==> I=max reset value/period). 
There is also another method as attached on the pdf, which tries different PID Methods and tunes that way but that one seemed longer to me than the method used in Lakeshore 330 manual.
Attachments:
NI-Tutorial-PID.pdf ‏520 KB

Similar Messages

  • How to find port number , when there will be different instance number ?

    In case of portal url,
    port number is 50000 for default instance number 00.
    how to find port number , when there will be different instance number , instead of 00?
    Thanks

    Hi
    You can find the port number by your instance number as follows:
    There is a general format for the port number like you have mentioned.
    For 00 instance the port number is 50000.
    The general format for the port number goes like this:
        <b>5<instance_no>00</b>
    If your <b>instance number is 01</b> then the port number would be <b>50100</b>.
    It depends on the installation type which you perform.
    You can also change the instance number during the installation but normally you dont do this.
    If you have many components or units installed on your system you may have more than one instance in that case it may go like this 00, 01, 02....accordingly port number will be 50000, 50100, 50200...resp.
    Hope this solves your doubt.
    If you need some more clarification please lemme know.
    Regards
      Sumit Jain
    **Rewrd with points if useful.

  • How do I use my redeemed gift card to purchase a book on iBooks when it will only give the option of "Mastercard, Visa, Amex or 'None' (Billing Address)"??

    How do I use my redeemed gift card to purchase a book on iBooks when it will only give the option of "Mastercard, Visa, Amex or 'None' (Billing Address)"??
    Desperately need help so I can purchase books for my study course!!

    Sir,
    I thought So too but then I went to Itunes Library and try and buy a single song from an album for $1.29.  Now my Itunes Gift card balance is $ 7.10 as I mentioned earlier. it still did not let me buy and kept trying billing my Visa card.
    Should I restart my PC and Itunes and retry. What do you suggest?
    regards
    Bikram Suri
    [email protected]

  • Is there any more word on when apple will be releasing the thunderbolt to FireWire adapter?

    Is there any new word (newer than "in July") on when Apple will be releasing the Thunderbolt to FireWire Adaptor?

    Not yet.
    Best.

  • What do I do to view images on CS5-64 when it will not open them?

    The program will not open images, either directly or from Bridge.  Using Win 7 on a Dell PC.

    Strange, after rebooting, both Ph CS5 and Bridge are working again.  Thanks for getting with me.
    Date: Fri, 9 Aug 2013 23:30:38 -0700
    From: [email protected]
    To: [email protected]
    Subject: What do I do to view images on CS5-64 when it will not open them?
        Re: What do I do to view images on CS5-64 when it will not open them?
        created by Mylenium in Photoshop for Beginners - View the full discussion
    What exactly? What image files? Do you get any error messages/ warnings? Provide more info.
    Mylenium
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5582783#5582783
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5582783#5582783
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5582783#5582783. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop for Beginners by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Anyone know when Apple will bring out a patch to fix the volume problem you get on mac mini after downloading OS 10.8.5

    Anyone know when Apple will bring out a patch to fix the volume problem you get on mac mini after downloading OS 10.8.5?

    Only Apple knows the answer to whether or not there is a verified problem and if so when will a fix be released.  As is their custom, Apple does not talk about these things and the rules of these communities prohibit speculation about future udates or upgrades. It is probably safe to say if a fix is deemed necessary it will be called OS X 10.8.6.

  • Hello ! When i will Buy a Movie in iTunes, they ask me two Security Questions and i have forget the 2 correct answers. Can you help me please ??

    Hello ! When i will Buy a Movie in iTunes, they ask me two Security Questions and i have forget the 2 correct answers. Can you help me please ??

    Blue, and Mr. Frisky...

  • System not giving Forward date when Material will be available

    Dear All,
    I have a problem of system not giving me the forward date when material will be available in the schedule line. I will give you an example - say material - A01 , stock of same is - 500 qty available. Availability check - 02(Individual reqt), all other MRP controllers also set properly.
    Now i create Sales order for the same material  for 650qty, system confirming 500qty but not giving me the confirmed date when rest 150qty will be available in the schedule line.
    Kindly tell me which config setting needs to be enabled to get this in sales order.
    Thanks in advance...

    Is there a MRP element which could cover the remaining 150? Like a purchase or production order, for example?
    If there's none, and you still want to have a confirmation after the replenishment lead time, maintain the RLT in material master, and use/define an ATP check that is taking in consideration RLT.
    If there's such an element, use/define/review ATP checking logic, to include such elements in the check.

  • How do I remove an iPhone 4 that was turned in to Apple when I bought an iPhone 5 from Find My iPhone, when it will no longer be connected to the Internet?  It is currently pending erasure

    How do I remove an iPhone 4 that was turned in to Apple when I bought an iPhone 5 from Find My iPhone, when it will no longer be connected to the Internet?  It is currently pending erasure

    See this Apple doc -> iCloud: Remove your device from Find My iPhone
    All you have to do is browse to iCloud on your computer, click devices, then the X next to your devices name.

  • When silverlight will work in windows 8 and windows 10

    when silverlight will work in windows 8 and windows 10?

    Hi,
    I'm using windows 8.1,silverlight 5 works fine on my machine.
    If you want to know if silverlight can works on windows 10 , you should wait for microsoft's offical statement.
    Learn more about silverlight comaptible system,please check link below:
    http://www.microsoft.com/getsilverlight/get-started/install/default.aspx?reason=unsupportedplatform  
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • When there will be a new boot camp version with Windows 8.1 support? I a floor of year can't already update Windows 8 on the iMac! ! !

    When there will be a new boot camp version with Windows 8.1 support? I a floor of year can't already update Windows 8 on the iMac! ! !

    Welcome to Apple Support Communities
    Boot Camp Support Software 5.0.5033 supports Windows 8.1 and can be used with that version. The Mid 2011 iMac is compatible with Windows 8, so you should not have any problem by installing Windows 8.
    Follow Apple's steps > http://manuals.info.apple.com/MANUALS/1000/MA1636/en_US/boot_camp_install-setup_ 10.8.pdf

  • When apple will fix the problem of the Bluetooth. It is not working after the upgrade to7.03

    when apple will fix the problem of the Bluetooth. It is not working after the upgrade to7.03

    there is no problem with B/T and iOS7.0.3 in my case used on iPhone 5 and 4 in several environments including in car
    Do a reset
    restore with back up and if required as new

  • How can I create an icon that when clicked will open and maximize an image file?

    How do I create a icon that when clicked will open and maximize an image file?  I have tried to use the simple image widget with maximize upon tap/click - however I am can only size the image really small and put on the page.  I'd prefer to have a graphic that when clicked it simply opens up the image.  This is for a very simple question/answer book.   The user is suppose to look at a picture and locate something.  I want to put an 'Answer' graphic on the image and then the user can click the 'answer' graphic and it will open up the picture with the answer identified. 
    Is this possible?

    Have yiu tried the PopOver widget?  You can drop an image into it, maximise the image and the widgets window...But, you cannot get it full screen.
    With iBooks Author, you either learn to use what is available within the app, or look online for third party widgets to purchase which suit your project.

  • How do I get recover disc for vista when system will not boot???? For Pavilion pc a6157c

    Pavilion pc a6157c   How do I get recover disc for vista when system will not boot????

    Read THIS HP Support Document concerning ordering recovery discs for your HP a6157c. Go to THIS HP webpage to order the "Vista Home Premium 32bit 73NAv3PrA1 + Supp 4 Recovery Kit" for your computer. If you are not looking to order the recovery discs or have some other issue with your computer, please provide detailed information concerning the problem.
    Frank
    Frank
    {------------ Please click the "White Kudos" Thumbs Up to say THANKS for helping.
    Please click the "Accept As Solution" on my post, if my assistance has solved your issue. ------------V
    This is a user supported forum. I am a volunteer and I don't work for HP.
    HP 15t-j100 (on loan from HP)
    HP 13 Split x2 (on loan from HP)
    HP Slate8 Pro (on loan from HP)
    HP a1632x - Windows 7, 4GB RAM, AMD Radeon HD 6450
    HP p6130y - Windows 7, 8GB RAM, AMD Radeon HD 6450
    HP p6320y - Windows 7, 8GB RAM, NVIDIA GT 240
    HP p7-1026 - Windows 7, 6GB RAM, AMD Radeon HD 6450
    HP p6787c - Windows 7, 8GB RAM, NVIDIA GT 240

  • Photoshop cc crashes when opening will a reinstall help?

    Photoshop cc crashes when opening will a reinstall help?

    thanks for the info
    my safari and mail have the same unexpected crash and will look into the os x Yosemite 
    I did reinstall ps cc and it seems to work ok so far

Maybe you are looking for