Ask Your Question
0

What is the correct settings for the JVM memory for the puppet server to start?

asked 2017-01-09 14:42:29 -0600

denismp gravatar image

How do I fix the bad vendor preset? The platform is Ubuntu 64bit 16.04.1 desktop.

After reviewing the log file I saw this:

There is insufficient memory for the Java Runtime Environment to continue.

Native memory allocation (mmap) failed to map 1431699456 bytes for committing reserved memory.

What is the correct settings for the JVM memory?

● puppetserver.service - LSB: puppetserver Loaded: loaded (/etc/init.d/puppetserver; bad; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2017-01-09 12:14:10 PST; 1min 19s ago Docs: man:systemd-sysv-generator(8) Process: 66204 ExecStart=/etc/init.d/puppetserver start (code=exited, status=1/FAILURE)

Jan 09 12:14:09 ubuntu systemd[1]: Starting LSB: puppetserver... Jan 09 12:14:10 ubuntu systemd[1]: puppetserver.service: Control process exited, code=exited status=1 Jan 09 12:14:10 ubuntu systemd[1]: Failed to start LSB: puppetserver. Jan 09 12:14:10 ubuntu systemd[1]: puppetserver.service: Unit entered failed state. Jan 09 12:14:10 ubuntu systemd[1]: puppetserver.service: Failed with result 'exit-code'.

edit retag flag offensive close merge delete

Comments

I saw this in the log file after I posted this: # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 1431699456 bytes for committing reserved memory.

denismp gravatar imagedenismp ( 2017-01-09 14:43:16 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2017-01-09 14:55:42 -0600

denismp gravatar image

Okay, my mistake. I installed puppet on VM instance of the Ubuntu OS and the memory was set for 1GIG. I bumped it to 3 GIG and now it starts.

edit flag offensive delete link more

Comments

I think they have a note about that on the install page... If you are running in a VM for a small number of hosts, you can get away with 512M for your settings

DarylW gravatar imageDarylW ( 2017-01-10 06:56:39 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-01-09 14:24:52 -0600

Seen: 1,093 times

Last updated: Jan 09