After Uninstall, websites really really slow

azn_romeo_4u

Well-Known Member
#1
Right after my free license expired my websites were down for an hour. So I uninstalled litespeed, but now all my websites are going really really slow.

Load is all under 1, but just the websites are slow. Before I installed litespeed everything was loading fine, wasn't even close to being bad as this, but now I can't seem to load 3kb gif files without it lagging. All my websites are timing out. I"m running apache 2.2
 
Last edited:

mistwang

LiteSpeed Staff
#2
Are you using control panel?
If use cPanel try restoring /usr/local/apache/bin/httpd from httpd_ls_bak, if have not done yet.

reinstall Apache is another option.
 

azn_romeo_4u

Well-Known Member
#3
Thx, I reinstalled apache, since httpd_ls_bak doesn't appear to be in that directory.

same problem, websites not loading or just going super slow.
 

azn_romeo_4u

Well-Known Member
#5
Thank you mistwang. In deedy it was a dos attack thank you. It happened after few hours before the license expired.

I have one other question, how much faster is a 4 core cpu compared to the 2 core? Like what kinda boost would you see?

Also, because my license expired (free version) if i opt into the monthly payments, can I still use the whm plugin to reinstall it?
 

azn_romeo_4u

Well-Known Member
#7
Okay I got the the 2 cpu lease.

Use the WHM plugin to install.
Use the plugin to build matching php binary
Everything started okay,

But then I log into admin panel, I try to compile php with

suhosin, mail header and xcache and i got this error.

Forcing buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.59 (ok)
buildconf: Your version of autoconf likely contains buggy cache code.
Running cvsclean for you.
To avoid this, install autoconf-2.13.
rebuilding configure
aclocal.m4:2141: PHP_PROG_LEX is expanded from...
rebuilding main/php_config.h.in
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
aclocal.m4:2141: PHP_PROG_LEX is expanded from...
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
shtool:echo:Warning: unable to determine terminal sequence for bold mode
shtool:echo:Warning: unable to determine terminal sequence for bold mode
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
I wanted to see if xcache would help my server more.
 

azn_romeo_4u

Well-Known Member
#11
thank you, now I ran into another problem.

checking for GD support... yes
checking for the location of libjpeg... no
checking for the location of libpng... no
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... no
checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
If configure fails try --with-jpeg-dir=
configure: error: libpng.(a|so) not found.
 

mistwang

LiteSpeed Staff
#14
I think the best way to do it is build Apache with ezapache with similar configuration. Then build matching PHP with LSWS plugin. cPanel will install all libraries required for you.

Then if you do not want to build xcache manually, you can build PHP from web console using the exact same configuration in the phpinfo() page.
 

azn_romeo_4u

Well-Known Member
#15
Thank you I done that I get the same errors. I think i'll just forget about the opcode for now. However I got another question,

I get e-mails from cpanel, saying httpd has crashed. But I never gotten those when I ran the trial version. I thought httpd was part of apache, but I have litespeed on. The trial version never had those crash messages when I ran it.
 
Top