Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
alcatras

Перестали работать задачи

Recommended Posts

По какой то причине перестали работать выполнение задач. 

Стояло выполнение задачи по cron. После пробовал запускать вручную и автоматически по трафику. Но задачи так и не выполняются, также на почту приходить начала эта ошибка, если выполнение задачи происходит по cron, до этого все работало нормально и тут резко перестало:

В чем может быть проблема?

Exception:
IPS\Db\Exception Object
(
    [query] => UPDATE `core_queue` core_queue SET `offset`=? WHERE id=?
    [binds] => Array
        (
            [0] => 0
            [1] => 12509
        )

    [message:protected] => MySQL server has gone away
    [string:Exception:private] =>
    [code:protected] => 2006
    [file:protected] => /home/users/n/nizhniy-shkaft/domains/domain/system/Db/Db.php
    [line:protected] => 631
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/users/n/nizhniy-shkaft/domains/domain/system/Db/Db.php
                    [line] => 1150
                    [function] => preparedQuery
                    [class] => IPS\_Db
                    [type] => ->
                    [args] => Array
                        (
                            [0] => /*IPS\_Task::runQueue:43*/ UPDATE `core_queue` core_queue SET `offset`=? WHERE id=?
                            [1] => Array
                                (
                                    [0] => 0
                                    [1] => 12509
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /home/users/n/nizhniy-shkaft/domains/domain/system/Task/Task.php
                    [line] => 69
                    [function] => update
                    [class] => IPS\_Db
                    [type] => ->
                    [args] => Array
                        (
                            [0] => `core_queue` core_queue
                            [1] => `offset`=?
                            [2] => WHERE id=?
                        )

                )

            [2] => Array
                (
                    [file] => /home/users/n/nizhniy-shkaft/domains/domain/applications/core/tasks/queue.php
                    [line] => 43
                    [function] => runQueue
                    [class] => IPS\_Task
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [3] => Array
                (
                    [file] => /home/users/n/nizhniy-shkaft/domains/domain/system/Task/Task.php
                    [line] => 356
                    [function] => IPS\core\tasks\{closure}
                    [class] => IPS\core\tasks\_queue
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [4] => Array
                (
                    [file] => /home/users/n/nizhniy-shkaft/domains/domain/applications/core/tasks/queue.php
                    [line] => 55
                    [function] => runUntilTimeout
                    [class] => IPS\_Task
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Closure Object
                                (
                                    [this] => IPS\core\tasks\queue Object
                                        (
                                            [caches:protected] => Array
                                                (
                                                )

                                            [_data:protected] => Array
                                                (
                                                    [id] => 5
                                                    [app] => core
                                                    [key] => queue
                                                    [frequency] => P0Y0M0DT0H1M0S
                                                    [next_run] => 1583475938
                                                    [running] => 1
                                                    [enabled] => 1
                                                    [plugin] =>
                                                    [lock_count] => 0
                                                    [last_run] => 1583475930
                                                )

                                            [_new:protected] =>
                                            [changed] => Array
                                                (
                                                )

                                            [skipCloneDuplication] =>
                                        )

                                )

                        )

                )

            [5] => Array
                (
                    [file] => /home/users/n/nizhniy-shkaft/domains/domain/system/Task/Task.php
                    [line] => 255
                    [function] => execute
                    [class] => IPS\core\tasks\_queue
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [6] => Array
                (
                    [file] => /home/users/n/nizhniy-shkaft/domains/domain/system/Task/Task.php
                    [line] => 224
                    [function] => run
                    [class] => IPS\_Task
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [7] => Array
                (
                    [file] => /home/users/n/nizhniy-shkaft/domains/domain/applications/core/interface/task/task.php
                    [line] => 63
                    [function] => runAndLog
                    [class] => IPS\_Task
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] =>
)

 

Share this post


Link to post
Share on other sites
2 часа назад, alcatras сказал:

[message:protected] => MySQL server has gone away

Вот ошибка

Share this post


Link to post
Share on other sites
17 минут назад, newbie сказал:

Вот ошибка

тоесть проблема со стороны хостинга? Из-за этого фоновые процессы просто стоят на месте

Edited by alcatras

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...