Very slow with direct admin

ASTRAPI

Verified User
Joined
Feb 23, 2009
Messages
47
Hello

I have a customer with invision forum and it was on cpanel and i add him to direct admin in the same server and all start to work very slow :(

Can you please recomend me what to check?

It seems something with memory settings or the forum with database to comunicate very slow :(

I told him to add direct admin to be faster as it needs less memory..

And he don't use any extra services only the basic one database ssh and ftp.

Thank you
 
I'm not sure what you mean by direct admin in the same server and also add direct admin.

DirectAdmin is a control panel that must replace cPanel, It must be installed from a clean server.

Once that's done, and the entire site is rebuilt on the DirectAdmin server, you should check your my.cnf file and your php installation, as either could be at fault.

Since you don't post the URL of the forum there's no way to make any additional suggestions.

Jeff
 
Yes i was replace cpanel :)

check the search function here:

Code:
http://www.ellinomania.com/index.php?act=Search&f=0

It is very slow....
 
How can i increase it and what value do you recomend me?

The server is dedicated with 4gb ram.

Thank you
 
vi /usr/local/lib/php.ini

Scroll down to memory_limit and set it to 128M:

memory_limit = 128M

How many sites are on the server? If it's just that one you may set it higher.
 
something else is wrong... I don't think that's causing this issue.

What are the server specs?

Processor?
HD?
 
Machine is dedicated server:

Dual Core Xeon 3065 (2.33GHz, 4MB, 1333MHz FSB)

4GB Ram

100Mbit speed

Hd: 500Gb (i am not sure if it's sata)

Thnaks for your help.

The forum have 62.000 members and 940.000 posts.


I increase the memory limit to 256 in php.ini but nothing. (Or i have to restart the server first and then test it? )
 
Last edited:
Are you running php as a cgi? If so, then you don't have to restart anything. If you're running php as cli (mod_php) then you must restart apache.

Perhaps you should reindex your databases?

Jeff
 
That's what I meant. Running php as a cgi can be slower than running it as cli (mod_php). I'm not expert enough on php to investigate this further without logging in to your server; perhaps someone else will reply.

(Do NOT send me login information; I do not log in to servers without a service agreement.)

Jeff
 
To start with your images are very large in file size, secondly your server is located in Amsterdam so it's very slow from the USA anyway.... other then that, it's hard to tell without looking at your setup.
 
Here are some other pointers.

# TOTAL_SIZE - Warning! The total size of this page is 853765 bytes, which will load in 173.95 seconds on a 56Kbps modem. Consider reducing total page size to less than 100K to achieve sub 20 second response times on 56K connections. Pages over 100K exceed most attention thresholds at 56Kbps, even with feedback. Consider optimizing your site with Website Optimization Secrets, Speed Up Your Site or contacting us about our optimization services.

# TOTAL_SCRIPT - Warning! The total number of external script files on this page is 8 , consider reducing this to a more reasonable number. Combine, refactor, and minify to optimize your JavaScript files. Ideally you should have one (or even embed scripts for high-traffic pages) on your pages. Consider suturing JavaScript files together at the server to minimize HTTP requests. Placing external JavaScript files at the bottom of your BODY, and CSS files in the HEAD enables progressive display in XHTML web pages.

IMAGES_SIZE - Warning! The total size of your images is 828499 bytes, which is over 100K. Consider switch graphic formats to achive smaller file sizes (from JPEG to PNG for example). Finally, substitute CSS techniques for graphics techniques to create colored borders, backgrounds, and spacing.
 
Back
Top