Webjobs Linux error

Mavi 40 Punti di reputazione
2025-04-08T05:07:08.58+00:00

Da qualche giorno ha iniziato a comparire questo errore in TUTTI i logs delle Webjobs su WebApp Linux prima che venga poi eseguito il task.Come eliminarlo?

[04/08/2025 04:35:00 > fca0ad: SYS INFO] Status changed to Initializing
[04/08/2025 04:35:01 > fca0ad: SYS INFO] Job directory change detected: Job file 'tasks.sh' timestamp differs between source and working directories.
[04/08/2025 04:35:01 > fca0ad: SYS WARN] Failed to kill process - nginx: worker process for job - Prod-tasks
 System.UnauthorizedAccessException: Access to the path '/proc/1304/environ' is denied.
 ---> System.IO.IOException: Permission denied
   --- End of inner exception stack trace ---
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.File.ReadAllText(String path, Encoding encoding)
   at Kudu.Core.Jobs.BaseJobRunner.GetProcessEnvironmentVariables(Int32 processId, IJobLogger logger) in C:\__w\1\s\Kudu.Core\Jobs\BaseJobRunner.cs:line 479
   at Kudu.Core.Jobs.BaseJobRunner.SafeKillJobProcessesOnLinux(IJobLogger logger) in C:\__w\1\s\Kudu.Core\Jobs\BaseJobRunner.cs:line 361
[04/08/2025 04:35:01 > fca0ad: SYS WARN] Failed to kill process - nginx: worker process for job - Prod-tasks
[04/08/2025 04:35:01 > fca0ad: SYS WARN] Failed to kill process - php-fpm: pool www for job - Prod-tasks
 System.UnauthorizedAccessException: Access to the path '/proc/3979/environ' is denied.
 ---> System.IO.IOException: Permission denied
   --- End of inner exception stack trace ---
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.File.ReadAllText(String path, Encoding encoding)
   at Kudu.Core.Jobs.BaseJobRunner.GetProcessEnvironmentVariables(Int32 processId, IJobLogger logger) in C:\__w\1\s\Kudu.Core\Jobs\BaseJobRunner.cs:line 479
   at Kudu.Core.Jobs.BaseJobRunner.SafeKillJobProcessesOnLinux(IJobLogger logger) in C:\__w\1\s\Kudu.Core\Jobs\BaseJobRunner.cs:line 361
[04/08/2025 04:35:01 > fca0ad: SYS WARN] Failed to kill process - php-fpm: pool www for job - Prod-tasks
[04/08/2025 04:35:01 > fca0ad: SYS WARN] Failed to kill process - php-fpm: pool www for job - Prod-tasks
 System.UnauthorizedAccessException: Access to the path '/proc/3980/environ' is denied.
 ---> System.IO.IOException: Permission denied
   --- End of inner exception stack trace ---
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.File.ReadAllText(String path, Encoding encoding)
   at Kudu.Core.Jobs.BaseJobRunner.GetProcessEnvironmentVariables(Int32 processId, IJobLogger logger) in C:\__w\1\s\Kudu.Core\Jobs\BaseJobRunner.cs:line 479
   at Kudu.Core.Jobs.BaseJobRunner.SafeKillJobProcessesOnLinux(IJobLogger logger) in C:\__w\1\s\Kudu.Core\Jobs\BaseJobRunner.cs:line 361
[04/08/2025 04:35:01 > fca0ad: SYS WARN] Failed to kill process - php-fpm: pool www for job - Prod-tasks
[04/08/2025 04:35:01 > fca0ad: SYS INFO] Run script 'tasks.sh' with script host - 'BashScriptHost'
[04/08/2025 04:35:01 > fca0ad: SYS INFO] Status changed to Running
Desktop virtuale Azure
Desktop virtuale Azure
Un servizio di virtualizzazione di Microsoft desktop e app eseguito in Azure. Precedentemente noto come Desktop virtuale Windows.
37 domande
{count} voti

Risposta

Le risposte possono essere contrassegnate come risposte accettate dall'autore della domanda. Ciò consente agli utenti di sapere che la risposta ha risolto il problema dell'autore.