Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phpcs freezes in parallel mode #6

Open
renakdup opened this issue Jul 29, 2021 · 1 comment
Open

phpcs freezes in parallel mode #6

renakdup opened this issue Jul 29, 2021 · 1 comment

Comments

@renakdup
Copy link

renakdup commented Jul 29, 2021

Hi, I have a problem when I use phpcs parallel directive. I run a phpcs command and I see

<arg name="parallel" value="100"/><!-- Enables parallel processing when available for faster results. -->

image

After 5 minutes I got error about 300 sec timeout
image

I can try to run on another docker project and it's work there.

@mbomb007
Copy link

mbomb007 commented Jan 19, 2024

You shouldn't fork 100 processes. Try using 2. The value used shouldn't be higher than the number of threads available. Run nproc in Bash on the target machine to see the max value you can use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants