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
Makefile System hangs the computer #479
Comments
I tried:
and everything works smooth. Maybe you can spot what happens if you run 'make' command with -d parameter. |
Hmm, that's strange. make proper rm -f uac.d uac.d uac.d _~ make -d include_modules=”evapi sctp jansson rtjson” cfg GNU Make 4.0
And here it stops... Without the option '-d' I see only this line "target Best regards, Anton 2016-01-18 10:41 GMT+01:00 Daniel-Constantin Mierla <
|
When it hangs, is cpu usage go high? Can you do a 'ps auxw' and see if you can spot a make or shell command that looks like looping? I just noticed via someone using SuSE enterprise server that the CPU variable is preset in the environment, can you try:
After CPU= is an empty space, to reset its value. |
Hi, here is what I get:
sprod 8129 97.8 25.4 1647684 1002300 pts/9 R+ 17:43 0:04 make CPU= -d sprod 8173 0.0 0.0 26664 1552 pts/15 R+ 17:43 0:00 ps auxw root 13266 0.0 0.0 87668 1928 ? Ss 08:13 0:00 sshd: I think 97.8% of the CPU was taken by the make command...
BR, Anton 2016-01-20 14:57 GMT+01:00 Daniel-Constantin Mierla <
|
But was the step 3. with 'CPU= '? Can you attach with gdb to the make using lot of cpu and do bt to see what is doing? |
Any update on this? |
Hi, Not for now. Thanks for reminding me :) I didn't have the time to try using Best regards,
|
Hello, I am unable to reproduce anymore the problem. I do not know changed since Best regards, Anton 2016-02-11 22:57 GMT+01:00 Anton Tonev anton.tonev@gmail.com:
|
Hello everyone,
I will try to describe a problem that I encountered recently while I was recompiling Kamailio 4.3.1. Probably the problem has been already mentioned by someone at the bug tracker but I couldn't find such a topic.
So, I had an installed and already configured and working Kamailio. I decided simply to add a new module to it, for that I made the following instructions:
'make proper' -> result OK
'make include_modules="the list of needed modules" cfg' -> slows the whole OS (Linux SLED 12), I had a constant disk activity during the time I was waiting to see how the things will finish.
After that I tried the same on a different machine, which is the same (virtual machine) , unfortunately the result was the same.
After several retries I found that it is impossible to do:
make proper
make include_modules="...." cfg
I found that I had to type a 'make cfg' after the 'make proper':
make proper
make cfg
make include_modules="..." cfg
make all
I hadn't the time to find out why there is a such problem but I suppose that when you do a 'make proper' your configuration file is deleted. Than 'make cfg' creates this config file again and finally 'make include_modules' looks for this configuration file and fills it with the complementary modules. Without this configuration file the 'make include_modules="..." cfg probably enters to an infinite loop which as result makes your OS not respond.
Can anyone confirm the problem ?
Best regards,
Anton
The text was updated successfully, but these errors were encountered: