# Sonar process is being killed automatically

**URL:** <https://community.sonarsource.com/t/sonar-process-is-being-killed-automatically/1068>\
**Category:** SonarQube Server / Community Build\
**Created:** [July 16, 2018, 11:34am UTC](https://community.sonarsource.com/t/sonar-process-is-being-killed-automatically/1068 "2018-07-16T11:34:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![priyanka\_sharma](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@priyanka\_sharma](https://community.sonarsource.com/u/priyanka_sharma)\
**Post date:** [July 16, 2018, 11:34am UTC](https://community.sonarsource.com/t/sonar-process-is-being-killed-automatically/1068/1 "2018-07-16T11:34:30Z")

</div>

Hi,  
I was using sonarqube 7.2 version.It was running properly on port 8443 but accidentally the whole sonarqube-7.2 folder got deleted and then I was not able to stop it as there was no sonar.sh available.I did netstat -tnlp , process was still running on port 8443 then I killed the process forcefully.  
Now when I have downloaded a different version and tried to install it … It is not running,its being killed automatically with errors:

```auto
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

```

I have done all systems settings according to this error still its coming.  
Can anyone help with this ASAP with highest priority.???

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [July 16, 2018, 12:21pm UTC](https://community.sonarsource.com/t/sonar-process-is-being-killed-automatically/1068/2 "2018-07-16T12:21:51Z")

</div>

Hi,

The docs describe how to set `vm.max_map_count` system-wide: [https://docs.sonarqube.org/display/SONAR/Requirements#Requirements-Linux](https://docs.sonarqube.org/display/SONAR/Requirements#Requirements-Linux)

HTH,  
Ann

---

<div class="post-metadata">

**Author:** ![priyanka\_sharma](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@priyanka\_sharma](https://community.sonarsource.com/u/priyanka_sharma)\
**Post date:** [July 16, 2018, 1:21pm UTC](https://community.sonarsource.com/t/sonar-process-is-being-killed-automatically/1068/3 "2018-07-16T13:21:45Z")

</div>

I have set these values already.Still throwing the errors.

---

<div class="post-metadata">

**Author:** ![janos](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/janos/32/60_2.png) [@janos](https://community.sonarsource.com/u/janos)\
**Post date:** [July 18, 2018, 12:23pm UTC](https://community.sonarsource.com/t/sonar-process-is-being-killed-automatically/1068/4 "2018-07-18T12:23:53Z")

</div>

> [@priyanka\_sharma](#):
>
> I have set these values already.Still throwing the errors.

The previously posted message showed that “[65530] is too low, increase to at least [262144]”. Do you get a new message with new recommended increase, or do you get different errors? (if yes, what are they?)

---

<div class="post-metadata">

**Author:** ![priyanka\_sharma](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@priyanka\_sharma](https://community.sonarsource.com/u/priyanka_sharma)\
**Post date:** [July 18, 2018, 12:46pm UTC](https://community.sonarsource.com/t/sonar-process-is-being-killed-automatically/1068/5 "2018-07-18T12:46:39Z")

</div>

Hey,  
I have not increased any values as they were set with the desired values.  
But problem has been resolved and the cause was different.Thanks all for you response. 🙂

---

<div class="post-metadata">

**Author:** ![NicoB](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/nicob/32/3_2.png) [@NicoB](https://community.sonarsource.com/u/NicoB)\
**Post date:** [July 18, 2018, 1:25pm UTC](https://community.sonarsource.com/t/sonar-process-is-being-killed-automatically/1068/6 "2018-07-18T13:25:44Z")

</div>

It would be interesting that you share what the actual problem was, and how you solved it, so that other members of this community can benefit from your findings in case they encounter similar problems!

---

<div class="post-metadata">

**Author:** ![priyanka\_sharma](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@priyanka\_sharma](https://community.sonarsource.com/u/priyanka_sharma)\
**Post date:** [July 18, 2018, 4:23pm UTC](https://community.sonarsource.com/t/sonar-process-is-being-killed-automatically/1068/7 "2018-07-18T16:23:00Z")

</div>

Sure.  
I needed upgraded vb.net-5.5 plugin for sonarqube-6.7.4 version so I have downloaded that but i was unaware that it comes with a licence so when I started the sonar service It was looking for the licence for the same and when it was not available then it threw the error.  
I have checked my logs in ce.log file and I have found the error. After removing that plugin from my SONAR\_HOME/extensions/plugins directory, it resolved my problem.  
Thanks all.

---

<div class="post-metadata">

**Author:** ![NicoB](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/nicob/32/3_2.png) [@NicoB](https://community.sonarsource.com/u/NicoB)\
**Post date:** [July 19, 2018, 7:28am UTC](https://community.sonarsource.com/t/sonar-process-is-being-killed-automatically/1068/8 "2018-07-19T07:28:54Z")

</div>

Thanks for the clarification, which means that it relates to this thread below:

> [@Sonarqube plugin vb.net 3.0.3.346 will be compatible with sonarqube 6.7.4 or later version or not?](https://community.sonarsource.com/t/sonarqube-plugin-vb-net-3-0-3-346-will-be-compatible-with-sonarqube-6-7-4-or-later-version-or-not/1119):
>
> Hi, I have migrated my sonarqube 5.6.6 with sonarqube 6.7.4 and the plugin [vb.net](http://vb.net) 3.0.3.346 was used in 5.6.6 sonarqube but after migration when I have looked for upgraded vb .net plugin it was commercial version which asks me to buy licence.So can I use older version of vb .net plugin with newer version of sonarqube?Or If there is any non-commercial version of [vb.net](http://vb.net) is available for upgraded sonarqube then please suggest me. Please help me with this ASAP.

Make sure to share related threads so that it’s easier for people to follow the reasoning/solution. Given that this is solved I’ll close this specific topic here.

---

<div class="post-metadata">

**Author:** ![NicoB](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/nicob/32/3_2.png) [@NicoB](https://community.sonarsource.com/u/NicoB)\
**Post date:** [July 19, 2018, 7:29am UTC](https://community.sonarsource.com/t/sonar-process-is-being-killed-automatically/1068/9 "2018-07-19T07:29:14Z")

</div>

Closed on July 19, 2018, 7:29am UTC


