Archive for May 10th, 2012

You know you need more RAM when…

aka, my errors, let me show you them.
or, inadvertent DDoSes are fun when you do them to yourself!
finally, A: “I can see 4GB of RAM but I can only use 1.5.” Q: What is “Why I loathe 1and1”?

sudo -i
sudo: unknown uid: 10003
sudo: cannot fork: Cannot allocate memory

-bash: /usr/bin/sudo: Argument list too long

ps aux|grep httpd|wc -l
 -bash: fork: Cannot allocate memory
 -bash: start_pipeline: pgrp pipe: Cannot allocate memory
 -bash: ps: command not found
 -bash: /bin/grep: Cannot allocate memory
[s15353558 ~]$ sudo -i
 -bash: /bin/egrep: Cannot allocate memory
 -bash: echo: write error: Cannot allocate memory
 -bash: fork: Cannot allocate memory
 -bash-3.2# whoami
 root
bash: fork: Resource temporarily unavailable
[[email protected] conf]# screen
 bash: /bin/grep: Argument list too long
 bash: /bin/grep: Cannot allocate memory
 bash: /usr/bin/id: Cannot allocate memory
 bash: [: =: unary operator expected
 bash: /sbin/consoletype: Cannot allocate memory
 bash: /usr/bin/id: Cannot allocate memory
 [[email protected] conf]#
[[email protected] conf.d]# vim pagespeed.conf
 Vim: Warning: Output is not to a terminal
[[email protected] conf]# service httpd graceful
 httpd: Syntax error on line 190 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_alias.so into server: /etc/httpd/modules/mod_alias.so: cannot open shared object file: Too many open files in system
 [[email protected] conf]# service httpd graceful
 /usr/sbin/apachectl: line 102: 16247 Killed                  $HTTPD $OPTIONS -t >&/dev/null
 apachectl: Configuration syntax error, will not run "graceful":
 httpd: Syntax error on line 169 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_logio.so into server: /etc/httpd/modules/mod_logio.so: failed to map segment from shared object: Cannot allocate memory
 [[email protected] conf]# service httpd graceful
 apachectl: Configuration syntax error, will not run "graceful":
 /usr/sbin/httpd: error while loading shared libraries: libcom_err.so.2: cannot open shared object file: Error 23
 [[email protected] conf]# service httpd graceful
 /etc/rc.d/init.d/functions: line 19: /sbin/consoletype: Cannot allocate memory
 /etc/profile.d/lang.sh: line 53: /sbin/consoletype: Cannot allocate memory
 1024
 /usr/sbin/apachectl: fork: Cannot allocate memory
 [[email protected] conf]# service httpd graceful
 /etc/rc.d/init.d/functions: fork: Cannot allocate memory
 /etc/profile.d/lang.sh: fork: Cannot allocate memory

, ,

No Comments