Server restarts at random
#1

Restart the server. Depends it is not clear what, sometimes at night, with zero online is starting. It goes from 20 minutes to 3 hours, and then everything starts to work again. Restarts are accompanied here by such entries in the log:
PHP код:
[15:38:43] [debugSystem backtrace
[
15:38:43] [debug#0 0065e0f3 in _ZN10StackTraceC1EPv () from plugins/crashdetect.so 
[15:38:43] [debug#1 00655b61 in _ZN11crashdetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so 
[15:38:43] [debug#2 006569dc in _ZN11crashdetect18HandleReleaseErrorEiPv () from plugins/crashdetect.so 
[15:38:43] [debug#3 00656b23 in _ZN11crashdetect12DoAmxReleaseEiPv () from plugins/crashdetect.so 
[15:38:43] [debug#4 0065c255 in ?? () from plugins/crashdetect.so 
[15:38:43] [debug#5 00bb622d in amx_Release () from plugins/mysql.so 
[15:38:43] [debug#6 00bb72d9 in ProcessTick () from plugins/mysql.so 
[15:38:43] [debug#7 080c5df2 in ?? () from ./samp03svr 
[15:38:43] [debug#8 080b5bac in ?? () from ./samp03svr 
[15:38:43] [debug#9 080b1453 in ?? () from ./samp03svr 
[15:38:43] [debug#10 003d7ce6 in __libc_start_main () from /lib/libc.so.6 
[15:38:43] [debug#11 0804b521 in ?? () from ./samp03svr 
[15:43:04] [debugBad heap release detected
[
15:43:04] [debug]  mysql.so [00bb622dis releasing memory at 00a74080 which is out of heap 
In what could be the problem?
Reply
#2

Are you using the most updated version of a_mysql?
Reply
#3

If you're not using threaded queries, make sure that you FREE the result you've stored.
Reply
#4

Yes. I use a version of the P7 with the new a_mysql
Reply
#5

I'm sorry, but I do not really understand what it means to "threaded queries". Please write a simplified example that I understand what you're saying.
Reply
#6

I'm now sure that you do not use threaded queries, otherwise you'd know it. This tutorial pretty much explains it, but..

I guess you use an older version with no threaded queries. Do you use mysql_store_result function at all?
If you do, then the problem is what I said above.
Reply
#7

Yes, this function is used when loading certain systems through mysql_query_callback (), but after loading always used mysql_free_result ().

Will my problem replacing mysql_query_callback () on mysql_function_query ()?
Reply
#8

Did all the system boots through mysql_function_query (), but the error occurs again.
Reply
#9

up (5sim)
Reply
#10

The problem persists, need your help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)