![]() |
Problems with MAIN THREAD - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Problems with MAIN THREAD (/Thread-Problems-with-MAIN-THREAD) |
RE: Problems with MySQL - Shaklaban - 08-21-2012 02:50 PM you can control all for loops (for, foritems forchars etc.). another thing is you can enable the ef_script_profiler in sphere.ini. then you can write to console "p#" after server freeze again. it will give you execution time of all functions triggers etc. in profiler_dump.txt. you can find the function which hangs the server from that file. RE: Problems with MySQL - RanXerox - 08-21-2012 02:56 PM What are your sphere.ini settings for: SaveBackground Experimental OptionFlags UseAsyncNetwork NetworkThreads NetworkThreadPriority RE: Problems with MySQL - Lazarus - 08-21-2012 03:20 PM (08-21-2012 02:56 PM)RanXerox Wrote: What are your sphere.ini settings for: Code: SaveBackground=0 Thanks ![]() mbe, the others configs? Code: ClientMax=32000 any recomendations to this? ------- (08-21-2012 02:50 PM)Shaklaban Wrote: you can control all for loops (for, foritems forchars etc.). another thing is you can enable the ef_script_profiler in sphere.ini. then you can write to console "p#" after server freeze again. it will give you execution time of all functions triggers etc. in profiler_dump.txt. you can find the function which hangs the server from that file. Just... I must wait the UNFREEZE of the server to send a command in the sphereserver. I'll do it the next time ![]() Should i get the last Sphere Build? This is the last revision: 24-04-2012, MrSugarCube - Fixed: Unable to double click console in Windows to open scripts when forward slashes are used in script paths. I can't restart the server now, we have players IN. RE: Problems with MySQL - Shaklaban - 08-21-2012 03:48 PM your problem is probably caused by one of the scripts, just wait for next freeze and look into profiler dump. you can post your profiler dump to here. meaning of your error is some of your scripts execution time > 60 seconds. RE: Problems with MySQL - Lazarus - 08-22-2012 03:26 PM (08-21-2012 03:48 PM)Shaklaban Wrote: your problem is probably caused by one of the scripts, just wait for next freeze and look into profiler dump. you can post your profiler dump to here. Code: Profiles OFF: (0 sec total) Nothing.. 2 main force in a row... I can't use p# while the MAIN FORCE ... and i use it after... I can't belive it. I can't do nothing. Any ideas? ... I have errors like this: Code: 02:09:WARNING:de:Unknown game packet (0x20) received. When i do resync. My players are playing.... Can be the wrong try passwords of the players? that is what can i see before of the main closed... any wants to see the logs? Thanks ![]() Im very worried about this... RE: Problems with MySQL - Shaklaban - 08-22-2012 03:33 PM there must be list of functions in profiler dump like: FUNCTION 'page_cevabi_yolla' called 514 times, took 0.8994 msec average (0.1595 min, 16.3308 max), total: 462.3320 msec FUNCTION 'ikili_ana_cizim' called 43213 times, took 0.3565 msec average (0.0089 min, 36.6434 max), total: 15407.5506 msec in that section if max of function equals 1000, this means server freeze for 1 second because of that function. RE: Problems with MySQL - Lazarus - 08-22-2012 03:58 PM (08-22-2012 03:33 PM)Shaklaban Wrote: there must be list of functions in profiler dump like: Code: Profiles OFF: (0 sec total) Nope ![]() I don't know what is happend ='( RE: Problems with MySQL - Shaklaban - 08-22-2012 03:59 PM hmm maybe when main thread restarted, all values are restarted too. RE: Problems with MySQL - Lazarus - 08-22-2012 04:05 PM (08-22-2012 03:59 PM)Shaklaban Wrote: hmm maybe when main thread restarted, all values are restarted too. Again! fuuuuufufufufufufu I'd used yet the p#... Let's see whats we get when the server UNFREEZES... Can be this: Code: 03:06:ERROR:dc:Bad Login 10 (Encryption error (packet length does not match what was expected)) // Set this to 0 to allow login to encrypted clients UseCrypt=1 // Set this to 1 to allow login to unencrypted clients UseNoCrypt=1 RE: Problems with MySQL - RanXerox - 08-23-2012 02:16 AM When did this start happening? List all the script files on your shard by the last date/time that they were modified and look closely at the files where the last modfified date is after the date when this started... |