Portal Home > Knowledgebase > Articles Database > php error
php error
Posted by madpato, 10-22-2009, 01:32 AM |
Hello
I was trying to set up a os commerce and i got the classic 500 internal server error, when i saw the error log of apache i got this:
I even tried a small php test script but i got the same error.
I know it's a problem of libraries, but how can i fix it?
I have a cpanel vps with centos 64 and i have root access.
Thanks for your assistance.
|
Posted by markhard, 10-22-2009, 03:48 AM |
looks like you are running out of memory. how much memory do you have on your VPS, what applications your run and how much traffic does the web site get?
|
Posted by ZenMonk, 10-22-2009, 04:55 AM |
Please paste output of `cat /proc/user_beancounters`
|
Posted by activelobby4u, 10-22-2009, 07:33 AM |
i believe you are out of resources on the VPS
|
Posted by david510, 10-22-2009, 08:15 AM |
Request your host to increase the KMEMSIZE for your vps on the main node.
|
Posted by madpato, 10-22-2009, 09:36 AM |
i've requested more memory, hope it fixes the problem
|
Posted by madpato, 10-22-2009, 09:56 AM |
my memory was increased to 2 gb and i still get the error.
any other suggestion? thanks.
|
Posted by david510, 10-22-2009, 02:26 PM |
Paste the output of the following command from the command line of your vps.
|
Posted by madpato, 10-22-2009, 02:43 PM |
I don't have such file:
i've increased php memory to 128 mb and i still get the same error
i've searched for libgcc_s.so.1 inside the server and i have it in /lib/libgcc_s.so.1 and /lib64/libgcc_s.so.1
please any advice is appreciated.
|
Posted by madpato, 10-22-2009, 05:16 PM |
my vps is under a xen domU i've been reading that user_beancounters is related to openvz vps
i've found a file called ballon under /proc/xen and it shows this:
thanks for any advice.
|
Posted by madpato, 10-23-2009, 10:05 AM |
sigh...
it seems i'm running out of ideas, if any1 nows anything that might help, please let me know.
thank you.
|
Posted by timofeev, 10-23-2009, 10:26 AM |
Paste the output of the command
ulimit -a
|
Posted by madpato, 10-23-2009, 11:48 AM |
here it is:
|
Posted by madpato, 10-25-2009, 10:39 AM |
any thoughts of what might be wrong?
cheers
|
Posted by eth1, 10-25-2009, 11:18 AM |
Whats the output of,
and
|
Posted by madpato, 10-25-2009, 07:01 PM |
here it is:
i cant paste the output of top -d2c but i still see free memory, i might add that there is just one domain in the server, its clean so i dont think it has to be related to memory consumption.
Thanks
|
Add to Favourites Print this Article
Also Read