Jump to content
×
×
  • Create New...

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 5
Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


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.