By teddy | Published:
February 9, 2010
in short: Check the apache RLimitMEM in httpd.conf.. remove it if not really required.
complete story:
did you just install cpanel fresh? after installing wordpress, phpbb, or any other php applications… did you have a problem like “Fatal error: Out of memory (allocated 20185088) (tried to allocate 13056 bytes)” ?
well, i just got that problem. and after hours of trial and errors, i overlooked the fact that i had this module enabled in apache.. i thought the problem was only php
so i checked the php.ini and .htaccess trying to remove/tweak the memory_limit setting
i saw this option “Memory Usage Restrictions” in the apache configuration page of cpanel/whm, but couldnt remove it..
so i went to edit it manually, vim /usr/local/apache/conf/httpd.conf
and removed the two entries RLimitMEM and RLimitCPU
for cpanel to store your changes permanently, run
/usr/local/cpanel/bin/apache_conf_distiller --update
restart apache, and violla! all works fine now.. phew..
i hope that helps others too.
this was on cPanel 11.25.0, CENTOS 5.4 x86_64, PHP 5.2.12, Apache 2.2.14
Posted in Posts | Tagged cpanel, error, fix, php |
By teddy | Published:
January 30, 2010
a scenario might be when you still have the domain, for email or other uses, but hosting is not required anymore.
1. go to the domain’s page
2. on the box that has the title ‘web site’, click the arrow on that title, and select ‘change hosting type’
3. select ‘no hosting’ and apply.
please note that the data in the directory will be deleted so please backup first when necessary.
Posted in Manuals | Tagged howto, plesk |
By teddy | Published:
January 27, 2010
this is for centos 5.3 with plesk 9.2.1 using qmail as the mail service
if you use qmail and smtp service is dead, check the system log by running something like this
less /var/log/messages
you may need to check older files too.
less /var/log/messages.4.gz
if you see something like this
Jan 27 03:37:53 xinetd[28106]: smtp: fork failed: Cannot allocate memory (errno = 12)
Jan 27 03:38:13 xinetd[28106]:last message repeated 7 times
Jan 27 03:38:13 xinetd[28106]: service smtp: too many consecutive fork failures
that means the server is out of memory.
this often happens when using virtual dedicated servers, because there is no page file for extra memory.
when trying to start the service from plesk, it may not start.
when starting from the command line service qmail start, it may say OK but when trying to connect to it, still not started.
in this case its probably easier to just restart the server /sbin/shutdown -r now
Posted in Manuals | Tagged centos, howto, plesk |
By teddy | Published:
January 27, 2010
When someone emailed tech support and ask: “help, my email is not working!”, its very unclear what is actually happening.
Technical support people need to know more detail otherwise it is very difficult to help.
To save time for both sides, please include the following information, or tech support will ask you these anyway:
- When did it start to not work?
- What is the error message?
- Anything that you did?
- Can it be repeated?
- What are the steps to repeat?
- What are the symptoms?
- Any screenshots?
Of course these applies to any problem, not just ‘email not working’ problem.
By teddy | Published:
November 7, 2009
on centos with default installation:
run this command from ssh:
usr/local/psa/bin/service –restart plesk
this is tested for plesk 9.2.1
Posted in Posts | Tagged hosting, howto, plesk |
By teddy | Published:
October 30, 2009
a common problem with utf8 files is when we type utf8 characters, but the file type is saved as not utf8
some programs will save the file as ISO-8859-1 encoding.
while it may look ok in your editor, but when used in emails it may look like garbled characters
here are some screenshots, some programs have different way of showing/setting the file encoding:
Ultimate Dynamic Form Manual
The manual for our flashden component: Ultimate Dynamic Multi-purpose Contact Form is now online!