The question (title of this question) came into my thought for the below reason. If anyone gives a solution of that reason then I don't need to free the swap memory.
The Reason:
After installation of Jenkins it is running well. But using some minutes (or hour) it was automatically stopped. When I restart the service (by the command sudo service jenkins restart
) it starts again to work. Similarly after some times it is automatically stopped again (i.e, I can't find the jenkins in the target url MY_IP_ADDERSS:8080
) but whenever I check the status of the jenkins (sudo service jenkins status
) it shows active (exited)
.
I checked my server memory. There is about 20% free of memory of RAM but the swap memory is 100% full. I guess the problem belongs to that swap memory (I don't know whether I am right or wrong)
If there any solution of this problem please help me first.
Now my question is:
If there any problem If I free up my swap memory ?
Will the running processes (or any process among them) be killed if I try to this ?
Please help, this is my first question in this site.