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

the program takes 100+ lightweight processes #61

Open
shalijiang opened this issue Nov 9, 2018 · 0 comments
Open

the program takes 100+ lightweight processes #61

shalijiang opened this issue Nov 9, 2018 · 0 comments

Comments

@shalijiang
Copy link

when I was trying to run many jobs on a server, it results in an error "fork: retry: Resource temporarily unavailable" when over 30 jobs are submitted. I googled about it, the reason seems to be the limit of max number of processes is exceeded (by default on that server is 4096). Then I checked the number of lightweight processes of the job "python main.py Hartmann3 EI 4 1", using the command "ps -o nlwp ", it turns out the process has 134 lightweight processes, so I can only run about 30 jobs. Is this because of some parameter setting?
(FYI: I tried to change the "max_num_threads" parameter in line 55 from 8 to 1, but didn't make a difference. I also tested a simple for loop python program, it's only 1 lightweight process)

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

1 participant