Answer the question
In order to leave comments, you need to log in
In Symfony, the Process class throws time out, what could be the reason?
The Process class is responsible for executing commands in a subprocess, see symfony.com/doc/current/components/process.html for more details .
Everything worked flawlessly, like on one of those "beautiful days" it started throwing a timeout error. I tried to run the command through the php function proc_open()
- it works! I also tried to run with Sigchild - it works! But it doesn't work through the Process class, what could be the reason for this behavior?
Here is the team for those interested:
/usr/bin/jpegoptim --strip-all --max=70 --all-progressive /tmp/imagine_jpegoptimEz6254
Answer the question
In order to leave comments, you need to log in
Well, why not explicitly increase the timeouts?
symfony.com/doc/current/components/process.html#pr...
symfony.com/doc/current/components/process.html#pr...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question