Semaphore

synchornized getResource(){
semaphore -- ;
if( semaphore < 0 ){
wait(); //thread sleep and procedure pause here
do retrieve resource steps here
synchronized putResource(){
do put resource steps here
semaphore ++;
if( semaphore <= 0){
notify();
semaphore implementation is listed above,
and in order to use wait(), notify(), we should use
synchronized method or "synchronized(this)" code block
There is a question that I still don't understand:
If a synchronized method acquires the lock associated
with the object, whether or not the call of "putResource()" function would wait when the call of "getResource()" acquires the lock assoicated with the object?
if so, then why not deadlock occurs when a thread is sleeping in the sychronized method "getResource()" while another thread is trying to call "putResource()"
if not, then what is the meaning of "lock associated with object"? What I've learned about "lock associated with object" before is when someone acquires the lock of an object, others who want to access the object should wait for the lock in advance...

When a thread that has an object's monitor calls wait on that object, it releases the monitor as it goes into the wait state, so it is available for another thread to pick up and call notify.
Note that calling notify does not release the monitor, so the waiting (woken up) thread cannot execute until the notifying thread releases the monitor normally.
Ref: JLS 17.13, 17.14
http://java.sun.com/docs/books/jls/second_edition/html/memory.doc.html#28460

Similar Messages

  • Error while loading a Cube in BW - "Waiting for Semaphore"

    Hello Experts:
    I seem to be having a frequent problem while doing a Delta load from BW (3.5) cube to exactly similar cube in BI 7.0.
    The load is done daily via a Process Chain. Before doing the Delta load, I also have a step to DELET Index from the
    cube in BI. The Delta loads have been successful but frequently they take about 7 or 8 hours to load. The number of
    records are not many 80,000 to 140,000 records range. There have been successful loads for similar range withing
    7 or 8 minutes. However, when it gets hung up it takes 7 or 8 hours.
    Looks like it is a Lock happening in 3.5 BW system. Tcode SM12 shows that it is locked and then in T. Code SM66, it
    shows that it is hun for resources..... The message inicated is "Waiting for Semaphore". After about 7 hours, the load
    automatically happens.
    This is causing issues becuase the upward data loads don't happen and Users can not access the data until late afternoon
    for their planning in BPC.
    Is there a way this error or Waiting for Semaphore be avoided or time is reduced....? How can I achieve this? Any
    fne tuning tricks anyone can suggest please......!!
    Thanks a lot in advance.

    Thanks to both of you....  ppreciate the feedback.  I guess, I will have to wait for the situation to arise again as today's delta went normally.  I will see if this happens again.  I am not sure whether the Semaphore number is same as the "Work Process Number" in SM66 (which was 3 in my case) or is it the Process ID (which is 22872082 in my case). 
    If I go to SM50, I shoudl find either the Process ID then.
    Would I be searching for the OSS notes corresponding to Process ID (in this case 22872082...? or would it for sempahore number (if it is different .... as I mentioned 3 in my case..?
    Could you please clarify which is Semaphore number and if it is same as the process ID I am talking about so that I can search for the right OSS notes.
    Also, finding all this will only tell me why it hung.... but is there a way we can make it kick off and not get stuck or I have to wait it out until the resources get released.....?  Which in my case then would stil be a wait for 6/7 hours!!
    Apreciate your feedback.
    Best.....  Lee

  • Questions on SPINCOUNT and Semaphores

    Hello,
    I have a few more questions on SPINCOUNT and semaphores.
    1) The documentation states that SPINCOUNT = 0 (default) uses the spincount "built into the delivered binary".
    - How can I find out what the built-in spincount is?
    - What is the built-in spincount for a native client?
    2) "Semaphore appears stuck" (Q_CAT 1447) is reported when the semaphore for a queue cannot be obtained.
    - Does SPINCOUNT also apply to queue semaphores?
    - What is the timeout for the semop? Ie, how long does a process wait before reporting 1447?
    3) Is there a similar (to Semaphore appears stuck) error for other semaphores, such as GTT, AOM, etc)?
    - If yes, what is the timeout?
    Thanks...
    Roger

    Roger,
    1) The default SPINCOUNT value is 0 (no spinning) for all platforms that are supported today. (At one time we had a default value of 5000 for Sequent hardware, but it has been many years since we supported that platform.) The SPINCOUNT value that will work best for any application depends on many factors, including the number of CPUs on the machine, the hardware platform, and the indvidual application. SPINCOUNT will only be useful when the machine has more than one CPU.
    2) /Q logs Q_CAT:1447 after 50 unsuccessful attempts to obtain the semaphore when the semaphore has never been released and reobtained by a different process or the same process during that period. The Access Control List code uses the same rule for logging LIBTUX_CAT:1511. If TMSPINCOUNT is set, then the number of unsuccessful attempts to obtain the semaphore is incremented by 1 only after TMSPINCOUNT spins have been done.
    Code for the BB semaphore and the semaphore used by /Domain follows a different rule. This code will log LIBTUX_CAT:5005 or LIBGW_CAT:5010 if a process has to wait for the semaphore for 10 seconds and the semaphore has never been released by the original owner during this time period.
    3) TMSPINCOUNT is used for the BB semapahore, AOM semaphore, ACL semaphore, /Domain semaphore, and /Q semaphore. Locking the GTT uses the same BB semaphore that used to lock other tables in the BB.
    Regards,
    Ed

  • Do I need to use a semaphore when reading/writing a functional global from reentrant VIs?

    I have a program that spawns multiple reentrant VIs running simultaneously.  These VIs write their status to a functional global.  The VI that monitors them periodically polls this global to check out how they're doing and takes action based on their collective status.  (BTW, I'll mention that this monitoring VI is NOT the parent that spawned the reentrants, just in case this might affect memory management as it pertains to my question.)
    Anyway, 90% of the time, stuff goes off without a hitch.  However, once in a while the whole thing hangs.  I'm wondering if there's any chance that I've overlooked something and that some kind of collision is occurring at the global.  If that's the case, then should I be setting a semaphore for the global read/writes?
    And, if this is a problem, then there is something deep about functional globals that I don't yet understand.  My notion of them is that they should negate the need for a semaphore, since there is only one global instance, which cannot be simultaneously called by the various reentrants.  Indeed, this is arguably THE WHOLE POINT about functional globals, is it not?  Or am I missing something?
    Thanks,
    Nick 
    "You keep using that word. I do not think it means what you think it means." - Inigo Montoya

    Thanks Uwe,
    This is a good hunch.  However, functional globals typically run at "subroutine" priority.  With this priority, it is not possible to select a specific execution system; it is always "same as caller."
    I will try your suggestion by switching to "time-critical" priority.  However, I do not know if this could lead to a different set of issues (non-determinism?).  It will probably take a little while to hear back from my guys on whether this makes a difference or not, because the error is sporadic, and sometimes doesn't come along for quite a while.
    While probing all of this, I looked at the execution settings for my reentrant VI.  It has standard settings: "normal" priority, running in the "same as caller" execution system.  My impression has always been that LV creates the clones with unique names.  This allows the clones to be in the same execution system with no problem, and the fact that the execution dialog allows me to choose "same as caller" for a reentrant VI supports this assertion.  This is logical, since there could potentially be many more clones than available execution systems.  "Preallocate clone for each instance" is selected, which is what I want, I think, though I don't know if it matters in my application.
    In summary, I am trying out your suggestion, but with skepticism.  Any other suggestions from anyone out there?  Any misunderstandings on my part that need clarification?
    Thanks,
    Nick 
    "You keep using that word. I do not think it means what you think it means." - Inigo Montoya

  • 7.8.01.18: lots of  "Semaphore Wait" during R3load export

    We're exporting a 1 TB database using R3load with 32 processes.
    I see in x_cons
    I
    D   UKT UNIX   TASK       APPL Current        Timeout/ Region     Wait
              tid   type        pid state          Priority cnt try    item
    T82   12  20443 User     29455* Running                 10    67        15624900(r)
    T83   10  20441 User     27169* Running                 1     66        17362372(r)
    T85    9  20440 User     27432* Running                 13    18        22136285(r)
    T86    8  20439 User     29601* Semaphore Wait          0               19929257(d)
    T87   13  20444 User     29765* Semaphore Wait          0               18315751(d)
    T92    9  20440 User     26841* IO Wait (R)             0     21        22136285(r)
    T93   13  20444 User     29737* Semaphore Wait          0               18315751(d)
    T95   16  20447 User     29461* Running                 70    54        13705379(r)
    T96   11  20442 User     27767* Semaphore Wait          0               15100349(r)
    T100   7  20438 User     29619* Semaphore Wait          0               19535885(s)
    T104  11  20442 User     27090* IOWait(R)(041)          0               15100349(r)
    T107  13  20444 User     26750**Enter ExclLock        1 0     18        18315751(d)
    T110  14  20445 User     29476**Enter ExclLock        1 0     66        17785567(d)
    T113  16  20447 User     29097* IO Wait (R)             0      9        13705379(r)
    T114   8  20439 User     29435**Enter ExclLock        1 0     18        19929257(d)
    T121  12  20443 User     29125* IO Wait (R)             0     33        15624900(r)
    T122  10  20441 User     27823* IO Wait (R)             0     15        17362372(r)
    T123  11  20442 User     26630* Running                 5     22        15100349(r)
    T126  10  20441 User     28056* IOWait(R)(041)          0               17362372(r)
    T127  16  20447 User     29139* IO Wait (R)             0     40        13705379(r)
    T131  14  20445 User     28558* Semaphore Wait          0               17785567(d)
    T135  16  20447 User     20574* IO Wait (R)             0     19        13705379(r)
    T136   7  20438 User     27795* IOWait(R)(041)          0               19535885(s)
    T146   9  20440 User     29062* IO Wait (R)             0     21        22136285(r)
    T151  15  20446 User     21045* IO Wait (R)             0     41        17173861(s)
    T154   9  20440 User     29068* IO Wait (R)             0     28        22136285(r)
    T164  12  20443 User     23832* Semaphore Wait          0               15624900(r)
    T166  16  20447 User     21231* IO Wait (R)             0     21        13705379(r)
    Tables are not split.
    Some question arise here for me:
    - Why do we get so many "Semaphore Waits" although we are not accessing tables in parallel? Why do read operations have to be done atomically?
    - Why do we get IOWait(R)(041)? Can it be so common that the same two pages are trying to be read twice? Those (041) occur, if I keep x_cons running, in half of the UKTs.
    Markus

    Hi,
    Nearly all tasks with the status "Semaphore Wait" run in threads being active for other tasks::
    - T86    8  20439 User     29601* Semaphore Wait          0               19929257(d),
    Aktive task in thread 8:  T114   8  20439 User     29435**Enter ExclLock        1 0     18        19929257(d)
    - T93   13  20444 User     29737* Semaphore Wait          0               18315751(d)
      T87   13  20444 User     29765* Semaphore Wait          0               18315751(d)
    Active task in thread 13:   T107  13  20444 User     26750**Enter ExclLock        1 0     18        18315751(d)
    - T96   11  20442 User     27767* Semaphore Wait          0               15100349(r)
    Active task in thread 11: T123  11  20442 User     26630* Running                 5     22        15100349(r)
    - T131  14  20445 User     28558* Semaphore Wait          0               17785567(d)
    Active task in thread 14: T110  14  20445 User     29476**Enter ExclLock        1 0     66        17785567(d)
    - T164  12  20443 User     23832* Semaphore Wait          0               15624900(r)
    Active task in thread 12: T82   12  20443 User     29455* Running                 10    67        15624900(r)
    Only thread 7 is not scheduled on CPU.
    Nevertheless there was a bottleneck on the reagions 18 and 66 at this particular time of the x_cons run. The database might need more data cache stripes (parameter DataCacheStripes).
    The status "IOWait(R)(041)" can mean the tasks are waiting for I/O pre-fetching. The system views IOJOBS and the x_cons command SHOW IOPENDING give information about the running I/O orders.
    Best regards,
    Werner Thesing

  • How to set semaphores configuration in Solaris 10 zones

    Dear All:
    I have a Sun SPARC T5120 with 16gb RAM. I have created three zones on that servers. Each zone I have configured 4gb RAM. I mean 3 zones will take 4*3=12gb RAM.
    In the first zone Oracle Database 11g installed. SGA has 3gb
    In the second zone Oracle Database 11g installed. SGA has 3gb.
    In the third zone Oracle Application Server 10g installed.
    In the parent - global zone I have set the semaphore settings 8gb in /etc/systems
    My question is:
    Oracle Database 11g is mandatory to take the semaphore settings?
    First & Second zones Oracle Database will take the semaphore settings?
    Is there any other way to give the semaphore settings in the same child zone?
    If my question is not clear, pls revet back with your points. I am happy to reply.
    Expert throw some light on this.
    Thanks in advance,
    Balaji Sridhar

    Balaji,
    This is not an application server related question. You may get an answer when you post your question in a Solaris forum.
    Thanks,
    EJ

  • How do I access a semaphore created in a zone from global?

    Using Solaris 10 with trusted extentions enabled.
    Creating a semaphore in a zone.
    Trying to access it in the global zone using sem_open. Fails - no such file or directory.
    ipc_dac_read and ipc_dac_write are in the effective set but are not sufficient.
    How do I access a semaphore from global?

    You don't.
    The whole point of zones is to separate the namespaces so zones appear to be separate physical machines.
    You need to think of them that way.

  • ERROR: Dequeue Element in Acquire Semaphore

    Hi
    I'm working with TS4.1 + LV8.6
    Here's the full error I'm getting:
    A Run-time error has occurred in step: xMCP Alive?
    Sequence: MainSequence
    SequenceFile: R:\HLXC1536\Seq\FCU.seq
    Error Message: Dequeue Element in Acquire Semaphore.vi:1->NI_InternetTK_Core_VIs.lvlib:Telnet
    Read.vi:1->TelnetReadWrite.vi->TelnetReadWrite.vi.ProxyCaller
    Error Code: 1
    Could somebody please give me a hint to what sort of problem I'm looking at?
    The error only shows up when I select to run another UUT (from the preUUT sequence).  If I select no and let the sequential model finish the test, it will not happen on the next run.
    The error itself is in a ReadWrite Telnet vi which works fine.  It happens on the first time it is used after the open telnet vi.  Again, it only happens when I select 'Yes' on the question 'run another UUT'.
    And thought?
    Thanks
    Rafi

    Rafi,
    In your ReadWriteTelnet VI, are you using all four semaphore VIs (obtain semaphore reference, acquire semaphore, release semaphore, release semaphore reference)? or are you passing in the semaphore reference from somewhere else?  Just make sure you are releasing the semaphore properly and the semaphore reference (either in this VI or at the end of your sequence) properly.  The fact that this only happens on the second UUT seems to suggest that there is a problem with your references not being closed properly.
    Eric B.
    National Instruments

  • Problem with Release Semaphore Reference

    I wrote a simple routine to try to understand how semaphores work (see the attached vi).  In this routine, I have 2 LEDs that I want to blink for 5 sec each (independant of one another).  I assumed the opperation would be the same regardless of which LED blinks first, but that's not the case.  When I first ran the vi, the Release Semaphore Reference vi was connected to the loop 1 Release Semaphore vi.  When my vi ran, loop 2 executed first, and I got run-time error 1111,
    Possible reason(s):
    LabVIEW:  Release Semaphore called on a semaphore that was not currently acquired.
    Complete call chain:
         Release Semaphore.vi
         semiphor.vi. 
    The only way I got it to work was to connect the Release Semaphore Reference vi to the loop 2 Release Semaphore vi (as currently shown).  Can anyone explain and make recommenations?
    Thanks in advance.
    Solved!
    Go to Solution.
    Attachments:
    semiphor.vi ‏13 KB

    The error apperead, because the 'release semaphore reference' was executed before the 'release semaphore'. You should force execution order in a way that 'rsr' is always executed after both 'rs'. I would suggest to use Merge Errors on both loops and pass the merged error in the 'rsr'.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Semaphores in LV 5.1 ?? across different processes??

    Urgent!
    I have a very large and complex application, which I need to build into an executable.
    I need to have data from one or more files, which this exe writes periodically, available to another separate application.
    I need to protect the file from read during write and
    vice-versa, so was thinking of semaphores which I'm using inside the large app.
    So, I ran a trial.
    ( OS is NT4 and NT 5)
    Created two different (but identical except for vi name) VIs which each create, acquire, release, and destroy a semaphore of the same name.
    (the name comes from a global to ensure it is in fact the same.)
    They both work ok.
    One waits for the other to release the semaphore before proceding.
    Then I built an exe from
    each with app builder.
    Each of the exe's can create, acquire and destroy its
    own semaphore without affecting that of the other app.
    (Even though the semaphores are named the same.)
    All the info I can find on the LV semaphores indicate that they are just like mutexes except that they can be shared by more than one task (set by "size" input of the create semaphore vi).
    According to microsoft documentation, Mutexes and semaphores are kernel objects which can be used to synchronize across multiple processes(, threads, or tasks).
    So what gives? Is the implementation in LV different
    than the Windows kernel?
    Anyone have any ideas?
    Thanks
    Dave

    Semaphores are similar in behavior to mutexes but are not system mutexes;
    they rely on
    LabVIEW occurences which are local to the application.
    To solve your problem you could open files denying read/write access to
    other. Then if a file is already in use, other applications will receive
    access error when attempting to open the file.
    HTH
    Jean-Pierre Drolet
    "Dave Karon" a ecrit dans le message de news:
    [email protected]..
    > Urgent!
    > I have a very large and complex application, which I need to build
    > into an executable.
    > I need to have data from one or more files, which this exe writes
    > periodically, available to another separate application.
    > I need to protect the file from read during write and
    > vi
    ce-versa, so was thinking of semaphores which I'm using inside the
    > large app.
    > So, I ran a trial.
    > ( OS is NT4 and NT 5)
    > Created two different (but identical except for vi name) VIs which
    > each create, acquire, release, and destroy a semaphore of the same
    > name.
    > (the name comes from a global to ensure it is in fact the same.)
    > They both work ok.
    > One waits for the other to release the semaphore before proceding.
    > Then I built an exe from each with app builder.
    > Each of the exe's can create, acquire and destroy its
    > own semaphore without affecting that of the other app.
    > (Even though the semaphores are named the same.)
    > All the info I can find on the LV semaphores indicate that they are
    > just like mutexes except that they can be shared by more than one task
    > (set by "size" input of the create semaphore vi).
    > According to microsoft documentation, Mutexes and semaphores are
    > kernel objects which can be used to synchronize across multiple
    > processes(, threads, or task
    s).
    > So what gives? Is the implementation in LV different
    > than the Windows kernel?
    > Anyone have any ideas?
    >
    > Thanks
    > Dave
    LabVIEW, C'est LabVIEW

  • Lock and semaphore, what's better method for my case

    Hi all,
    I'm implementing a classic case: a consumption queue with infinite capacity. That's say I have a queue of infinity capacity, a thread to put objects into the queue, another thread take it out. Pseudo code is smth like below:
    void put(Object o) {
    put message into the queue
    if (consume thread is waiting) {
    lock();
    signal();
    unlock();
    void eat() {
    if (queue not empty)
    take object out;
    else
    lock;
    wait for signal from producer;
    wake up and take object out;
    unlock;
    I don't know if I should use semaphore or Lock interface to get the job done. Do you know which one is better in my case? I'm writing an apps which is very sensitive in latency so basically I want the eater to get the object as soon as possible. Any advices?
    Message was edited by:
    principles

    Blocking queue doesn't work for me as it is too slow.
    I don't need to lock the data because one thread
    adds too the tail, one thread consumes the head, so
    why bother?LinkedBlockingQueue allows concurrent access to the head and tail ie it uses two different locks.
    A Lock is a mechanism for mutual exclusion. It generally has a notion of ownership and so the thread that locks must be the thread that unlocks.
    A Semaphore is a resource counter. There are no constraints on which thread signals() after await(). It is only a protocol that you establish in your code that allows it to be used for exclusion.
    A bounded-buffer generally needs two synchronization aids:
    a) an exclusion control to ensure the data structure is not corrupted by concurrent access
    b) a coordination control to allow consumers to block when the buffer is empty, or producers to block when the buffer is full.
    These two can be combined by using "synchronized" methods and wait/notify. Or by using Lock and associated Condition objects. Or you can use "synchronized" blocks or Lock for exclusion, and handle the coordination using a seperate semaphore (which must use some form of internal synchronization too - but perhaps more efficient.)
    If you have a lock-free data structure, such as ConcurrentLinkedQueue then you don't need anything for (a) and so you only need coordination. So try using a Semaphore: put() increments it and take() decrements it.
    But the Semaphore still becomes a serialization point in your code.

  • How to monitor semaphores?

    We had a case recently where a large ERP system had all it's dialog work processes hung on Semaphore 43.  We'd like to put some kind of system monitor in place to catch these events and alert someone when it happens.  Something like the equivalent of "dpmon -> option m -> option p" output to the screen that we could run periodically for each app server would be perfect... but I'm not seeing any way to feed dpmon commands (other than installing TCL/expect on every host), or otherwise get the information out.
    One thing I thought of would be to write an RFCSDK program to call something like TH_WPINFO on each app server, and wrap it in a timer so that if the dialogs on a server are full, it would time out in 10-20 seconds and throw an alert.... but before I go down that road I thought I'd see what other ideas people had.
    Thanks!
    Rich

    You can't use SM50 to see if there's a free dialog process, when they're all hung.  You can't even log in to the system.  That's why something like DPMON is useful (or an rfc call wrapped in a timer).
    We implemented that note and haven't seen the problem, but management wants a monitor on it anyway - that fixes semaphore 43, but what about the rest? 
    Thanks,
    Rich

  • Oracle Post Installation Semaphore Parameters

    SYS INFO: Oracle 11g R2 SUSE Linux 11.
    The Oracle posting installation guide requires to set the Semaphore Parameters. Here are the steps:
    Calculate the minimum total semaphore requirements using the following formula:
    sum (process parameters of all database instances on the system) + overhead for background processes + system and other application requirements
    How can I determine (where can I find) the process parameters, overhead for background processes and system and other application requirements?
    Thanks

    Do you have any special requirements or needs for your database ? If not, the recommended value of 32000 (http://docs.oracle.com/cd/E11882_01/install.112/e24321/pre_install.htm#CIHEGJEH) should suffice.
    HTH
    Srini

  • "Cannot open semaphore" in Citrix environment

    Hi
    I have a TUX running on a Citrix Server in NT box and is having the following
    error in over and over again.
    TRACE:at: { tpreturn(2, 0, 0x14ff8f0, 100000, 0x0)
    TUXNT_CAT:2: ERROR: Cannot open semaphore 'IPC651': The system cannot find the
    file specified.
    ELINKSBLETOA.632: TRACE:at: } tpreturn [long jump]
    I have tried both rebooting the server and re-installing TUX, doesn't help. I
    am suspecting that this is because of the nature of Citrix, where TUX is confused
    with which client it is connecting to. Does anyone have any similar experience?
    Any help would be appreciated.
    Regards
    Nathan
    Citrix is a emulator kind of software which create a new session for every client
    that connects to it. All applications are run on the server box only. Very much
    like a graphical version of telnet.

    Hi Manoj,
    Thanks for your response. Well, even through I am not 100% sure, I am fairly confidence
    that TUX does like Citrix architecture after a series of testing. Here is my theory,
    while it remains okay to have TUX client in Citrix environment, TUX server is
    confused with the session architecture in Citrix. While TUX is "routing" "some"
    of the requests and messages, it looks for a semapore that is handled by Citrix
    (and might have destroyed?). And thus it fails.
    Of course... its just my guess work. =P
    Thanks again
    Regards
    Nathan Lau
    "Manoj SASIDHARAN" <[email protected]> wrote:
    >
    Hello Nathan,
    I have tried using VB applications that r Tuxedo clients on Citrix MetaFrame
    server.
    And they worked fine.
    Really not sure whether u can run Tuxedo servers on Citrix.
    Do u have a sound reason to run Tuxedo servers run on the Citrix box???
    regards
    MS
    "Nathan" <[email protected]> wrote:
    Hi
    I have a TUX running on a Citrix Server in NT box and is having thefollowing
    error in over and over again.
    TRACE:at: { tpreturn(2, 0, 0x14ff8f0, 100000, 0x0)
    TUXNT_CAT:2: ERROR: Cannot open semaphore 'IPC651': The system cannot
    find the
    file specified.
    ELINKSBLETOA.632: TRACE:at: } tpreturn [long jump]
    I have tried both rebooting the server and re-installing TUX, doesn't
    help. I
    am suspecting that this is because of the nature of Citrix, where TUX
    is confused
    with which client it is connecting to. Does anyone have any similarexperience?
    Any help would be appreciated.
    Regards
    Nathan
    Citrix is a emulator kind of software which create a new session for
    every client
    that connects to it. All applications are run on the server box only.
    Very much
    like a graphical version of telnet.

  • ZEN StonePlus-Semaphore timeout period expired+firmware issue

    Hello, im new here, i apolgize if the topic with same problem already exist. (i found similar, but from 2007.)
    I have a problem with my Zen Stone Plus 2GB. The firmware is broken i think. It wont turn up, pc wont recognize it in any way.
    I tried this :
    http://forums.creative.com/t5/MP3-Pl...67B37F890FAA05
    Hey I keep replying to myself. But this time it's good news, I've fixed the problem!
    Here are the steps I performed:
    . Put the player in recovery mode with these instructions (I was only able to do this once so follow the instructions carefully):
    Here are the instructions:
    a. Download and install the Mass Storage Drivers from the website.
    b. Press and hold the Play button while connecting your player to the PC. If you have a one-piece player then remove the battery first.
    c. Keep pressing Play until the New Hardware Wizard starts - this will only happen the first time you put your player into Recovery Mode.
    d. Complete the New Hardware Wizard.
    To check that you are in Recovery Mode open Device Manager (right-click My Computer and choose Properties, then the Hardware tab and Device Manager) and look for a Player Recovery Device entry.
    When in Recovery Mode you can reload the firmware.
    2. DO NOT INSTALL THE RIGHT FIRMWARE FOR ZEN STONE PLUS, instead upload the firmware for the MuVo player: http://files.creative.com/manualdn/D...W_LF__2_03.exe
    3. After the firmware has been updated go into recovery mode again but this time upload the correct firmware for Zen Stone Plus: http://is.europe.creative.com/suppor...ame=Windows+XP
    VOILA! The player has risen from death and can continue to be enjoyed!
    And this says the same :
    http://www.mycreativefansite.com/200...ue-on-zen.html
    NOW what I have done :
    . Installed drivers for creative players from their site [done]
    2. Inserted the player to the PC [done]
    3. Installed the "MP3 Player Recovery Device Drivers" (mentioned in above link) [done]
    4. My player is now in "recovery mode" it was recognized as "Player recovery device" [done]
    5. I tried to install the firmware for MUVO players (again see the link above) but it came up with the "Operating system reported error: The semaphore timeout period has expired" [fail]
    6. I tried to install the latest Zen Stone Plus firmware from creative site but again - "Operating system reported error: The semaphore timeout period has expired" [fail]
    http://img97.imageshack.us/img97/430/aerhbae.th.jpg - picture here !
    I tried MUVO V200.
    That error should came up within the installation of ZEN firmware, not the MUVO firmware. But my problem is : The MUVO firmware does the same error as the ZEN firmware.
    I also tried different firmware, for MUVO T200. It wont even turn on the update - "Your player is not connected, please connect your player" it says.
    Reseted milion times and the battery is charged by the way.
    ps : sorry for my english
    Thanks for your help !

    Anyone?

  • Solaris 10 Oracle 10g and semaphores

    Hi, Can you help me,
    We have Oracle installed on a solari 10 box, and I think we have a problem with the semaphores, currently the project is set as below, out of the box
    user.oracle:100::oracle::process.max-sem-nsems=(priv,256,deny);project.max-sem-ids=(priv,100,deny);project.max-shm-ids=(priv,100,deny);projec
    t.max-shm-memory=(priv,4294967296,deny)
    The machine has 16gb Ram
    Our SGA is 3gb.
    The .ora file the processes is set at 1400.
    Is the project set wrong above and what do I need to set it at, any idea how to work it out.
    The reason I am asking the question as the system get's busy we get errors on the os station cannot assign semaphores.
    I lloked up metalink, just can't get my head round it, somewhere it said you have to set semmsid, but according to an oracle metalink that was obsolete in solaris 10?
    Thanks

    Jan 25 04:50:00 cimadbs01 cron[3906]: [ID 832980 auth.error] pam_unix_cred: project.max-shm-memory resource control
    assignment failed for project "user.oracle"
    Jan 25 04:50:00 cimadbs01 cron[3907]: [ID 832980 auth.error] pam_unix_cred: project.max-sem-ids resource control ass
    ignment failed for project "user.oracle"
    Jan 25 05:50:00 cimadbs01 cron[22554]: [ID 832980 auth.error] pam_unix_cred: project.max-shm-ids resource control assig
    nment failed for project "user.oracle"
    Jan 25 05:50:00 cimadbs01 cron[22553]: [ID 832980 auth.error] pam_unix_cred: project.max-sem-ids resource control assignm
    ent failed for project "user.oracle"
    Jan 25 07:17:00 cimadbs01 cron[19870]: [ID 832980 auth.error] pam_unix_cred: project.max-shm-ids resource control assignme
    nt failed for project "user.oracle"
    Jan 25 07:17:00 cimadbs01 cron[19869]: [ID 832980 auth.error] pam_unix_cred: project.max-sem-ids resource control assignmen
    t failed for project "user.oracle"
    Thanks for the messages, I'm looking for a guide on metalink that states how to come up with the measures for the kernal, if I know the sga size, the number of processes etc..Is there a formula.?
    Edited by: user3356326 on 31-Jan-2009 13:48

Maybe you are looking for

  • If you can help me, I will kiss you on your face. Gently and with passion.

    My 4th Gen iPod Touch was stolen out of my car mid-October during a trip to Daytona Beach, and this today at 6:36AM Colorado time, I recieved an iTunes receipt for an app called 'TurboScan' because yeah man that is some serious hardcore theif stuff,

  • Photoshop and Lightroom stop working.

    I am using CS4, Lightroom 2.5, and Lightroom 3.0 beta.  My operating system is Windowsw Vista 64bit.  Two day ago all 3 products stop loading.  I get the error mesaage that the programs have stop working.  I have used the suggestions that Abode suppo

  • DBMS_CRYPTO package help needed :(

    Hello all, I want to use Oracle's DBMS_CRYPTO package for decrypting some data. I have one sample program as follows which is not working....the error is shown below. SQL> DECLARE 2 input_string VARCHAR2 (200) := 'Secret Message'; 3 output_string VAR

  • Add-on does not start

    Hi all, I want to start the SAP addons, but unfortunately we have the following errors: - the first error is: "Resource error" - the second error: "Initialization failed" What i did is remove the addons then re-install it also change the file "AddOns

  • SQL Developer viewing schemas on an MS SQL Server

    Hi, I've connected SQL Developer to our MS SQL server in the hope we can dump some of the data it contains onto our Oracle 10g box. Problem is in the left hand connections pane we can only see one database on the sql server box at a time. If we want