Answers.Body: <p>Okay, the issue was with one of the plugins that I use.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-03T22:54:50.573Z
Answers.Text: Could you elaborate on how you arrived at this conclusion? Examples of things that would help the community: the plugin you identified, your queue setup, memory limits, troubleshooting steps, etc.
Answers.UserDisplayName: August Miller
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-09-21T06:49:36.770Z
Answers.LastActivityDate: 2022-09-21T06:49:36.770Z
Answers.UserDisplayName: Lukas Snarskis
Answers.Body: <p>Try to increase the memory size for PHP. You seem to allow 32MB whereas Craft CMS recommends at least 256MB. I am not too familiar with cPanel, but I think you can change that setting under Software &gt; Select PHP Version &gt; Options. There should be a setting <code>memory_limit</code>which should be 256M or better 512M.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-09-20T06:31:43.133Z
Answers.Text: Memory limit is 512MB. Now I'm getting this problem only with images, the rest works well. Maybe it's worth mentioning that recently I changed PHP version.... Cannot find the solution for this for days already :(
Answers.UserDisplayName: Lukas Snarskis
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-09-20T07:49:04.510Z
Answers.Text: Can you log in to the commandline (ssh) of your server and run a basic craft command to see if that basically works ? like `php craft queue/run -v`
  
  What about `max_execution_time`?
  
  Is there anything notable about the error in `storage/logs/phperrors.log`?
Answers.UserDisplayName: MisterMike
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-09-20T08:17:17.350Z
Answers.Text: `[telefonai@srv public_html]$ php craft queue/run -v
  2022-09-20 11:15:27 [pid: 4787] - Worker is started
  2022-09-20 11:15:27 [pid: 4787] - Worker is stopped (0:00:00)
  [telefonai@srv public_html]$` . In phperrrors.log I have a lot of `"[20-Sep-2022 10:52:45 Europe/Vilnius] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted"` for different plugins..
Answers.UserDisplayName: Lukas Snarskis
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-09-19T14:36:38.780Z
Answers.LastActivityDate: 2022-09-19T14:36:38.780Z
Answers.UserDisplayName: MisterMike
Body: <p>I have an issue with queue running... It always fails.</p>
  <p><a href="https://i.sstatic.net/haTFy.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/haTFy.png" alt="enter image description here" /></a></p>
  <p>The same with image transforms and so on...</p>
  <p><a href="https://i.sstatic.net/X2EVD.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/X2EVD.png" alt="enter image description here" /></a></p>
  
Tags: <queue>
Title: Queue is failing
ThreadText: # Queue is failing
  
  (Asked by: username_0 on 2022-09-16)
  
  I have an issue with queue running... It always fails.
  
  [![enter image description here](https://i.sstatic.net/haTFy.png)](https://i.sstatic.net/haTFy.png)
  
  The same with image transforms and so on...
  
  [![enter image description here](https://i.sstatic.net/X2EVD.png)](https://i.sstatic.net/X2EVD.png)
  
  **Tags:** queue
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2022-09-21. Score: 0 | Accepted answer
  
  Okay, the issue was with one of the plugins that I use.
  
  > **Comments:**
  > **username_1**: Could you elaborate on how you arrived at this conclusion? Examples of things that would help the community: the plugin you identified, your queue setup, memory limits, troubleshooting steps, etc.  
  
  ---
  
  ### Answer by username_2 on 2022-09-19. Score: 2
  
  Try to increase the memory size for PHP. You seem to allow 32MB whereas Craft CMS recommends at least 256MB. I am not too familiar with cPanel, but I think you can change that setting under Software > Select PHP Version > Options. There should be a setting `memory_limit`which should be 256M or better 512M.
  
  > **Comments:**
  > **username_0**: Memory limit is 512MB. Now I'm getting this problem only with images, the rest works well. Maybe it's worth mentioning that recently I changed PHP version.... Cannot find the solution for this for days already :(  
  > **username_2**: Can you log in to the commandline (ssh) of your server and run a basic craft command to see if that basically works ? like `php craft queue/run -v`  What about `max_execution_time`?  Is there anything notable about the error in `storage/logs/phperrors.log`?  
  > **username_0**: `[telefonai@srv public_html]$ php craft queue/run -v 2022-09-20 11:15:27 [pid: 4787] - Worker is started 2022-09-20 11:15:27 [pid: 4787] - Worker is stopped (0:00:00) [telefonai@srv public_html]$` . In phperrrors.log I have a lot of `"[20-Sep-2022 10:52:45 Europe/Vilnius] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted"` for different plugins..  
  
  ---
  
  