BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
sathya66
Barite | Level 11

All,

I am getting below waring error when I check the status of the servcies. I checked the EVM agent service status individually, I am getting the same error.

"OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000003e0400000, 693633024, 0) failed; error='Cannot allocate memory' (errno=12")

I just stopped the mid-tier services and started the services

 

/opt/sas/config/Lev1/sas.servers status
SAS servers status:
SAS JMS Broker is UP
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000003e0400000, 693633024, 0) failed; error='Cannot allocate memory' (errno=12)
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000003e0400000, 693633024, 0) failed; error='Cannot allocate memory' (errno=12)
SAS Cache Locator Service ins_41415 is NOT up
SAS Web Server is UP
SAS Web App Server SASServer1_1 is UP
SAS Web App Server SASServer11_1 is UP
SAS Web App Server SASServer12_1 is UP
SAS Web App Server SASServer13_1 is UP
SAS Web App Server SASServer2_1 is UP
SAS Web App Server SASServer7_1 is UP
SAS Web App Server SASServer8_1 is UP
SAS Environment Manager is UP

1 ACCEPTED SOLUTION

Accepted Solutions
sathya66
Barite | Level 11
Issue is resolved now.
duplicate insatances/processes are running on the machine.
when I grep for the SASSERVERX_1, there are multiple processes running.
I killed all the process and restarted the services and all looks good.

thanks for your help.

View solution in original post

3 REPLIES 3
MargaretC
SAS Employee

A Google search of "Cannot allocate memory' (errno=12)" results in an article that discusses that you have run computer out of memory.  

Here are some possible solutions:

Possible solutions:

  • Reduce memory load on the system
  • Increase physical memory or swap space
  • Check if swap backing store is full
  • Use 64 bit Java on a 64 bit OS
  • Decrease Java heap size (-Xmx/-Xms)
  • Decrease number of Java threads
  • Decrease Java thread stack sizes (-Xss)
  • Set larger code cache with -XX:ReservedCodeCacheSize=
  • In case you have many contexts wars deployed on your tomcat try reduce them
sathya66
Barite | Level 11

Thanks for this.
I think it is last point
"In case you have many contexts wars deployed on your tomcat try reduce them"
we recentrly redployed all the web apps.
Please can you suggest, how to reduce the wars on our tomact.

sathya66
Barite | Level 11
Issue is resolved now.
duplicate insatances/processes are running on the machine.
when I grep for the SASSERVERX_1, there are multiple processes running.
I killed all the process and restarted the services and all looks good.

thanks for your help.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 961 views
  • 0 likes
  • 2 in conversation