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

Minisearch creating hundreds of processes #1

Open
pwn1 opened this issue Sep 5, 2017 · 6 comments
Open

Minisearch creating hundreds of processes #1

pwn1 opened this issue Sep 5, 2017 · 6 comments

Comments

@pwn1
Copy link

pwn1 commented Sep 5, 2017

Hi,

Using minisearch with an annotation like this:

solve search adaptive_lns_max(optVar, [....], 1000000, 10, 5000);

with fzn-chuffed (from github.com/chuffed/chuffed) as the backend solver, creates hundreds of processes. If I run 20 minisearch processes in parallel the effect is to forkbomb the server!

Here's one line of pstree output:
│ ├─sshd───sshd───bash───runminisearch───timeout───filter-minisear───minisearch───683*[fzn-chuffed]

I can supply the .mzn file if you like, but I doubt you need it.

@pwn1
Copy link
Author

pwn1 commented Sep 6, 2017

git hash 5f48d82
built and run on Scientific Linux 7.3
Compiler: g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)
The minizinc file is attached.
tspeil51.zip

@pwn1
Copy link
Author

pwn1 commented Oct 17, 2017

If you are forking, you probably need to call wait.

@pwn1
Copy link
Author

pwn1 commented Feb 2, 2018

Is there any development happening on minisearch? It seems there are a lot of issues filed.
Chris has a one-line fix for this one, but it's not pretty.

@angee
Copy link
Member

angee commented Feb 8, 2018

Pete, MiniSearch is currently not maintained, but I hope I will have some more time for that soon. I'll try to get back to you within the next week.

@pwn1
Copy link
Author

pwn1 commented Feb 9, 2018

Hi Andrea,
Don't worry -- we used minisearch for a while but now we are not using it, so there's no urgent need for anything to be fixed. I just wanted to know if anyone was working on it, and let you know about Chris' one-liner.
Pete

@si14
Copy link

si14 commented Nov 21, 2018

@angee hey, just wondering if you guys still plan to do something with MiniSearch. It seems the branches diverged quite a bit and the MiniSearch one didn't see much love for a while.

@Dekker1 Dekker1 transferred this issue from MiniZinc/libminizinc Apr 14, 2021
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

3 participants