This forum is no longer active. Please post your questions to our new community site

Forums SugarCRM

Very slow response from my localhost server

Subscribe to Very slow response from my localhost server 11 post(s), 3 voice(s)

 
Avatar DMH 9 post(s)

I installed the sugarcrm stack on my macbook 10.4.11 but the response time for any thing to show on safari 3.2 or firefox 3.0.4 is slow as molasses. It could take over a minute just to get to the login page. The same is true for other pages although it does make it there eventually. I have 2 gigs of RAM and nothing else running.

Any ideas of how to fix?

Also, how do I uninstall the stack?

Thanks

 
Avatar antonio 621 post(s)

Hi DMH,

Can we have a look to the contents of the file /etc/hosts ? It is weird for a petition to your own computer to have such a delay.

To uninstall the stack, simply double click the ‘uninstall’ application located in the installation folder.

Cheers

 
Avatar DMH 9 post(s)

Thank you antonio for replying. I found the uninstaller but I hope not to need to use it. However, it seems that I am not as technically inclined as you are. Please explain where I would find that file on my mac. It looks to be a LINUX directory and I do not know what the equivalent is in the Mac.

Thanks.

 
Avatar antonio 621 post(s)

Hi DMH,

Actually, OS X and Linux both have the same grandfather, UNIX. Therefore, you can find a lot of similarities between them, and the file /etc/hosts (‘etc’ being the folder, ‘hosts’ the file) is present in both systems, as it is in Solaris, FreeBSD and others.

Hope it helps,
Antonio

 
Avatar DMH 9 post(s)

Thanks once again antonio.

I may be misunderstanding something, but a spotlight search of my mac indicates that there are only two folders with the name etc on my machine. One is from a different program called Sky Chart and the other is in the folder SugarCRM 5.1.0-0/PHP/etc. There are only two files within that folder, the first is pear.conf and the second php.ini

There are no files at all named hosts anywhere. Would it be a hidden file?

What now?

 
Avatar antonio 621 post(s)

Typing

cat /etc/hosts

should do the trick. I suppose that Spotlight does not search inside system folders, but I may be wrong, I don’t use OS X :)

Cheers

 
Avatar DMH 9 post(s)

Great. That did it. Here is the output:

  1. Host Database #
  2. localhost is used to configure the loopback interface
  3. when the system is booting. Do not change this entry. ##
    127.0.0.1 localhost
    255.255.255.255 broadcasthost
    ::1 localhost

Thanks.

 
Avatar antonio 621 post(s)

Mmmm, does it help to use the loopback IP (127.0.0.1) instead of “localhost” in the url?

http://127.0.0.1:8080

Substitute 8080 by the web server port.

Cheers

 
Avatar DMH 9 post(s)

WOW. Now everything works in a flash!

THANKS A LOT

What do you think the problem was with using the localhost?

 
Avatar antonio 621 post(s)

Hi,

I don’t know exactly, but it seems that more people are having the very same problem. I looked it up in Google and found the solution :)

Cheers

PS: Is your system fully updated?

 
Avatar greetaldi suspended 3 post(s)

(This post has been removed)

Forums SugarCRM