Вот более полная картина из debug.log после рестарта UTM:
Код: Выделить всё
Info : Jun 01 10:50:17 UTMCtx: License verification for <core:5.1.10-011-bsd>
Warn : Jun 01 10:50:17 UTMCtx: License verification failed: no public key found
?Debug : Jun 01 10:50:17 DBCtx: SQL query: INSERT INTO invoice_entry(invoice_id,name,slink_id,discount_period_id,date,qnt,base
_cost,sum_cost,tax_amount) VALUES('3808','п⌠п╬я─п╬пЄя│п╨п╬п╧ п╡я┘п╬пЄя▐я┴п╦п╧[1000]','1','2','1117594217','0','0.09','0','0')
?Debug : Jun 01 10:50:17 DBCtx: SQL query: INSERT INTO invoice_entry(invoice_id,name,slink_id,discount_period_id,date,qnt,base
_cost,sum_cost,tax_amount) VALUES('3808','п▓пҐя┐я┌я─п╦я│п╣я┌п╣п╡п╬п╧ п╡я┘п╬пЄя▐я┴п╦п╧[2000]','1','2','1117594217','0','0.09','
0','0')
?Debug : Jun 01 10:50:17 DBCtx: SQL query: INSERT INTO invoice_entry(invoice_id,name,slink_id,discount_period_id,date,qnt,base
_cost,sum_cost,tax_amount) VALUES('3808','п▓пҐп╣я┬пҐп╦п╧ п╡я┘п╬пЄя▐я┴п╦п╧[10]','1','2','1117594217','0','0','0','0')
?Debug : Jun 01 10:50:17 UTM5 DBA: Generating invoices finished. Total time:0 sec. Total slinks:1
?Debug : Jun 01 10:50:17 DBCtx: SQL query: INSERT INTO discount_periods(start_date,end_date,periodic_type,canonical_len, custo
m_duration) VALUES('1117555199','1117641599','1','86400','0')
?Debug : Jun 01 10:50:17 DBCtx: MySQL query failed. Trying to reconnect: 0
?Debug : Jun 01 10:50:19 DBCtx: MySQL query failed. Trying to reconnect: 1
?Debug : Jun 01 10:50:21 DBCtx: MySQL query failed. Trying to reconnect: 2
?Debug : Jun 01 10:50:23 DBCtx: MySQL query failed. Trying to reconnect: 3
?Debug : Jun 01 10:50:25 DBCtx: MySQL query failed. Trying to reconnect: 4
ERROR : Jun 01 10:50:27 DBASQLError: MySQL query failed:
?Debug : Jun 01 10:50:27 DBA:Ctx: Pushing back free context
-Stats : Jun 01 10:50:27 UTM5 DBA: Stats: Uptime: 00:00:10. Events: 0; Errors: 0
?Debug : Jun 01 10:50:27 BusPeriodic: real_rehash start
?Debug : Jun 01 10:50:27 BusPeriodic: real_rehash finished
?Debug : Jun 01 10:50:27 BusPeriodic: 10 events remain
?Debug : Jun 01 10:50:27 BusPeriodic: first event time_t 1117555199
?Debug : Jun 01 10:50:27 BusPeriodic: i am going to wait for -39028 sec...
?Debug : Jun 01 10:50:27 BusPeriodic: Wait result:0
?Debug : Jun 01 10:50:27 BusPeriodic: periodic type close4multi_link for 2
?Debug : Jun 01 10:50:27 BusPeriodic: Periodic::func_close_multi called for period_id:2
?Debug : Jun 01 10:50:27 BusPeriodic: Slink id:1 for period_id:2
?Debug : Jun 01 10:50:27 DBA:Ctx: Looking for free context
?Debug : Jun 01 10:50:27 UTM5 DBA: close_discount_period4multi_link account:1
?Debug : Jun 01 10:50:27 UTM5 DBA: close_discount_period4multi_link slink:1
?Debug : Jun 01 10:50:27 UTM5 DBA: Generating invoices started. Total accounts:1 Total slinks:1
?Debug : Jun 01 10:50:27 UTM5 DBA: Generating invoice for slink:1 discount_period:2
?Debug : Jun 01 10:50:27 UTM5 DBA: Generating invoice for account_id:1 service_link:1 service_type:3
?Debug : Jun 01 10:50:27 UTM5 DBA: Generating invoice as st_periodic
?Debug : Jun 01 10:50:27 DBCtx: SQL query: UPDATE dtagg_periodic SET discounted='0.000000',discounted_without_tax='0.000000' W
HERE id='1'
?Debug : Jun 01 10:50:27 UTM5 DBA: Generating invoice as st_iptraffic
?Debug : Jun 01 10:50:27 DBCtx: SQL query: UPDATE dtagg_iptraffic SET discounted='0.000000',discounted_without_tax='0.000000',
bytes='0.000000' WHERE id='1'
?Debug : Jun 01 10:50:27 DBCtx: SQL query: UPDATE dtagg_iptraffic SET discounted='0.000000',discounted_without_tax='0.000000',
bytes='0.000000' WHERE id='2'
?Debug : Jun 01 10:50:27 DBCtx: SQL query: UPDATE dtagg_iptraffic SET discounted='0.000000',discounted_without_tax='0.000000',
bytes='0.000000' WHERE id='3'
?Debug : Jun 01 10:50:27 DBCtx: SQL SELECT query: SELECT t_class_name,graph_color,is_display,is_fill,time_range_id,dont_save f
rom t_class where id='10'
?Debug : Jun 01 10:50:27 DBCtx: SQL SELECT query: SELECT t_class_name,graph_color,is_display,is_fill,time_range_id,dont_save f
rom t_class where id='2000'
?Debug : Jun 01 10:50:27 DBCtx: SQL SELECT query: SELECT t_class_name,graph_color,is_display,is_fill,time_range_id,dont_save f
rom t_class where id='1000'
?Debug : Jun 01 10:50:27 DBCtx: SQL query: INSERT INTO invoices(invoice_date,uid,account_id) VALUES('1117594227','1','1')
?Debug : Jun 01 10:50:27 DBCtx: SQL query: INSERT INTO invoice_entry(invoice_id,name,slink_id,discount_period_id,date,qnt,base
_cost,sum_cost,tax_amount) VALUES('3809','п≤пҐя┌п╣я─пҐп╣я┌','1','2','1117594227','1','1000','0','0')
?Debug : Jun 01 10:50:27 DBCtx: SQL query: INSERT INTO invoice_entry(invoice_id,name,slink_id,discount_period_id,date,qnt,base
_cost,sum_cost,tax_amount) VALUES('3809','п⌠п╬я─п╬пЄя│п╨п╬п╧ п╡я┘п╬пЄя▐я┴п╦п╧[1000]','1','2','1117594227','0','0.09','0','0')
?Debug : Jun 01 10:50:27 DBCtx: SQL query: INSERT INTO invoice_entry(invoice_id,name,slink_id,discount_period_id,date,qnt,base
_cost,sum_cost,tax_amount) VALUES('3809','п▓пҐя┐я┌я─п╦я│п╣я┌п╣п╡п╬п╧ п╡я┘п╬пЄя▐я┴п╦п╧[2000]','1','2','1117594227','0','0.09','
0','0')
?Debug : Jun 01 10:50:27 DBCtx: SQL query: INSERT INTO invoice_entry(invoice_id,name,slink_id,discount_period_id,date,qnt,base
_cost,sum_cost,tax_amount) VALUES('3809','п▓пҐп╣я┬пҐп╦п╧ п╡я┘п╬пЄя▐я┴п╦п╧[10]','1','2','1117594227','0','0','0','0')
?Debug : Jun 01 10:50:27 UTM5 DBA: Generating invoices finished. Total time:0 sec. Total slinks:1
?Debug : Jun 01 10:50:27 DBCtx: SQL query: INSERT INTO discount_periods(start_date,end_date,periodic_type,canonical_len, custo
m_duration) VALUES('1117555199','1117641599','1','86400','0')
?Debug : Jun 01 10:50:27 DBCtx: MySQL query failed. Trying to reconnect: 0
?Debug : Jun 01 10:50:29 DBCtx: MySQL query failed. Trying to reconnect: 1
?Debug : Jun 01 10:50:31 DBCtx: MySQL query failed. Trying to reconnect: 2
?Debug : Jun 01 10:50:33 DBCtx: MySQL query failed. Trying to reconnect: 3
?Debug : Jun 01 10:50:35 DBCtx: MySQL query failed. Trying to reconnect: 4
ERROR : Jun 01 10:50:37 DBASQLError: MySQL query failed:
?Debug : Jun 01 10:50:37 DBA:Ctx: Pushing back free context
...