|
|
Mac Web server is tooo... slow
|
|
|
|
Fresh-Faced Recruit
Join Date: Jun 2007
Status:
Offline
|
|
Hi all,
Recently, I am working with MAC OS X server. I installed the apache web server into this server with version 1.3.33. The problem is that when user visit my website, the splash loads very slow (20s). Splash is a flash file that I created. I got the splash load a little bit faster by setting:
1. Connection timeout: 2 sec
2. Maximum connections: 100
3. Allow Persistent Connection: none
Is there any way for setting so that it loads the webpage faster? I got the T1 connection and hardwares are look fine for me. One more thing is that I HOST IT WITH A WINDOWS 2003 SERVER. IT RUNS VERY FAST (2s), HOWEVER I HATE MICROSOFT THAT IS WHY I GOT THIS OS X TIGER VERSION 10.4.10
Anyone have any advise, please help...
Henry
|
|
|
|
|
|
|
|
|
Moderator
Join Date: May 2001
Location: Hilbert space
Status:
Offline
|
|
Why didn't you use the built-in webserver instead of installing it again? Or are you referring to the built-in server?
|
I don't suffer from insanity, I enjoy every minute of it.
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Jun 2007
Status:
Offline
|
|
I will try the built in server. I am new to mac that is why I configured it with apache server before.
Thanks
|
|
|
|
|
|
|
|
|
Moderator
Join Date: May 2001
Location: Hilbert space
Status:
Offline
|
|
Perhaps you broke something when installing your server over the built-in server. Usually it is a good idea to check whether the service you need is included with OS X anyway. Then you save yourself the hassle. If you really work with OS X Server (not the client version), then all essential services are included and can/should be configured using Apple's tools. For the basic configuration, there is no need for using the command line.
|
I don't suffer from insanity, I enjoy every minute of it.
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status:
Offline
|
|
And in case you didn't know, Mac OS X uses Apache for its built-in web server.
|
Vandelay Industries
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
HenryLee: look into Apache's mod_status module and how it can be used to get a profile of how efficiently Apache is operating. Apache's performance can be tweaked via its config, although I don't know if these configurations can be made through Apple's GUI or not. However, certainly for just serving a static page to yourself the defaults should work just fine.
|
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Oct 2005
Location: Houston, TX
Status:
Offline
|
|
Loading a flash page should be all about bandwidth (on both ends), and nothing to do with the web server software or hardware.
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
There are totally legit reasons to want to replace Apple's installed parts with your own, but it's probably a good idea to start with them for the first time.
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
Originally Posted by mduell
Loading a flash page should be all about bandwidth (on both ends), and nothing to do with the web server software or hardware.
Well, true if he's the only person on the web server, if the site is getting pegged with hits from the outside world Apache optimization can help.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jul 2002
Status:
Offline
|
|
Not really helpful, since the built in server already sets this, but Allow Persistent Connections should be enabled. That way clients don't have to renegotiate the connection every time they want a new page.
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
HenryLee: what is the file size of your Flash movie you are trying to serve? Maybe this isn't an Apache problem, but simply bandwidth like somebody suggested, or even Flash rendering?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|