Server Crash mmap
pPPKTewfFwjAKT0.jpg hc4stillo02

The only solution I found was to make a backup and reinstall rust on the server.

Are you on Windows or Linux?

I am using LGSM and Debain 10. 

mmap(PROT_NONE) failed
Caught fatal signal - signo:6 code:-6 errno:0 addr:0x3e900002dc2
Obtained 18 stack frames.
#0 0x007f35f65d1730 in (Unknown)
#1 0x007f35f64357bb in (Unknown)
#2 0x007f35f6420535 in (Unknown)
#3 0x007f35f5ea5cbe in (Unknown)
#4 0x007f35f5ea5d2b in (Unknown)
#5 0x007f35f5ea8c2b in (Unknown)
#6 0x007f35f5ea8e94 in (Unknown)
#7 0x007f35f5ea991d in (Unknown)
#8 0x007f35f718c2a1 in (Unknown)
#9 0x007f35f7023e32 in (Unknown)
#10 0x007f35f7023fc6 in (Unknown)
#11 0x007f35f7084551 in (Unknown)
#12 0x007f35f707e85e in (Unknown)
#13 0x007f35f707e8a1 in (Unknown)
#14 0x007f35f707edda in (Unknown)
#15 0x007f35f71e86de in (Unknown)
#16 0x007f35f642209b in (Unknown)
#17 0x005647e1f37699 in (Unknown)
Aborted

Seems to happen about once a day now. I have a scheduled restart in the early morning daily.

Do you use StackSizeController by any chance?

Disclaimer: Use this at your own risk. 

Still too early to tell if what I have done has permanently fixed this problem or not, but for the last week the servers have been crashing on restart every single day.

During this month it's been particularly bad for some reason, they crash on restart everytime the entities get over 220,000. This has been going on intermittently for over a year.

This morning I changed the vm.max_map_count from default of 65536, to 2262144

Follow the instructions below to change the setting.

sudo sysctl -w vm.max_map_count=2262144

Now open the sysctl.conf file.

sudo nano -w /etc/sysctl.conf

Add the following line to the end of the sysctl.conf so the number stays changed when you reboot the hardware.

vm.max_map_count=2262144

So far so good, all 5 servers have stopped crashing. 

I'm not 100% sure yet if this is a fix, but so far it seems to be working. The servers have been up for over an hour, normally they would crash after restart within 3 - 15 minutes.
@RustNRelax still appear to have solved your issue? Will most likely do this to my server tonight. 
lblanchardiii
@RustNRelax still appear to have solved your issue? Will most likely do this to my server tonight. 

Yes, the daily restarts have worked perfectly since doing this 2 days ago and entities are at their highest right now. So far so good, if there's any change I will post an update.

RustNRelax

Yes, the daily restarts have worked perfectly since doing this 2 days ago and entities are at their highest right now. So far so good, if there's any change I will post an update.

Great find.  If this fixes the problem, I will buy you donuts.

RustNRelax

Yes, the daily restarts have worked perfectly since doing this 2 days ago and entities are at their highest right now. So far so good, if there's any change I will post an update.


Awesome, my server usually restarts around this time (crashes) once it does I will implement this method.
RustNRelax

Are you on Windows or Linux?

Linux

Havent had a physx crash in 8 months since this was originally posted.  Works great 

pNtzClc75KlQiTE.png RustNRelax
Disclaimer: Use this at your own risk. 

Still too early to tell if what I have done has permanently fixed this problem or not, but for the last week the servers have been crashing on restart every single day.

During this month it's been particularly bad for some reason, they crash on restart everytime the entities get over 220,000. This has been going on intermittently for over a year.

This morning I changed the vm.max_map_count from default of 65536, to 2262144

Follow the instructions below to change the setting.

sudo sysctl -w vm.max_map_count=2262144

Now open the sysctl.conf file.

sudo nano -w /etc/sysctl.conf

Add the following line to the end of the sysctl.conf so the number stays changed when you reboot the hardware.

vm.max_map_count=2262144

So far so good, all 5 servers have stopped crashing. 

I'm not 100% sure yet if this is a fix, but so far it seems to be working. The servers have been up for over an hour, normally they would crash after restart within 3 - 15 minutes.

Thank you. I have this issue on 2 different dedicated servers with multiple Rust game servers running on them. One is 32GB RAM another one is 64GB RAM. After increasing vm.max_map_count all is ok.

mmap(PROT_NONE) failed Caught fatal signal - signo:6 code:-6 errno:0 addr:0x3e80000007d Obtained 18 stack frames. #0 0x007f52c2755980 in funlockfile #1 0x007f52c2390fb7 in gsignal #2 0x007f52c2392921 in abort #3 0x007f5289a9093a in GC_unmap #4 0x007f5289a90892 in GC_unmap_old #5 0x007f5289a925ec in GC_finish_collection #6 0x007f5289a9283e in GC_collect_a_little_inner #7 0x007f5289a919a1 in GC_collect_a_little #8 0x007f52c3c5ff58 in (Unknown) #9 0x007f52c3a65483 in (Unknown) #10 0x007f52c3a6560a in (Unknown) #11 0x007f52c3ab9f17 in (Unknown) #12 0x007f52c3ab32a7 in (Unknown) #13 0x007f52c3ab3262 in (Unknown) #14 0x007f52c3ab354c in (Unknown) #15 0x007f52c3cdc227 in PlayerMain(int, char**) #16 0x007f52c2373bf7 in __libc_start_main #17 0x005653b804b029 in (Unknown)

Merged post

Do you all use RustEdit by anychance?

anyone got fix ? my server keep crash , i use windows

qcJJurV298OR8qn.jpeg Mo45

Thank you. I have this issue on 2 different dedicated servers with multiple Rust game servers running on them. One is 32GB RAM another one is 64GB RAM. After increasing vm.max_map_count all is ok.

Tested this now, I'm with Pebblehost and they refered to buying more Ram right away, "support". I hope this will help!