photonSocketServer.exe threads

Options
ymlyjq
edited July 2013 in Photon Server
how call the photonsocketserver's threads up ?

after on hour , my server use photon ,that 's threas up up up....

now ,it has 1420 threads,what operation can call this problem?

Comments

  • ymlyjq
    Options
    mybe , the ExeCommand thread not done
    so
    [code2=csharp]ThreadPool.QueueUserWorkItem(new WaitCallback(PooledFunc));[/code2]

    this thread was not release

    and all were not release...

    but why?

    what is problem ?

    the photonsocketserver can do nothing then...
  • chvetsov
    Options
    hi, ymlyjq.
    it may happens if you have deadlock or just block thread. Then system will create new thread. This thread blocked again, system creates new thread for pool and so on.
    As result you will get tausands of threads where almost all threads blocked