Jump to content

How To Fix Crash DB ( Cannot Allocate Memory )


Recommended Posts

Have you ever seen this message? If you say "Yes" You have a big problem with your server (db)

Because: Your aplication (Metin2) is blocking by senator. I have solution for this problem.

You have to change paraments in shm. ( shmall)

 

You have errors:

safe_create: calloc failed [12] Cannot allocate memory
buffer_new: calloc failed [12] Cannot allocate memory

 

Default paraments:

 

I have to change for this paraments for normal working server:

 

If you want check your paraments

Use command: ipcs -M

 

How to change my paraments bro?

1. ee /etc/sysctl.conf

 

2. type your paraments

 

The numbers are written in bytes

2GB - 2147483648 bytes.

 

3. Use for restart: service sysctl restart

 

This is a solution for this problem.

For Metin2dev.org from Mcncc.pl by Tony&Loki. Don't copy for other forums

Sorry for bad english. I'm using Polish.

 

 

 

 

  • Love 6
Link to comment
Share on other sites

  • 1 year later...

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.