Very slow response from my localhost server
|
|
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 |
|
|
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 |
|
|
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. |
|
|
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, |
|
|
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? |
|
|
Typing
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 |
|
|
Great. That did it. Here is the output:
Thanks. |
|
|
Mmmm, does it help to use the loopback IP (127.0.0.1) instead of “localhost” in the url? Substitute 8080 by the web server port. Cheers |
|
|
WOW. Now everything works in a flash! THANKS A LOT What do you think the problem was with using the localhost? |
|
|
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? |
|
|
(This post has been removed) |

