[omm@lm2hdp03 bin]$ free -g total used free shared buff/cache available Mem: 125 88 9 24 26 0 Swap: 0 0 0
时间: 2024-02-10 22:35:05 浏览: 179
根据您提供的信息,您的Linux系统具有125GB的物理内存和0GB的交换空间,目前已经使用了88GB的内存,还剩余9GB的空闲内存。如果您需要释放内存以运行其他应用程序,您可以尝试使用前面提到的方法之一来清理缓存、释放未使用的内存或关闭不必要的进程。另外,如果您的应用程序需要更多内存,您可以考虑增加系统的物理内存或交换空间。
相关问题
[omm@lm2hdp03 logs]$ ps -A -ostat,ppid,pid,cmd |grep -e '^[Zz]' Z 1367 2008 [pkla-check-auth] <defunct> Z 1367 10473 [pkla-check-auth] <defunct> Z 1367 10677 [pkla-check-auth] <defunct> Z 1367 11591 [pkla-check-auth] <defunct> Z 1367 13274 [pkla-check-auth] <defunct> Z 1367 19876 [pkla-check-auth] <defunct> Z 1367 22282 [pkla-check-auth] <defunct> Z 1367 31875 [pkla-check-auth] <defunct> Z 1367 43302 [pkla-check-auth] <defunct> Z 1367 44546 [pkla-check-auth] <defunct> [omm@lm2hdp03 logs]$ ps -ef|grep 1367 polkitd 1367 1 36 2022 ? 120-11:52:03 /usr/lib/polkit-1/polkitd --no-debug polkitd 2008 1367 0 2022 ? 00:00:00 [pkla-check-auth] <defunct> polkitd 10473 1367 0 2022 ? 00:00:00 [pkla-check-auth] <defunct> polkitd 10677 1367 0 2022 ? 00:00:00 [pkla-check-auth] <defunct> polkitd 11591 1367 0 2022 ? 00:00:00 [pkla-check-auth] <defunct> polkitd 13274 1367 0 2022 ? 00:00:00 [pkla-check-auth] <defunct> omm 16825 42843 0 09:56 pts/19 00:00:00 grep --color=auto 1367 polkitd 19876 1367 0 2022 ? 00:00:00 [pkla-check-auth] <defunct> polkitd 22282 1367 0 2022 ? 00:00:00 [pkla-check-auth] <defunct> polkitd 31875 1367 0 2022 ? 00:00:00 [pkla-check-auth] <defunct> polkitd 43302 1367 0 2022 ? 00:00:00 [pkla-check-auth] <defunct> polkitd 44546 1367 0 2022 ? 00:00:00 [pkla-check-auth] <defunct> [omm@lm2hdp03 logs]$ ps -ef|grep 31875 omm 24893 42843 0 09:56 pts/19 00:00:00 grep --color=auto 31875 polkitd 31875 1367 0 2022 ? 00:00:00 [pkla-check-auth] <defunct>
根据您提供的信息,可以看到有多个进程状态为`<defunct>`,即僵尸进程,它们的命令名称为`pkla-check-auth`,其父进程为`polkitd`。您可以使用`kill`命令将其杀死,方法如下:
1. 查看`pkla-check-auth`进程的进程ID(PID):`ps -ef | grep pkla-check-auth`
2. 使用`kill`命令将其杀死:`kill -9 PID`(将`PID`替换为实际的进程ID)
注意:不要将`polkitd`进程杀死,否则可能导致系统出现问题。
[omm@lm2hdp03 bin]$ ./start-cluster.sh Starting cluster. [ERROR] The execution result is empty. [ERROR] Could not get JVM parameters and dynamic configurations properly. [ERROR] Raw output from BashJavaUtils: OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000080200000, 1404043264, 0) failed; error='Cannot allocate memory' (errno=12) # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 1404043264 bytes for committing reserved memory. # An error report file with more information is saved as: # /opt/gcytest/flink-1.17.1/bin/hs_err_pid30333.log Warning: Permanently added 'lm2hdp01,10.100.40.200' (ECDSA) to the list of known hosts. [INFO] 1 instance(s) of taskexecutor are already running on lm2hdp01. Starting taskexecutor daemon on host lm2hdp01. Warning: Permanently added 'lm2hdp02,10.100.40.202' (ECDSA) to the list of known hosts. [INFO] 1 instance(s) of taskexecutor are already running on lm2hdp02. Starting taskexecutor daemon on host lm2hdp02. Warning: Permanently added 'lm2hdp03,10.100.40.209' (ECDSA) to the list of known hosts. [ERROR] Could not get JVM parameters and dynamic configurations properly. [ERROR] Raw output from BashJavaUtils: OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000080200000, 1404043264, 0) failed; error='Cannot allocate memory' (errno=12) # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 1404043264 bytes for committing reserved memory. # An error report file with more information is saved as: # /home/omm/hs_err_pid32379.log
根据您提供的信息,您似乎在尝试启动一个集群,并且在启动过程中遇到了一个错误,该错误表明Java虚拟机(JVM)无法分配足够的内存。这可能是由于您的系统上没有足够的可用内存,或者您正在尝试分配超过系统可用内存的内存。您可以尝试通过增加系统可用内存或调整您的应用程序配置来解决这个问题。您也可以查看更多详细的日志信息(如上所示),以了解可能导致该问题的更多细节。如果您需要进一步的帮助,请提供更多上下文和详细信息,以便我能够更好地理解您的问题并尝试为您提供更好的解决方案。
阅读全文