The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Still have Main Threads error :( [last profiles]
Author Message
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #1
Thumbs Down Still have Main Threads error :( [last profiles]
Hi! I'm Still having all the main threads problem. I can't detect what is the fault here, maybe this last profiles tell anyone something... Because I just tried ALL! I try new scripts, search one of the big problem and others faults... but... Nothing.

I have the server open. I can't take it away, and I can't force the main thread in a localserver... it's impossibru Sad

The first profile dump was ON the main thread problem. The other prof, it's AFTER the main thread Tongue [I didn't restart sphere]

Lazarus!
Thanks for reading this Sad


Code:
Profiles ON: (10 sec total)
Thread 1596, Name=Main
IDLE       =   0.0000s  avg:   0.9504s  [samples:     0  avg: 87497 ]  runtime: 4314s
OVERHEAD   =   0.0001s  avg:   0.0154s  [samples:    66  avg: 13754 ]  runtime: 4314s
NETWORK_RX =   0.0000s  avg:   0.0823s  [samples:     0  avg: 72805 ]  runtime: 4314s
CLIENTS    =   0.0000s  avg:   0.0702s  [samples:     0  avg:  1784 ]  runtime: 4314s
NETWORK_TX =   0.0000s  avg:   0.0234s  [samples:     0  avg:  1147 ]  runtime: 4314s
CHARS      = 189.9417s  avg:   0.2513s  [samples:   474  avg: 34425 ]  runtime: 4314s
ITEMS      =   0.0057s  avg:   0.0437s  [samples:   174  avg: 26448 ]  runtime: 4314s
MAP        =   0.0054s  avg:   0.1486s  [samples:  1542  avg:101674 ]  runtime: 4314s
NPC_AI     =   0.0448s  avg:   0.8765s  [samples:  1733  avg:104505 ]  runtime: 4314s
SCRIPTS    =   0.0029s  avg:   0.0536s  [samples:    54  avg:  1282 ]  runtime: 4314s
FAULTS     = 0 (total: 0) instances
Scripts: called 2457434 times and took 284518.2813 msec (0.1156 msec average). Reporting with highest average.
FUNCTION 'isbanned' called 605 times, took 1.3601 msec average (1.2618 min, 9.0927 max), total: 823.0134 msec
FUNCTION 'list' called 81 times, took 10.7356 msec average (5.1905 min, 13.1793 max), total: 869.6110 msec
FUNCTION 'estado' called 15 times, took 3.6102 msec average (2.0103 min, 10.6454 max), total: 54.1545 msec
FUNCTION 'isfriend' called 24977 times, took 1.0561 msec average (0.0374 min, 55.3537 max), total: 26382.9566 msec
FUNCTION 'f_autotele' called 771 times, took 0.1983 msec average (0.0737 min, 0.8119 max), total: 153.1469 msec
FUNCTION 'helppage' called 18 times, took 0.1260 msec average (0.0919 min, 0.3514 max), total: 2.2699 msec
FUNCTION 'f_house_release' called 41 times, took 0.6021 msec average (0.0863 min, 0.8608 max), total: 24.6876 msec
FUNCTION 'f_house_lock' called 43 times, took 0.5034 msec average (0.0843 min, 0.7183 max), total: 21.6577 msec
FUNCTION 'f_house_secure' called 40 times, took 2.0444 msec average (0.0687 min, 3.0254 max), total: 81.7859 msec
FUNCTION 'admin' called 70 times, took 9.6906 msec average (7.4462 min, 15.7404 max), total: 678.3593 msec
FUNCTION 'admin_renderdialog' called 123 times, took 4.0413 msec average (0.3629 min, 4.6621 max), total: 497.0972 msec
FUNCTION 'f_onserver_save_ok' called 42 times, took 0.2998 msec average (0.1547 min, 0.4576 max), total: 12.5965 msec
FUNCTION 'online' called 57 times, took 24.1547 msec average (9.9681 min, 36.7893 max), total: 1376.8351 msec
FUNCTION 'conteoips' called 58 times, took 12.7809 msec average (3.4406 min, 22.5909 max), total: 741.3101 msec
FUNCTION 'f_msg_queue' called 104 times, took 0.1791 msec average (0.0712 min, 1.6429 max), total: 18.6362 msec
FUNCTION 'stuck' called 23 times, took 0.2383 msec average (0.0508 min, 0.4319 max), total: 5.4864 msec
FUNCTION 'f_unfreeze' called 18 times, took 0.4618 msec average (0.1964 min, 0.5998 max), total: 8.3140 msec
FUNCTION 'f_clear_elem' called 44 times, took 1.5381 msec average (1.1304 min, 2.2179 max), total: 67.6884 msec
FUNCTION 'f_house_eject' called 1 times, took 1.6811 msec average (1.6811 min, 1.6811 max), total: 1.6811 msec
FUNCTION 'f_terminada2' called 1 times, took 0.3663 msec average (0.3663 min, 0.3663 max), total: 0.3663 msec
FUNCTION 'f_guildsys_recruitguy' called 1 times, took 0.5820 msec average (0.5820 min, 0.5820 max), total: 0.5820 msec
FUNCTION 'f_guildsys_addchartoguild' called 1 times, took 0.2327 msec average (0.2327 min, 0.2327 max), total: 0.2327 msec
FUNCTION 'accadd' called 1 times, took 1.3749 msec average (1.3749 min, 1.3749 max), total: 1.3749 msec
FUNCTION 'g' called 18 times, took 2.0145 msec average (1.5917 min, 2.1891 max), total: 36.2648 msec
FUNCTION 'f_house_add_friend' called 3 times, took 1.8533 msec average (1.6655 min, 1.9491 max), total: 5.5599 msec
FUNCTION 'house_find_guild' called 2 times, took 0.2279 msec average (0.2184 min, 0.2374 max), total: 0.4559 msec
FUNCTION 'f_house_demolish' called 1 times, took 0.6901 msec average (0.6901 min, 0.6901 max), total: 0.6901 msec
FUNCTION 'check_account_typedef' called 11 times, took 0.8644 msec average (0.5115 min, 1.1603 max), total: 9.5107 msec
FUNCTION 'f_check_typedefs' called 18 times, took 0.4442 msec average (0.2774 min, 0.7203 max), total: 7.9966 msec
FUNCTION 'f_fix_house_chars' called 6 times, took 2.9175 msec average (0.7960 min, 5.8343 max), total: 17.5065 msec
FUNCTION 'f_check_house_chars' called 6 times, took 2.6856 msec average (0.5607 min, 5.6202 max), total: 16.1142 msec
FUNCTION 'area' called 1 times, took 0.1601 msec average (0.1601 min, 0.1601 max), total: 0.1601 msec
FUNCTION 'f_remove_keys' called 1 times, took 1.1547 msec average (1.1547 min, 1.1547 max), total: 1.1547 msec
FUNCTION 'f_house_transfer' called 1 times, took 108.4677 msec average (108.4677 min, 108.4677 max), total: 108.4677 msec
FUNCTION 'f_house_add_coowner' called 3 times, took 1.6303 msec average (1.6037 min, 1.6574 max), total: 4.8913 msec
FUNCTION 'f_lower_stat' called 25 times, took 3.0315 msec average (0.2310 min, 6.0815 max), total: 75.7940 msec
FUNCTION 'f_terminada' called 4 times, took 0.4325 msec average (0.3785 min, 0.4881 max), total: 1.7309 msec
FUNCTION 'f_sword' called 1 times, took 0.1693 msec average (0.1693 min, 0.1693 max), total: 0.1693 msec
FUNCTION 'regs' called 5 times, took 0.8723 msec average (0.4470 min, 1.4322 max), total: 4.3618 msec
FUNCTION 'follow' called 1 times, took 0.3277 msec average (0.3277 min, 0.3277 max), total: 0.3277 msec
FUNCTION 'static' called 17 times, took 0.1162 msec average (0.1036 min, 0.1802 max), total: 1.9796 msec
FUNCTION 'static_' called 14 times, took 0.1405 msec average (0.1187 min, 0.1905 max), total: 1.9698 msec
FUNCTION 'telenextchar' called 63 times, took 0.3514 msec average (0.0841 min, 1.0905 max), total: 22.1592 msec
FUNCTION 'j' called 3 times, took 0.1483 msec average (0.1419 min, 0.1545 max), total: 0.4450 msec
FUNCTION 'f_jail' called 1 times, took 6.7622 msec average (6.7622 min, 6.7622 max), total: 6.7622 msec
TRIGGER '@personalspace' called 8623 times, took 0.2875 msec average (0.0162 min, 0.9139 max), total: 2479.6677 msec
TRIGGER '@enter' called 13537 times, took 0.1282 msec average (0.0195 min, 9.1570 max), total: 1739.1153 msec
TRIGGER '@itemdclick' called 310309 times, took 0.1402 msec average (0.0779 min, 8.5945 max), total: 43581.1469 msec
TRIGGER '@dclick' called 243001 times, took 0.2070 msec average (0.0581 min, 55.5806 max), total: 50361.9941 msec
TRIGGER '@spellsuccess' called 23410 times, took 0.1268 msec average (0.1072 min, 1.4358 max), total: 2975.1869 msec
TRIGGER '@spelleffect' called 22613 times, took 0.1257 msec average (0.0265 min, 6.3347 max), total: 2848.0899 msec
TRIGGER '@targon_char' called 175297 times, took 0.3294 msec average (0.0421 min, 20.2372 max), total: 57785.7979 msec
TRIGGER '@npcheargreeting' called 624 times, took 0.3056 msec average (0.2704 min, 0.5143 max), total: 190.8139 msec
TRIGGER '@npchearunknown' called 245 times, took 0.7259 msec average (0.6417 min, 2.0061 max), total: 177.8547 msec
TRIGGER '@dropon_self' called 12645 times, took 0.1891 msec average (0.1517 min, 0.6445 max), total: 2394.8088 msec
TRIGGER '@step' called 656 times, took 0.1768 msec average (0.0273 min, 0.6591 max), total: 116.1480 msec
TRIGGER '@hit' called 57590 times, took 0.1187 msec average (0.0271 min, 8.4601 max), total: 6839.5043 msec
TRIGGER '@npcseewantitem' called 19 times, took 0.1433 msec average (0.1329 min, 0.1620 max), total: 2.7267 msec
TRIGGER '@targon_ground' called 85 times, took 0.3182 msec average (0.0522 min, 0.4674 max), total: 27.0508 msec
TRIGGER '@targon_item' called 10 times, took 0.1707 msec average (0.0472 min, 0.3006 max), total: 1.7096 msec
TRIGGER '@userwarmode' called 7 times, took 0.1397 msec average (0.0863 min, 0.2073 max), total: 0.9784 msec
TRIGGER '@resourcefound' called 3 times, took 0.6253 msec average (0.5867 min, 0.6932 max), total: 1.8765 msec
TRIGGER '@damage' called 2 times, took 0.8563 msec average (0.8331 min, 0.8795 max), total: 1.7127 msec


Code:
Profiles ON: (10 sec total)
Thread 1596, Name=Main
IDLE       =   8.4794s  avg:   0.9732s  [samples: 31140  avg: 71759 ]  runtime: 4331s
OVERHEAD   =   0.0109s  avg:   0.0115s  [samples:  4298  avg: 10635 ]  runtime: 4331s
NETWORK_RX =   0.0654s  avg:   0.0691s  [samples: 26278  avg: 60129 ]  runtime: 4331s
CLIENTS    =   0.0259s  avg:   0.0426s  [samples:   439  avg:  1574 ]  runtime: 4331s
NETWORK_TX =   0.0181s  avg:   0.0206s  [samples:   536  avg:  1064 ]  runtime: 4331s
CHARS      =   0.0973s  avg:   0.1668s  [samples: 10396  avg: 26701 ]  runtime: 4331s
ITEMS      =   0.0327s  avg:   0.0348s  [samples:  8096  avg: 20293 ]  runtime: 4331s
MAP        =   0.1375s  avg:   0.1435s  [samples: 49572  avg:101453 ]  runtime: 4331s
NPC_AI     =   1.1066s  avg:   0.9617s  [samples: 50458  avg:103388 ]  runtime: 4331s
SCRIPTS    =   0.0257s  avg:   0.0420s  [samples:   312  avg:  1138 ]  runtime: 4331s
FAULTS     = 0 (total: 0) instances
Scripts: called 2461830 times and took 285097.1058 msec (0.1156 msec average). Reporting with highest average.
FUNCTION 'isbanned' called 608 times, took 1.3601 msec average (1.2618 min, 9.0927 max), total: 827.1036 msec
FUNCTION 'list' called 81 times, took 10.7356 msec average (5.1905 min, 13.1793 max), total: 869.6110 msec
FUNCTION 'estado' called 15 times, took 3.6102 msec average (2.0103 min, 10.6454 max), total: 54.1545 msec
FUNCTION 'isfriend' called 25037 times, took 1.0564 msec average (0.0374 min, 55.3537 max), total: 26450.8776 msec
FUNCTION 'f_autotele' called 771 times, took 0.1983 msec average (0.0737 min, 0.8119 max), total: 153.1469 msec
FUNCTION 'helppage' called 18 times, took 0.1260 msec average (0.0919 min, 0.3514 max), total: 2.2699 msec
FUNCTION 'f_house_release' called 41 times, took 0.6021 msec average (0.0863 min, 0.8608 max), total: 24.6876 msec
FUNCTION 'f_house_lock' called 43 times, took 0.5034 msec average (0.0843 min, 0.7183 max), total: 21.6577 msec
FUNCTION 'f_house_secure' called 40 times, took 2.0444 msec average (0.0687 min, 3.0254 max), total: 81.7859 msec
FUNCTION 'admin' called 70 times, took 9.6906 msec average (7.4462 min, 15.7404 max), total: 678.3593 msec
FUNCTION 'admin_renderdialog' called 123 times, took 4.0413 msec average (0.3629 min, 4.6621 max), total: 497.0972 msec
FUNCTION 'f_onserver_save_ok' called 42 times, took 0.2998 msec average (0.1547 min, 0.4576 max), total: 12.5965 msec
FUNCTION 'online' called 58 times, took 24.2039 msec average (9.9681 min, 36.7893 max), total: 1403.8452 msec
FUNCTION 'conteoips' called 59 times, took 12.8141 msec average (3.4406 min, 22.5909 max), total: 756.0511 msec
FUNCTION 'f_msg_queue' called 104 times, took 0.1791 msec average (0.0712 min, 1.6429 max), total: 18.6362 msec
FUNCTION 'stuck' called 25 times, took 0.2425 msec average (0.0508 min, 0.4319 max), total: 6.0648 msec
FUNCTION 'f_unfreeze' called 18 times, took 0.4618 msec average (0.1964 min, 0.5998 max), total: 8.3140 msec
FUNCTION 'f_clear_elem' called 44 times, took 1.5381 msec average (1.1304 min, 2.2179 max), total: 67.6884 msec
FUNCTION 'f_house_eject' called 1 times, took 1.6811 msec average (1.6811 min, 1.6811 max), total: 1.6811 msec
FUNCTION 'f_terminada2' called 1 times, took 0.3663 msec average (0.3663 min, 0.3663 max), total: 0.3663 msec
FUNCTION 'f_guildsys_recruitguy' called 1 times, took 0.5820 msec average (0.5820 min, 0.5820 max), total: 0.5820 msec
FUNCTION 'f_guildsys_addchartoguild' called 1 times, took 0.2327 msec average (0.2327 min, 0.2327 max), total: 0.2327 msec
FUNCTION 'accadd' called 1 times, took 1.3749 msec average (1.3749 min, 1.3749 max), total: 1.3749 msec
FUNCTION 'g' called 18 times, took 2.0145 msec average (1.5917 min, 2.1891 max), total: 36.2648 msec
FUNCTION 'f_house_add_friend' called 3 times, took 1.8533 msec average (1.6655 min, 1.9491 max), total: 5.5599 msec
FUNCTION 'house_find_guild' called 2 times, took 0.2279 msec average (0.2184 min, 0.2374 max), total: 0.4559 msec
FUNCTION 'f_house_demolish' called 1 times, took 0.6901 msec average (0.6901 min, 0.6901 max), total: 0.6901 msec
FUNCTION 'check_account_typedef' called 11 times, took 0.8644 msec average (0.5115 min, 1.1603 max), total: 9.5107 msec
FUNCTION 'f_check_typedefs' called 18 times, took 0.4442 msec average (0.2774 min, 0.7203 max), total: 7.9966 msec
FUNCTION 'f_fix_house_chars' called 6 times, took 2.9175 msec average (0.7960 min, 5.8343 max), total: 17.5065 msec
FUNCTION 'f_check_house_chars' called 6 times, took 2.6856 msec average (0.5607 min, 5.6202 max), total: 16.1142 msec
FUNCTION 'area' called 1 times, took 0.1601 msec average (0.1601 min, 0.1601 max), total: 0.1601 msec
FUNCTION 'f_remove_keys' called 1 times, took 1.1547 msec average (1.1547 min, 1.1547 max), total: 1.1547 msec
FUNCTION 'f_house_transfer' called 1 times, took 108.4677 msec average (108.4677 min, 108.4677 max), total: 108.4677 msec
FUNCTION 'f_house_add_coowner' called 3 times, took 1.6303 msec average (1.6037 min, 1.6574 max), total: 4.8913 msec
FUNCTION 'f_lower_stat' called 25 times, took 3.0315 msec average (0.2310 min, 6.0815 max), total: 75.7940 msec
FUNCTION 'f_terminada' called 4 times, took 0.4325 msec average (0.3785 min, 0.4881 max), total: 1.7309 msec
FUNCTION 'f_sword' called 1 times, took 0.1693 msec average (0.1693 min, 0.1693 max), total: 0.1693 msec
FUNCTION 'regs' called 5 times, took 0.8723 msec average (0.4470 min, 1.4322 max), total: 4.3618 msec
FUNCTION 'follow' called 1 times, took 0.3277 msec average (0.3277 min, 0.3277 max), total: 0.3277 msec
FUNCTION 'static' called 17 times, took 0.1162 msec average (0.1036 min, 0.1802 max), total: 1.9796 msec
FUNCTION 'static_' called 14 times, took 0.1405 msec average (0.1187 min, 0.1905 max), total: 1.9698 msec
FUNCTION 'telenextchar' called 90 times, took 0.3316 msec average (0.0662 min, 1.0905 max), total: 29.8516 msec
FUNCTION 'j' called 3 times, took 0.1483 msec average (0.1419 min, 0.1545 max), total: 0.4450 msec
FUNCTION 'f_jail' called 1 times, took 6.7622 msec average (6.7622 min, 6.7622 max), total: 6.7622 msec
TRIGGER '@personalspace' called 8632 times, took 0.2875 msec average (0.0162 min, 0.9139 max), total: 2482.4621 msec
TRIGGER '@enter' called 13585 times, took 0.1282 msec average (0.0195 min, 9.1570 max), total: 1746.0413 msec
TRIGGER '@itemdclick' called 310624 times, took 0.1402 msec average (0.0779 min, 8.5945 max), total: 43629.1383 msec
TRIGGER '@dclick' called 243136 times, took 0.2073 msec average (0.0581 min, 55.5806 max), total: 50449.8359 msec
TRIGGER '@spellsuccess' called 23517 times, took 0.1271 msec average (0.1072 min, 1.4358 max), total: 2989.7896 msec
TRIGGER '@spelleffect' called 22728 times, took 0.1257 msec average (0.0265 min, 6.3347 max), total: 2862.4682 msec
TRIGGER '@targon_char' called 175367 times, took 0.3297 msec average (0.0421 min, 20.2372 max), total: 57838.4906 msec
TRIGGER '@npcheargreeting' called 626 times, took 0.3056 msec average (0.2704 min, 0.5143 max), total: 191.5054 msec
TRIGGER '@npchearunknown' called 245 times, took 0.7259 msec average (0.6417 min, 2.0061 max), total: 177.8547 msec
TRIGGER '@dropon_self' called 12667 times, took 0.1891 msec average (0.1517 min, 0.6445 max), total: 2399.3283 msec
TRIGGER '@step' called 656 times, took 0.1768 msec average (0.0273 min, 0.6591 max), total: 116.1480 msec
TRIGGER '@hit' called 57609 times, took 0.1187 msec average (0.0271 min, 8.4601 max), total: 6841.5210 msec
TRIGGER '@npcseewantitem' called 19 times, took 0.1433 msec average (0.1329 min, 0.1620 max), total: 2.7267 msec
TRIGGER '@targon_ground' called 85 times, took 0.3182 msec average (0.0522 min, 0.4674 max), total: 27.0508 msec
TRIGGER '@targon_item' called 10 times, took 0.1707 msec average (0.0472 min, 0.3006 max), total: 1.7096 msec
TRIGGER '@userwarmode' called 7 times, took 0.1397 msec average (0.0863 min, 0.2073 max), total: 0.9784 msec
TRIGGER '@resourcefound' called 3 times, took 0.6253 msec average (0.5867 min, 0.6932 max), total: 1.8765 msec
TRIGGER '@damage' called 2 times, took 0.8563 msec average (0.8331 min, 0.8795 max), total: 1.7127 msec

[Image: 2hy9q0y.png]
(This post was last modified: 09-22-2012 05:45 PM by Lazarus.)
09-22-2012 05:43 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Still have Main Threads error :( [last profiles] - Lazarus - 09-22-2012 05:43 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)