I keep getting errors please help

-v grep | grep init ,r) [function.popen]: Cannot allocate memory in /var/www/vhosts/ehcp/config/dbutil.php on line 1028

Warning: fread(): supplied argument is not a valid stream resource in /var/www/vhosts/ehcp/config/dbutil.php on line 1029

Warning: pclose(): supplied argument is not a valid stream resource in /var/www/vhosts/ehcp/config/dbutil.php on line 1030

I dont get it and when i click on domains list I get this:

Warning: popen(ps aux | grep root | grep -v grep | grep init ,r) [function.popen]: Cannot allocate memory in /var/www/vhosts/ehcp/config/dbutil.php on line 1028

Warning: fread(): supplied argument is not a valid stream resource in /var/www/vhosts/ehcp/config/dbutil.php on line 1029

Warning: pclose(): supplied argument is not a valid stream resource in /var/www/vhosts/ehcp/config/dbutil.php on line 1030

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/ehcp/config/dbutil.php:1028) in /var/www/vhosts/ehcp/classapp.php on line 5851

please help

if you see errors like "Cannot allocate memory", then most probably,
your ram is low,
or /etc/php5/apache2/php.ini
has low memory_limit
edit that file and restart apache

whats a good limit?

i put it @ 32mb

still get

Warning: popen(ps aux | grep root | grep -v grep | grep init ,r) [function.popen]: Cannot allocate memory in /var/www/vhosts/ehcp/config/dbutil.php on line 1028

Warning: fread(): supplied argument is not a valid stream resource in /var/www/vhosts/ehcp/config/dbutil.php on line 1029

Warning: pclose(): supplied argument is not a valid stream resource in /var/www/vhosts/ehcp/config/dbutil.php on line 1030

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/ehcp/config/dbutil.php:1028) in /var/www/vhosts/ehcp/classapp.php on line 5851 and i have 256? ram like before.

try 64, dont forget to restart apache

I have it at 200mb and still.

I get this

-v grep | grep init ,r) [function.popen]: Cannot allocate memory in /var/www/vhosts/ehcp/config/dbutil.php on line 1028

Warning: fread(): supplied argument is not a valid stream resource in /var/www/vhosts/ehcp/config/dbutil.php on line 1029

Warning: pclose(): supplied argument is not a valid stream resource in /var/www/vhosts/ehcp/config/dbutil.php on line 1030

Warning: exec() [function.exec]: Unable to fork [ps ax | grep /apache2 | grep -v grep | wc -l] in /var/www/vhosts/ehcp/classapp.php on line 874

Warning: exec() [function.exec]: Unable to fork [ps ax | grep '/mysqld ' | grep -v grep | wc -l] in /var/www/vhosts/ehcp/classapp.php on line 874

Warning: exec() [function.exec]: Unable to fork [ps ax | grep vsftpd | grep -v grep | wc -l] in /var/www/vhosts/ehcp/classapp.php on line 874

Warning: exec() [function.exec]: Unable to fork [ps ax | grep bind | grep -v grep | wc -l] in /var/www/vhosts/ehcp/classapp.php on line 874

Warning: exec() [function.exec]: Unable to fork [/var/www/vhosts/ehcp/misc/serverstatus.sh] in /var/www/vhosts/ehcp/classapp.php on line 874

Warning: exec() [function.exec]: Unable to fork [top -b -n 1 | head -40] in /var/www/vhosts/ehcp/classapp.php on line 874

Warning: exec() [function.exec]: Unable to fork [tail -100 /var/log/syslog] in /var/www/vhosts/ehcp/classapp.php on line 874

This never happened before I had less specs than what i have now.. how can i fix..