Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Server Croaked

Discussion in 'Multiplayer' started by DrHotbunz, Feb 18, 2010.

  1. DrHotbunz

    DrHotbunz

    Joined:
    Feb 14, 2009
    Posts:
    315
    I have a Unity server that runs in -batchmode in my tray. At first glace it runs great. After loading it takes about 100k memory and about 2% CPU time (on one CPU).

    It apparently has a memory leak of some sort because after about a 6 days it slowly goes up to 170k. Between 4-7 days it strangely stops running any CPU cycles out of the blue.

    My question isnt about the memory leak. Its about why the application just stops with the CPU cycles. Its like a thread has died in Mono.

    Anyone have a clue why a Unity program might just stop running any CPU activity(but not quit) ?
     
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    would assume it to be an issue in your code.

    had my network example based test server running fine for 20 days without problems ...
     
  3. DrHotbunz

    DrHotbunz

    Joined:
    Feb 14, 2009
    Posts:
    315
    Ill take some day and look at it....