概率性1panel-agent.service异常重启,平均每小时重启4次
1Panel 版本:v2.0.17
操作系统(设备): Ubuntu 24.04.2 LTS (X86)
关键截图:
日志:
[2026-01-30 10:02:13] [DEBUG] [tx_1769738533036150847] tx start
github.com/1Panel-dev/1Panel/agent/utils/common.initializeTxWatch.func1/sqlite_tx_logs.go:22
github.com/1Panel-dev/1Panel/agent/app/repo.(*CronjobRepo).StartRecords/cronjob.go:153
github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).HandleJob/cronjob_helper.go:37
github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).AddCronJob.func1/cronjob.go:793
github.com/1Panel-dev/1Panel/agent/cron.Run.DelayIfStillRunning.func4.1/chain.go:71
[2026-01-30 10:02:13] [DEBUG] [tx_1769738533036015332] tx commit! time: 5.917866ms
[2026-01-30 10:02:13] [DEBUG] [tx_1769738533036107275] tx commit! time: 23.059288ms
[2026-01-30 10:02:13] [DEBUG] [tx_1769738533036150847] tx commit! time: 38.417709ms
fatal error: concurrent map writes
goroutine 9190 [running]:
internal/runtime/maps.fatal({0x2c17aed?, 0x31dee80?})
runtime/panic.go:1058 +0x18
internal/runtime/maps.(*Map).Delete(0xc0008adad0, 0x281a9a0, 0xc000e8fa88)
internal/runtime/maps/map.go:648 +0x4c
github.com/1Panel-dev/1Panel/agent/app/task.(*SubTask).Execute(0xc00147c420)
github.com/1Panel-dev/1Panel/agent/app/task/task.go:253 +0x5d3
github.com/1Panel-dev/1Panel/agent/app/task.(*Task).Execute(0xc0015621e0)
github.com/1Panel-dev/1Panel/agent/app/task/task.go:280 +0x185
github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).HandleJob.func2()
github.com/1Panel-dev/1Panel/agent/app/service/cronjob_helper.go:77 +0x3e
created by github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).HandleJob in goroutine 8896
github.com/1Panel-dev/1Panel/agent/app/service/cronjob_helper.go:76 +0x7cb
goroutine 1 [IO wait, 9 minutes]:
internal/poll.runtime_pollWait(0x76a8d67c6270, 0x72)
runtime/netpoll.go:351 +0x85
internal/poll.(*pollDesc).wait(0xc00069dd00?, 0x20?, 0x0)
internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.(*pollDesc).waitRead(…)
internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Accept(0xc00069dd00)
internal/poll/fd_unix.go:620 +0x295
net.(*netFD).accept(0xc00069dd00)
net/fd_unix.go:172 +0x29
net.(*UnixListener).accept(0xc000dc5840?)
net/unixsock_posix.go:172 +0x16
net.(*UnixListener).Accept(0xc00100c270)
net/unixsock.go:260 +0x30
net/http.(*Server).Serve(0xc000b68c00, {0x31da868, 0xc00100c270})
net/http/server.go:3424 +0x30c
github.com/1Panel-dev/1Panel/agent/server.Start()
github.com/1Panel-dev/1Panel/agent/server/server.go:72 +0x945
github.com/1Panel-dev/1Panel/agent/cmd/server/cmd.init.func1(0xc00099cd00?, {0x2be26f7?, 0x4?, 0x2be269f?})
github.com/1Panel-dev/1Panel/agent/cmd/server/cmd/root.go:11 +0xf
github.com/spf13/cobra.(*Command).execute(0x489c6e0, {0xc00004e0b0, 0x0, 0x0})
github.com/spf13/cobra@v1.10.1/command.go:1015 +0xaaa
github.com/spf13/cobra.(*Command).ExecuteC(0x489c6e0)
github.com/spf13/cobra@v1.10.1/command.go:1148 +0x46f
github.com/spf13/cobra.(*Command).Execute(0x0?)
github.com/spf13/cobra@v1.10.1/command.go:1071 +0x13
main.main()
./main.go:37 +0x1a
goroutine 6 [select, 25 minutes]:
github.com/baidubce/bce-sdk-go/util/log.NewLogger.func1()
github.com/baidubce/bce-sdk-go@v0.9.254/util/log/logger.go:375 +0xa5
created by github.com/baidubce/bce-sdk-go/util/log.NewLogger in goroutine 1
github.com/baidubce/bce-sdk-go@v0.9.254/util/log/logger.go:368 +0x116
goroutine 11 [select, 1 minutes]:
github.com/qiniu/go-sdk/v7/storagev2/internal/uplog.init.0.func1()
github.com/qiniu/go-sdk/v7@v7.21.1/storagev2/internal/uplog/uplog_buffer.go:52 +0x99
created by github.com/qiniu/go-sdk/v7/storagev2/internal/uplog.init.0 in goroutine 1
github.com/qiniu/go-sdk/v7@v7.21.1/storagev2/internal/uplog/uplog_buffer.go:50 +0x98
goroutine 26 [select, 10 minutes]:
database/sql.(*DB).connectionCleaner(0xc000843450, 0x0?)
database/sql/sql.go:1104 +0x9c
created by database/sql.(*DB).startCleanerLocked in goroutine 1
database/sql/sql.go:1091 +0x105
goroutine 25 [select, 25 minutes]:
database/sql.(*DB).connectionOpener(0xc000843450, {0x31df2a8, 0xc0008164b0})
database/sql/sql.go:1261 +0x87
created by database/sql.OpenDB in goroutine 1
database/sql/sql.go:841 +0x130
goroutine 24 [select, 10 minutes]:
database/sql.(*DB).connectionCleaner(0xc000842ea0, 0xc0000f0cb0?)
database/sql/sql.go:1104 +0x9c
created by database/sql.(*DB).startCleanerLocked in goroutine 1
database/sql/sql.go:1091 +0x105
goroutine 23 [select, 25 minutes]:
database/sql.(*DB).connectionOpener(0xc000842ea0, {0x31df2a8, 0xc0008e7680})
database/sql/sql.go:1261 +0x87
created by database/sql.OpenDB in goroutine 1
database/sql/sql.go:841 +0x130
goroutine 8782 [select]:
github.com/1Panel-dev/1Panel/agent/app/task.(*SubTask).Execute(0xc001800b40)
github.com/1Panel-dev/1Panel/agent/app/task/task.go:241 +0x305
github.com/1Panel-dev/1Panel/agent/app/task.(*Task).Execute(0xc0016b8960)
github.com/1Panel-dev/1Panel/agent/app/task/task.go:280 +0x185
github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).HandleJob.func2()
github.com/1Panel-dev/1Panel/agent/app/service/cronjob_helper.go:77 +0x3e
created by github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).HandleJob in goroutine 8894
github.com/1Panel-dev/1Panel/agent/app/service/cronjob_helper.go:76 +0x7cb
goroutine 22 [select, 10 minutes]:
database/sql.(*DB).connectionCleaner(0xc0008428f0, 0x0?)
database/sql/sql.go:1104 +0x9c
created by database/sql.(*DB).startCleanerLocked in goroutine 1
database/sql/sql.go:1091 +0x105
goroutine 21 [select, 25 minutes]:
database/sql.(*DB).connectionOpener(0xc0008428f0, {0x31df2a8, 0xc0008e6be0})
database/sql/sql.go:1261 +0x87
created by database/sql.OpenDB in goroutine 1
database/sql/sql.go:841 +0x130
goroutine 20 [select, 10 minutes]:
database/sql.(*DB).connectionCleaner(0xc000842340, 0xc000b53420?)
database/sql/sql.go:1104 +0x9c
created by database/sql.(*DB).startCleanerLocked in goroutine 1
database/sql/sql.go:1091 +0x105
goroutine 98 [select, 25 minutes]:
database/sql.(*DB).connectionOpener(0xc000842340, {0x31df2a8, 0xc000816230})
database/sql/sql.go:1261 +0x87
created by database/sql.OpenDB in goroutine 1
database/sql/sql.go:841 +0x130
goroutine 97 [select, 25 minutes]:
github.com/1Panel-dev/1Panel/agent/log.(*AsynchronousWriter).writer(0xc0006160e0)
github.com/1Panel-dev/1Panel/agent/log/writer.go:177 +0xcb
created by github.com/1Panel-dev/1Panel/agent/log.NewWriterFromConfig in goroutine 1
github.com/1Panel-dev/1Panel/agent/log/writer.go:166 +0x8bc
goroutine 84 [select, 25 minutes]:
github.com/robfig/cron/v3.(*Cron).run(0xc000b6bd60)
github.com/robfig/cron/v3@v3.0.1/cron.go:263 +0xb3c
created by github.com/robfig/cron/v3.(*Cron).Start in goroutine 1
github.com/robfig/cron/v3@v3.0.1/cron.go:222 +0xb6
goroutine 27 [select, 25 minutes]:
database/sql.(*DB).connectionOpener(0xc000843a00, {0x31df2a8, 0xc000816f50})
database/sql/sql.go:1261 +0x87
created by database/sql.OpenDB in goroutine 1
database/sql/sql.go:841 +0x130
goroutine 28 [select, 10 minutes]:
database/sql.(*DB).connectionCleaner(0xc000843a00, 0x0?)
database/sql/sql.go:1104 +0x9c
created by database/sql.(*DB).startCleanerLocked in goroutine 1
database/sql/sql.go:1091 +0x105
goroutine 29 [select, 25 minutes]:
database/sql.(*DB).connectionOpener(0xc000188d00, {0x31df2a8, 0xc0008179f0})
database/sql/sql.go:1261 +0x87
created by database/sql.OpenDB in goroutine 1
database/sql/sql.go:841 +0x130
goroutine 30 [select, 10 minutes]:
database/sql.(*DB).connectionCleaner(0xc000188d00, 0xc0000f0bd0?)
database/sql/sql.go:1104 +0x9c
created by database/sql.(*DB).startCleanerLocked in goroutine 1
database/sql/sql.go:1091 +0x105
goroutine 85 [select, 6 minutes]:
github.com/patrickmn/go-cache.(*janitor).Run(0xc000e19aa0, 0xc00080d340)
github.com/patrickmn/go-cache@v2.1.0+incompatible/cache.go:1079 +0x7b
created by github.com/patrickmn/go-cache.runJanitor in goroutine 1
github.com/patrickmn/go-cache@v2.1.0+incompatible/cache.go:1099 +0xdb
goroutine 132 [select, 4 minutes]:
github.com/1Panel-dev/1Panel/agent/app/service.(*MonitorService).saveIODataToDB(0xc000f065d0, {0x31df2a8, 0xc00089a0f0}, 0x4072c00000000000)
github.com/1Panel-dev/1Panel/agent/app/service/monitor.go:374 +0x215
created by github.com/1Panel-dev/1Panel/agent/app/service.StartMonitor in goroutine 1
github.com/1Panel-dev/1Panel/agent/app/service/monitor.go:588 +0x245
goroutine 133 [select, 4 minutes]:
github.com/1Panel-dev/1Panel/agent/app/service.(*MonitorService).saveNetDataToDB(0xc000f065d0, {0x31df2a8, 0xc00089a0f0}, 0x4072c00000000000)
github.com/1Panel-dev/1Panel/agent/app/service/monitor.go:431 +0x219
created by github.com/1Panel-dev/1Panel/agent/app/service.StartMonitor in goroutine 1
github.com/1Panel-dev/1Panel/agent/app/service/monitor.go:589 +0x2b7
goroutine 9196 [select]:
github.com/1Panel-dev/1Panel/agent/app/task.(*SubTask).Execute(0xc00147cde0)
github.com/1Panel-dev/1Panel/agent/app/task/task.go:241 +0x305
github.com/1Panel-dev/1Panel/agent/app/task.(*Task).Execute(0xc0015628c0)
github.com/1Panel-dev/1Panel/agent/app/task/task.go:280 +0x185
github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).HandleJob.func2()
github.com/1Panel-dev/1Panel/agent/app/service/cronjob_helper.go:77 +0x3e
created by github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).HandleJob in goroutine 9155
github.com/1Panel-dev/1Panel/agent/app/service/cronjob_helper.go:76 +0x7cb
goroutine 9219 [syscall]:
syscall.Syscall6(0xf7, 0x3, 0x23, 0xc000c2de40, 0x4, 0xc000856000, 0x0)
syscall/syscall_linux.go:95 +0x39
internal/syscall/unix.Waitid(0x0?, 0x0?, 0xc000c2de50?, 0x4f8412?, 0x76a8d67c66d0?)
internal/syscall/unix/waitid_linux.go:18 +0x39
os.(*Process).pidfdWait.func1(…)
os/pidfd_linux.go:106
os.ignoringEINTR(…)
os/file_posix.go:251
os.(*Process).pidfdWait(0x5a71f9?)
os/pidfd_linux.go:105 +0x209
os.(*Process).wait(0xc001c8a000?)
os/exec_unix.go:27 +0x25
os.(*Process).Wait(…)
os/exec.go:358
os/exec.(*Cmd).Wait(0xc0001c7500)
os/exec/exec.go:922 +0x45
github.com/1Panel-dev/1Panel/agent/utils/cmd.(*CommandHelper).run.func1()
github.com/1Panel-dev/1Panel/agent/utils/cmd/cmdx.go:161 +0x25
created by github.com/1Panel-dev/1Panel/agent/utils/cmd.(*CommandHelper).run in goroutine 9200
github.com/1Panel-dev/1Panel/agent/utils/cmd/cmdx.go:160 +0x85d
goroutine 127 [select, 1 minutes]:
github.com/robfig/cron/v3.(*Cron).run(0xc000f141e0)
github.com/robfig/cron/v3@v3.0.1/cron.go:263 +0xb3c
created by github.com/robfig/cron/v3.(*Cron).Start in goroutine 1
github.com/robfig/cron/v3@v3.0.1/cron.go:222 +0xb6
goroutine 219 [select, 25 minutes]:
database/sql.(*DB).connectionOpener(0xc000bbdc70, {0x31df2a8, 0xc000a8b2c0})
database/sql/sql.go:1261 +0x87
created by database/sql.OpenDB in goroutine 1
database/sql/sql.go:841 +0x130
goroutine 220 [select, 10 minutes]:
database/sql.(*DB).connectionCleaner(0xc000bbdc70, 0x8?)
database/sql/sql.go:1104 +0x9c
created by database/sql.(*DB).startCleanerLocked in goroutine 1
database/sql/sql.go:1091 +0x105
goroutine 9170 [select]:
github.com/1Panel-dev/1Panel/agent/utils/cmd.(*CommandHelper).run(0xc001800ae0, {0x2bea038?, 0x6?}, {0xc000a4ed88?, 0x5?, 0x5?})
github.com/1Panel-dev/1Panel/agent/utils/cmd/cmdx.go:163 +0x8d4
github.com/1Panel-dev/1Panel/agent/utils/cmd.(*CommandHelper).Run(...)
github.com/1Panel-dev/1Panel/agent/utils/cmd/cmdx.go:63
github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).handleShell.func1(0xc0014cf7d0?)
github.com/1Panel-dev/1Panel/agent/app/service/cronjob_helper.go:161 +0x3f2
github.com/1Panel-dev/1Panel/agent/app/task.(*SubTask).Execute.func1()
github.com/1Panel-dev/1Panel/agent/app/task/task.go:238 +0x27
created by github.com/1Panel-dev/1Panel/agent/app/task.(*SubTask).Execute in goroutine 8782
github.com/1Panel-dev/1Panel/agent/app/task/task.go:237 +0x289
goroutine 9236 [select]:
os/exec.(*Cmd).watchCtx(0xc0005da780, 0xc0017b08c0)
os/exec/exec.go:789 +0xb2
created by os/exec.(*Cmd).Start in goroutine 9234
os/exec/exec.go:775 +0x8f3
goroutine 8410 [select, 3 minutes]:
os/exec.(*Cmd).watchCtx(0xc001028780, 0xc001985500)
os/exec/exec.go:789 +0xb2
created by os/exec.(*Cmd).Start in goroutine 8408
os/exec/exec.go:775 +0x8f3
goroutine 8408 [select, 3 minutes]:
github.com/1Panel-dev/1Panel/agent/utils/cmd.(*CommandHelper).run(0xc0019a93e0, {0x2bea038?, 0x6?}, {0xc000812d88?, 0x5?, 0x5?})
github.com/1Panel-dev/1Panel/agent/utils/cmd/cmdx.go:163 +0x8d4
github.com/1Panel-dev/1Panel/agent/utils/cmd.(*CommandHelper).Run(...)
github.com/1Panel-dev/1Panel/agent/utils/cmd/cmdx.go:63
github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).handleShell.func1(0xc00113e7d0?)
github.com/1Panel-dev/1Panel/agent/app/service/cronjob_helper.go:161 +0x3f2
github.com/1Panel-dev/1Panel/agent/app/task.(*SubTask).Execute.func1()
github.com/1Panel-dev/1Panel/agent/app/task/task.go:238 +0x27
created by github.com/1Panel-dev/1Panel/agent/app/task.(*SubTask).Execute in goroutine 8404
github.com/1Panel-dev/1Panel/agent/app/task/task.go:237 +0x289
goroutine 8411 [syscall, 3 minutes]:
syscall.Syscall6(0xf7, 0x3, 0x16, 0xc0020a5e40, 0x4, 0xc000d990e0, 0x0)
syscall/syscall_linux.go:95 +0x39
internal/syscall/unix.Waitid(0x76a8d66c0148?, 0x76a91d2908a0?, 0x60?, 0xc000580808?, 0xc001102360?)
internal/syscall/unix/waitid_linux.go:18 +0x39
os.(*Process).pidfdWait.func1(…)
os/pidfd_linux.go:106
os.ignoringEINTR(…)
os/file_posix.go:251
os.(*Process).pidfdWait(0x5a71f9?)
os/pidfd_linux.go:105 +0x209
os.(*Process).wait(0xc0012b1560?)
os/exec_unix.go:27 +0x25
os.(*Process).Wait(…)
os/exec.go:358
os/exec.(*Cmd).Wait(0xc001028780)
os/exec/exec.go:922 +0x45
github.com/1Panel-dev/1Panel/agent/utils/cmd.(*CommandHelper).run.func1()
github.com/1Panel-dev/1Panel/agent/utils/cmd/cmdx.go:161 +0x25
created by github.com/1Panel-dev/1Panel/agent/utils/cmd.(*CommandHelper).run in goroutine 8408
github.com/1Panel-dev/1Panel/agent/utils/cmd/cmdx.go:160 +0x85d
goroutine 9160 [select]:
github.com/1Panel-dev/1Panel/agent/app/task.(*SubTask).Execute(0xc001780120)
github.com/1Panel-dev/1Panel/agent/app/task/task.go:241 +0x305
github.com/1Panel-dev/1Panel/agent/app/task.(*Task).Execute(0xc001466000)
github.com/1Panel-dev/1Panel/agent/app/task/task.go:280 +0x185
github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).HandleJob.func2()
github.com/1Panel-dev/1Panel/agent/app/service/cronjob_helper.go:77 +0x3e
created by github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).HandleJob in goroutine 8895
github.com/1Panel-dev/1Panel/agent/app/service/cronjob_helper.go:76 +0x7cb
goroutine 9218 [select]:
os/exec.(*Cmd).watchCtx(0xc0001c7500, 0xc000fbed20)
os/exec/exec.go:789 +0xb2
created by os/exec.(*Cmd).Start in goroutine 9200
os/exec/exec.go:775 +0x8f3
goroutine 8409 [IO wait, 1 minutes]:
internal/poll.runtime_pollWait(0x76a8d67c6040, 0x72)
runtime/netpoll.go:351 +0x85
internal/poll.(*pollDesc).wait(0xc0019a9d40?, 0xc00116a000?, 0x1)
internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.(*pollDesc).waitRead(…)
internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc0019a9d40, {0xc00116a000, 0x8000, 0x8000})
internal/poll/fd_unix.go:165 +0x27a
os.(*File).read(…)
os/file_posix.go:29
os.(*File).Read(0xc00052c660, {0xc00116a000?, 0x4e?, 0x8?})
os/file.go:124 +0x4f
io.copyBuffer({0x31be4c0, 0xc001bb4270}, {0x31bbd40, 0xc001e28438}, {0x0, 0x0, 0x0})
io/io.go:429 +0x190
io.Copy(…)
io/io.go:388
os.genericWriteTo(0xc00052c660?, {0x31be4c0, 0xc001bb4270})
os/file.go:275 +0x4f
os.(*File).WriteTo(0xc00052c660, {0x31be4c0, 0xc001bb4270})
os/file.go:253 +0x9c
io.copyBuffer({0x31be4c0, 0xc001bb4270}, {0x31bbc20, 0xc00052c660}, {0x0, 0x0, 0x0})
io/io.go:411 +0x9d
io.Copy(…)
io/io.go:388
os/exec.(*Cmd).writerDescriptor.func1()
os/exec/exec.go:596 +0x34
os/exec.(*Cmd).Start.func2(0xc001490d70?)
os/exec/exec.go:749 +0x2c
created by os/exec.(*Cmd).Start in goroutine 8408
os/exec/exec.go:748 +0x92b
goroutine 9037 [runnable]:
reflect.Value.Elem({0x2622560?, 0xc0007a0080?, 0x16?})
reflect/value.go:1218 +0x1a5
reflect.Indirect(…)
reflect/value.go:2971
gorm.io/gorm.(*DB).Save(0x31dee80?, {0x2622560, 0xc0007a0080})
gorm.io/gorm@v1.30.0/finisher_api.go:79 +0xf4
github.com/1Panel-dev/1Panel/agent/app/repo.TaskRepo.Update({}, {0x31dee80, 0x48eeea0}, 0xc000fa4300)
github.com/1Panel-dev/1Panel/agent/app/repo/task.go:109 +0x85
github.com/1Panel-dev/1Panel/agent/app/task.(*Task).updateTask(...)
github.com/1Panel-dev/1Panel/agent/app/task/task.go:268
github.com/1Panel-dev/1Panel/agent/app/task.(*Task).Execute(0xc001466280)
github.com/1Panel-dev/1Panel/agent/app/task/task.go:303 +0x41d
github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).HandleJob.func2()
github.com/1Panel-dev/1Panel/agent/app/service/cronjob_helper.go:77 +0x3e
created by github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).HandleJob in goroutine 9154
github.com/1Panel-dev/1Panel/agent/app/service/cronjob_helper.go:76 +0x7cb
goroutine 8404 [select, 3 minutes]:
github.com/1Panel-dev/1Panel/agent/app/task.(*SubTask).Execute(0xc0019a9440)
github.com/1Panel-dev/1Panel/agent/app/task/task.go:241 +0x305
github.com/1Panel-dev/1Panel/agent/app/task.(*Task).Execute(0xc000169b80)
github.com/1Panel-dev/1Panel/agent/app/task/task.go:280 +0x185
github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).HandleJob.func2()
github.com/1Panel-dev/1Panel/agent/app/service/cronjob_helper.go:77 +0x3e
created by github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).HandleJob in goroutine 8375
github.com/1Panel-dev/1Panel/agent/app/service/cronjob_helper.go:76 +0x7cb
goroutine 9237 [syscall]:
syscall.Syscall6(0xf7, 0x3, 0x24, 0xc000f2c640, 0x4, 0xc001612ab0, 0x0)
syscall/syscall_linux.go:95 +0x39
internal/syscall/unix.Waitid(0x0?, 0x0?, 0xc000f2c650?, 0x4f8412?, 0x76a8d67c6158?)
internal/syscall/unix/waitid_linux.go:18 +0x39
os.(*Process).pidfdWait.func1(…)
os/pidfd_linux.go:106
os.ignoringEINTR(…)
os/file_posix.go:251
os.(*Process).pidfdWait(0x31bd020?)
os/pidfd_linux.go:105 +0x209
os.(*Process).wait(0xc00000ec30?)
os/exec_unix.go:27 +0x25
os.(*Process).Wait(…)
os/exec.go:358
os/exec.(*Cmd).Wait(0xc0005da780)
os/exec/exec.go:922 +0x45
github.com/1Panel-dev/1Panel/agent/utils/cmd.(*CommandHelper).run.func1()
github.com/1Panel-dev/1Panel/agent/utils/cmd/cmdx.go:161 +0x25
created by github.com/1Panel-dev/1Panel/agent/utils/cmd.(*CommandHelper).run in goroutine 9234
github.com/1Panel-dev/1Panel/agent/utils/cmd/cmdx.go:160 +0x85d
goroutine 9111 [runnable]:
os/exec.(*Cmd).watchCtx(0xc000578000, 0xc0017b0150)
os/exec/exec.go:789 +0xb2
created by os/exec.(*Cmd).Start in goroutine 9164
os/exec/exec.go:775 +0x8f3
goroutine 9171 [IO wait]:
internal/poll.runtime_pollWait(0x76a8d67c66d0, 0x72)
runtime/netpoll.go:351 +0x85
internal/poll.(*pollDesc).wait(0xc00196e8a0?, 0xc00051c000?, 0x1)
internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.(*pollDesc).waitRead(…)
internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc00196e8a0, {0xc00051c000, 0x8000, 0x8000})
internal/poll/fd_unix.go:165 +0x27a
os.(*File).read(…)
os/file_posix.go:29
os.(*File).Read(0xc000dd6188, {0xc00051c000?, 0x47377f?, 0x8?})
os/file.go:124 +0x4f
io.copyBuffer({0x31be4c0, 0xc001810e10}, {0x31bbd40, 0xc001906010}, {0x0, 0x0, 0x0})
io/io.go:429 +0x190
io.Copy(…)
io/io.go:388
os.genericWriteTo(0xc000dd6188?, {0x31be4c0, 0xc001810e10})
os/file.go:275 +0x4f
os.(*File).WriteTo(0xc000dd6188, {0x31be4c0, 0xc001810e10})
os/file.go:253 +0x9c
io.copyBuffer({0x31be4c0, 0xc001810e10}, {0x31bbc20, 0xc000dd6188}, {0x0, 0x0, 0x0})
io/io.go:411 +0x9d
io.Copy(…)
io/io.go:388
os/exec.(*Cmd).writerDescriptor.func1()
os/exec/exec.go:596 +0x34
os/exec.(*Cmd).Start.func2(0xc0016d3d00?)
os/exec/exec.go:749 +0x2c
created by os/exec.(*Cmd).Start in goroutine 9170
os/exec/exec.go:748 +0x92b
goroutine 9235 [IO wait]:
internal/poll.runtime_pollWait(0x76a8d67c6388, 0x72)
runtime/netpoll.go:351 +0x85
internal/poll.(*pollDesc).wait(0xc001d82ae0?, 0xc000ecc000?, 0x1)
internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.(*pollDesc).waitRead(…)
internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc001d82ae0, {0xc000ecc000, 0x8000, 0x8000})
internal/poll/fd_unix.go:165 +0x27a
os.(*File).read(…)
os/file_posix.go:29
os.(*File).Read(0xc001e28128, {0xc000ecc000?, 0x47377f?, 0x8?})
os/file.go:124 +0x4f
io.copyBuffer({0x31be4c0, 0xc0014df500}, {0x31bbd40, 0xc0007a0078}, {0x0, 0x0, 0x0})
io/io.go:429 +0x190
io.Copy(…)
io/io.go:388
os.genericWriteTo(0xc001e28128?, {0x31be4c0, 0xc0014df500})
os/file.go:275 +0x4f
os.(*File).WriteTo(0xc001e28128, {0x31be4c0, 0xc0014df500})
os/file.go:253 +0x9c
io.copyBuffer({0x31be4c0, 0xc0014df500}, {0x31bbc20, 0xc001e28128}, {0x0, 0x0, 0x0})
io/io.go:411 +0x9d
io.Copy(…)
io/io.go:388
os/exec.(*Cmd).writerDescriptor.func1()
os/exec/exec.go:596 +0x34
os/exec.(*Cmd).Start.func2(0xc00191a700?)
os/exec/exec.go:749 +0x2c
created by os/exec.(*Cmd).Start in goroutine 9234
os/exec/exec.go:748 +0x92b
goroutine 9164 [runnable]:
github.com/1Panel-dev/1Panel/agent/utils/cmd.(*CommandHelper).run(0xc0017800c0, {0x2bea038?, 0x6?}, {0xc000a54d88?, 0x5?, 0x5?})
github.com/1Panel-dev/1Panel/agent/utils/cmd/cmdx.go:163 +0x8d4
github.com/1Panel-dev/1Panel/agent/utils/cmd.(*CommandHelper).Run(...)
github.com/1Panel-dev/1Panel/agent/utils/cmd/cmdx.go:63
github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).handleShell.func1(0xc0014207d0?)
github.com/1Panel-dev/1Panel/agent/app/service/cronjob_helper.go:161 +0x3f2
github.com/1Panel-dev/1Panel/agent/app/task.(*SubTask).Execute.func1()
github.com/1Panel-dev/1Panel/agent/app/task/task.go:238 +0x27
created by github.com/1Panel-dev/1Panel/agent/app/task.(*SubTask).Execute in goroutine 9160
github.com/1Panel-dev/1Panel/agent/app/task/task.go:237 +0x289
goroutine 9113 [select]:
github.com/1Panel-dev/1Panel/agent/app/task.(*SubTask).Execute(0xc00196f4a0)
github.com/1Panel-dev/1Panel/agent/app/task/task.go:241 +0x305
github.com/1Panel-dev/1Panel/agent/app/task.(*Task).Execute(0xc00195b680)
github.com/1Panel-dev/1Panel/agent/app/task/task.go:280 +0x185
github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).HandleJob.func2()
github.com/1Panel-dev/1Panel/agent/app/service/cronjob_helper.go:77 +0x3e
created by github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).HandleJob in goroutine 9153
github.com/1Panel-dev/1Panel/agent/app/service/cronjob_helper.go:76 +0x7cb
goroutine 9217 [IO wait]:
internal/poll.runtime_pollWait(0x76a8d67c65b8, 0x72)
runtime/netpoll.go:351 +0x85
internal/poll.(*pollDesc).wait(0xc00147d740?, 0xc000ea8000?, 0x1)
internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.(*pollDesc).waitRead(…)
internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc00147d740, {0xc000ea8000, 0x8000, 0x8000})
internal/poll/fd_unix.go:165 +0x27a
os.(*File).read(…)
os/file_posix.go:29
os.(*File).Read(0xc0000c4c90, {0xc000ea8000?, 0x47377f?, 0x8?})
os/file.go:124 +0x4f
io.copyBuffer({0x31be4c0, 0xc0006e2e40}, {0x31bbd40, 0xc001e280c0}, {0x0, 0x0, 0x0})
io/io.go:429 +0x190
io.Copy(…)
io/io.go:388
os.genericWriteTo(0xc0000c4c90?, {0x31be4c0, 0xc0006e2e40})
os/file.go:275 +0x4f
os.(*File).WriteTo(0xc0000c4c90, {0x31be4c0, 0xc0006e2e40})
os/file.go:253 +0x9c
io.copyBuffer({0x31be4c0, 0xc0006e2e40}, {0x31bbc20, 0xc0000c4c90}, {0x0, 0x0, 0x0})
io/io.go:411 +0x9d
io.Copy(…)
io/io.go:388
os/exec.(*Cmd).writerDescriptor.func1()
os/exec/exec.go:596 +0x34
os/exec.(*Cmd).Start.func2(0xc0014a25b0?)
os/exec/exec.go:749 +0x2c
created by os/exec.(*Cmd).Start in goroutine 9200
os/exec/exec.go:748 +0x92b
goroutine 9173 [syscall]:
syscall.Syscall6(0xf7, 0x3, 0x1c, 0xc001138e40, 0x4, 0xc0001ec750, 0x0)
syscall/syscall_linux.go:95 +0x39
internal/syscall/unix.Waitid(0xc001138e70?, 0x419694?, 0xc000031f70?, 0xc0012396c0?, 0xc001138e48?)
internal/syscall/unix/waitid_linux.go:18 +0x39
os.(*Process).pidfdWait.func1(…)
os/pidfd_linux.go:106
os.ignoringEINTR(…)
os/file_posix.go:251
os.(*Process).pidfdWait(0x5a71f9?)
os/pidfd_linux.go:105 +0x209
os.(*Process).wait(0xc000fda360?)
os/exec_unix.go:27 +0x25
os.(*Process).Wait(…)
os/exec.go:358
os/exec.(*Cmd).Wait(0xc001028300)
os/exec/exec.go:922 +0x45
github.com/1Panel-dev/1Panel/agent/utils/cmd.(*CommandHelper).run.func1()
github.com/1Panel-dev/1Panel/agent/utils/cmd/cmdx.go:161 +0x25
created by github.com/1Panel-dev/1Panel/agent/utils/cmd.(*CommandHelper).run in goroutine 9170
github.com/1Panel-dev/1Panel/agent/utils/cmd/cmdx.go:160 +0x85d
goroutine 9234 [select]:
github.com/1Panel-dev/1Panel/agent/utils/cmd.(*CommandHelper).run(0xc00196f440, {0x2bea038?, 0x6?}, {0xc000a54d88?, 0x5?, 0x5?})
github.com/1Panel-dev/1Panel/agent/utils/cmd/cmdx.go:163 +0x8d4
github.com/1Panel-dev/1Panel/agent/utils/cmd.(*CommandHelper).Run(...)
github.com/1Panel-dev/1Panel/agent/utils/cmd/cmdx.go:63
github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).handleShell.func1(0xc000f337d0?)
github.com/1Panel-dev/1Panel/agent/app/service/cronjob_helper.go:161 +0x3f2
github.com/1Panel-dev/1Panel/agent/app/task.(*SubTask).Execute.func1()
github.com/1Panel-dev/1Panel/agent/app/task/task.go:238 +0x27
created by github.com/1Panel-dev/1Panel/agent/app/task.(*SubTask).Execute in goroutine 9113
github.com/1Panel-dev/1Panel/agent/app/task/task.go:237 +0x289
goroutine 9200 [select]:
github.com/1Panel-dev/1Panel/agent/utils/cmd.(*CommandHelper).run(0xc00147cd80, {0x2bea038?, 0x6?}, {0xc000a84d88?, 0x5?, 0x5?})
github.com/1Panel-dev/1Panel/agent/utils/cmd/cmdx.go:163 +0x8d4
github.com/1Panel-dev/1Panel/agent/utils/cmd.(*CommandHelper).Run(...)
github.com/1Panel-dev/1Panel/agent/utils/cmd/cmdx.go:63
github.com/1Panel-dev/1Panel/agent/app/service.(*CronjobService).handleShell.func1(0xc001d9bfd0?)
github.com/1Panel-dev/1Panel/agent/app/service/cronjob_helper.go:161 +0x3f2
github.com/1Panel-dev/1Panel/agent/app/task.(*SubTask).Execute.func1()
github.com/1Panel-dev/1Panel/agent/app/task/task.go:238 +0x27
created by github.com/1Panel-dev/1Panel/agent/app/task.(*SubTask).Execute in goroutine 9196
github.com/1Panel-dev/1Panel/agent/app/task/task.go:237 +0x289
goroutine 9172 [select]:
os/exec.(*Cmd).watchCtx(0xc001028300, 0xc0019003f0)
os/exec/exec.go:789 +0xb2
created by os/exec.(*Cmd).Start in goroutine 9170
os/exec/exec.go:775 +0x8f3
[2026-01-30 10:02:18] [INFO] init logger successfully
[2026-01-30 10:02:18] [INFO] Migration run successfully
