<p>Okay, the issue was with one of the plugins that I use.</p>

CC BY-SA 4.0
2022-10-03T22:54:50.573Z
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.
August Miller
CC BY-SA 4.0
2022-09-21T06:49:36.770Z
2022-09-21T06:49:36.770Z
Lukas Snarskis
<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>

CC BY-SA 4.0
2022-09-20T06:31:43.133Z
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 :(
Lukas Snarskis
CC BY-SA 4.0
2022-09-20T07:49:04.510Z
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`?
MisterMike
CC BY-SA 4.0
2022-09-20T08:17:17.350Z
`[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..
Lukas Snarskis
CC BY-SA 4.0
2022-09-19T14:36:38.780Z
2022-09-19T14:36:38.780Z
MisterMike
<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>

<queue>
Queue is failing
# 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..  

---

