Apache :: Enabling Output Buffering And Zlib / How To Check Performance
May 22, 2014
Should I enable output buffering and zlib compression in PHP configuration editor to increase performance?
In global php.ini I have:
output_buffering = Off
;output_handler =
zlib.output_compression = Off
;zlib.output_handler =
View 1 Replies
ADVERTISEMENT
Apr 14, 2007
some software which would allow me to monitor critical information about my VPS and possibly give me graphs/charts that show me things like my system's load over time. Since it is a VPS I may want to see this charts/graphs via a web interface if I can't just download some rendered jpg's or somethin from the server on a regular basis.
So what I'm looking for is something kinda like the Bandwidth page under Web/FTP Stats in Cpanel so I can easily get a better idea over a few days or week(s) what times of the day my server is getting taxed and when load low.
View 5 Replies
View Related
Dec 20, 2013
I have upgraded to Apache 2.4 and Php 5.5.7. I am not able to get any php script to show output in the browser. Html and text files work fine.
phpinfo works fine and shows output.
Phpmyadmin gives "No data received" in chrome and "The connection was reset" in Firefox.
In command line php -f filename gives me output.
Last lines of my Apache error log:
[mpm_winnt:notice] [pid 2028:tid 376] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01
[Fri Dec 20 2013] [core:notice] [pid 2028:tid 376] AH00094: Command line: 'C:Program FilesApache Software FoundationApache24binhttpd.exe -d C:/Program Files/Apache Software Foundation/Apache24'
[Fri Dec 20 2013] [mpm_winnt:notice] [pid 2028:tid 376] AH00418: Parent: Created child process 2628
[Fri Dec 20 2013] [mpm_winnt:notice] [pid 2628:tid 276] AH00354: Child: Starting 64 worker threads.
In Php log it is giving no error.
httpd -t shows: Syntax ok
php -v shows:
PHP 5.5.7 (cli) (built: Dec 11 2013 13:48:27)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
View 2 Replies
View Related
May 21, 2013
I am using Apache 2.4.1 (Win64), PHP 5.3.10 on Microsoft Windows 2008 server. I have also installed Microsoft VC++ 2010 (64 bit). I successfully configured mod_fcgid 2.3.7 as per the instructions. This was confirmed by running info php page. But when I run FastCGI test scripts, the output is displayed in text form and not in html format.
View 1 Replies
View Related
Jun 13, 2013
I get this error sometimes in the apache log for my site (and then my server gets slower and slower until it goes offline):
Code:
[Thu Jun 13 11:58:48.675867 2013] [core:error] [pid 1368:tid 2344] [client 111.222.333.444:38360] End of script output before headers: index.php
I am using a Windows Server 2012 64 bit server, but I had the error on a Windows Server 2008 64 bit server too.
The new server only has 1 site on it - and it is a Joomla 2.5 site. The server is dedicated and has 8 CPU cores and 24 GB ram and so on.
I have googled the error enough to understand that my Apache server (downloaded from this site) is misconfigured somewhere.
View 2 Replies
View Related
Mar 17, 2008
When I create a website in apache I have to enable php on it manually, Is there a way that I enable php by default on root of apache?
View 3 Replies
View Related
Feb 13, 2007
Does it make sense to enable zlib compression if eAccelerator is already installed? I'm running PHP 5.2.1 (FastCGI) with lighttpd 1.4.13 and eAccelerator 0.9.5. Also, here's a more general question. Since I manually compiled these programs, how would I go about updating them with the source files? Would I just repeat the normal installation process with the new source files?
View 2 Replies
View Related
Aug 3, 2014
I've been developing websites using Apache on various Ubuntu laptops over the years. I just set up a new laptop with Apache and it worked fine. If I went to localhost in my browser then it showed the default page. So far, so good.
I then added a file to sites-available to add wildcard virtual hosts. This lets me use convenient urls while developing sites on my laptop. Once I enabled this site, every url that resolved to localhost became 403 Forbidden, including urls that should return 404. Here is an example entry from other_vhosts_access.log...
View 5 Replies
View Related
Jan 17, 2008
I am running shoutcast on a spare dedicated system, for some reason it has been buffering a little to often for my liking.
I am running 64 kbps for 300 listeners and buffering problems become frequent around 150 listeners.
Is there anyway I can reduce the frequent buffering (be it hardware or software doesnt matter).
Latency seems very high (1100ms)
Would the fact that the server has been running continuously for 6 days have anything to do with it?
View 4 Replies
View Related
Apr 23, 2009
We have few dedicated bandwidth servers with a well reputed company. However 10-15% of our customers are complaining about video buffering (windows media live streaming, not recorded). I have asked for their speed test results (To nearest city) and they all seems well above 4Mbps and our videos are at 500kbps max.
We have enabled features like fast cache, fast buffer, and wireless corrections from Windows media Services 2003. However, nothing seems to fix the issue.
1. Do you guys have similar experience with streaming? If so what have you done to fix it? Is there any special settings in Windows media Services 2003 that i should be worried about?
View 3 Replies
View Related
Jul 7, 2009
I just took my first steps into Windows Media Services but I have some problems with the buffering of the stream.
I send from Expression Encoder 2 SP1 to my publishing point on my Windows Media Server.
But when the quality of the video is too high, I get some buffering problems when I'm watching the streamed video with my Windows Media Player. After looking 5 seconds to the stream, the windows media player stops with playing and in the left bottom corner I see the text "buffering". After 3 seconds buffering, the player goes further for a next of 5 seconds of playing and it continously does this.
View 0 Replies
View Related
Jun 14, 2008
my server load is max 1,it wont cross more than 1 but for 2 days iam getting 20 or more,but this load is extents for 1 or 2 min only after that it become normal to 0.58 around 1,in top i can able to see lotz apachi process when the load increase,
View 3 Replies
View Related
Jan 12, 2008
I'm building a new server for a predominantly php5/mysql5 website and was wondering which version of apache to put on. I know there are some issues with PHP and Apache in MPM, but what's the performance comparison between Apache 1.3 and Apache 2 Prefork?
View 4 Replies
View Related
Jul 30, 2008
what modules I should use in my httpd.conf file. Here's the modules that I currently have enabled / disabled. The site is running specifically off PHP. There is no need for CGI, ASP, or any other languages (to my knowledge). The negotiation module is enabled,. It does not need to be to my knowledge.
However, when I disabled it Apache would not restart. Could someone give some details as to which directives need to be disabled for negotiation to be disabled. Also, does anyone know if negotiation is essential. It is not to my knowledge. Suggestions and comments are much appreciated. Thank you in advance for your hard work and experience being as it's not costing me anything. I will do my best to return the favor.
LoadModule access_module modules/mod_access.so
LoadModule auth_module modules/mod_auth.so
LoadModule auth_anon_module modules/mod_auth_anon.so
LoadModule auth_dbm_module modules/mod_auth_dbm.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule auth_ldap_module modules/mod_auth_ldap.so
# LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule asis_module modules/mod_asis.so
LoadModule info_module modules/mod_info.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule imap_module modules/mod_imap.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
# LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
# LoadModule cgi_module modules/mod_cgi.so
LoadModule logio_module /usr/lib/httpd/modules/mod_logio.so
View 0 Replies
View Related
Feb 25, 2015
I have centos -7 and apache 2.4.6. I have made one small php scripts and measuring the performance of server.
Average time is around 15 ms for per request. But when adding concurrent requests the average time increase too much high for the request see the below output
ab -n 10000 http://127.0.0.1/1.php
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 14 17 2.6 15 35
Waiting: 0 1 0.2 1 10
Total: 14 17 2.6 15 35
With Concurrent connections
ab -n 1000 -c 100 http://127.0.0.1/1.php See the processing the mean request time its around 150 ms.
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.1 0 5
Processing: 25 150 24.7 153 213
Waiting: 2 134 25.2 138 194
Total: 29 150 24.1 153 216
ab -n 1000 -c 100 http://127.0.0.1/1.php See the processing the mean request time its around 150 ms when total request is 1000 only.
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.1 0 5
Processing: 25 150 24.7 153 213
Waiting: 2 134 25.2 138 194
Total: 29 150 24.1 153 216
How to configure the Apache so the request time decreas to low ms ???
In Centos -7 Default configuration of MPM Directory also not found ??? checked in httpd.conf and other file also.
View 1 Replies
View Related
Nov 18, 2007
How big can Apache access log file be withouth degrading the performance of a solid VPS solution with 764MB RAM?
I want to have it as big as it gets withouth seriously degrading the performance...
View 1 Replies
View Related
Nov 18, 2007
How big can Apache access log file be withouth degrading the performance of a solid VPS solution with 764MB dedicated RAM?
I want to have it as big as it gets withouth seriously degrading the performance...
View 3 Replies
View Related
Feb 1, 2007
I have a dedicated server and under root i went to Software - Apache Update and on the list i saw GD (version 2.0.15) i am assuming thats GD Library. i checked that and started the build. After everything was done i go back and GD is still unchecked..
View 7 Replies
View Related
Nov 13, 2008
I am facing to this trouble: apache max out the number of connections. When viewing status, all I get here
Code:
SrvPIDAccMCPU SSReqConnChildSlotClientVHostRequest
0-028240/6/65R 0.1414290.00.020.32 ??..reading..
1-028170/17/65R 0.111510.00.030.22 ??..reading..
2-028350/3/57R 0.20112210.00.000.24 ??..reading..
3-027570/33/62R 1.431412930.00.130.21 ??..reading..
4-026430/75/75R 2.12153190.00.310.31 ??..reading..
5-026440/52/52R 2.061610.00.240.24 ??..reading..
6-028180/13/60R 0.621600.00.070.22 ??..reading..
7-026490/63/63R 2.84143070.00.370.37 ??..reading..
8-028190/7/43R 0.271610.00.020.27 ??..reading..
9-028080/27/76R 0.361410.00.040.29 ??..reading..
10-026750/50/52R 2.9617630.00.260.26 ??..reading..
11-027720/23/49R 3.641600.00.100.19 ??..reading..
12-026620/64/64R 2.201520.00.290.29 ??..reading..
13-027730/25/64R 1.121500.00.140.19 ??..reading..
which account on server is the reason please? I am on CentOS box with DirectAdmin.
View 2 Replies
View Related
Jul 13, 2007
I am using dreamhost host 3 of my web sites and 1 blog. Dreamhost is great, offers alot space and bandwidth.
but I think they are oversellling their space, sometimes it gets really slow. (overselling ? ok, I dont really know, but sometimes its really slow, and most my asian readers said need to refresh to load the page. I am wondering if theres a way to check if they are overselling or not.)
I am thinking about buying vps, even tho, I still got 5 month left with dreamhost.
I found 2 vps companies are highly recommanded on this forum, JaguarPC and LiquidWeb.
theres already a post compared both companies in terms of price and service. I say I will pick JagarPc, cuz, its basic plan just 20 USD, and htey got promotion now, its even cheaper. and basic Liquidweb vps plan is 60 bucks.
I am wondering why Jagarpc is so cheap , are they overselling? how can we check if they are overselling.
I found a few posts saying how good jaguarPc is. and they are not overselling, but those members just signed up this month, and only have 1-3 posts. I cannot really trust those new members.
Can someone share their experience with JaguarPC? compare JaguarPc performance and liquidweb performance. antoher question is switch from dreamhost to JaguarPC basic vPS plan, will performance gets better?
last question: VPS account allows 3 IP, 3ip = 3 domains? if not, how many domains can I have?
View 14 Replies
View Related
Apr 27, 2008
Quote:
# If a PT_LOAD event is triggered, then if the following contains the path to
# a script, it will be run in a child process. For example, the script could
# contain commands to terminate and restart httpd, php, exim, etc incase of
# looping processes. The action script must have the execute bit an
# interpreter (shebang) set
It's a feature of CSF, how to write a script that will output the contents of top -c to another file?
View 3 Replies
View Related
Nov 17, 2008
Would any remote configs responsible for the warning "header output already sent"?
Why i ask this? Because I am programming with php, having this chronicle error, tried fixing every corners but helpless.
View 4 Replies
View Related
Feb 10, 2007
This is the command i'm running and its options:
tcpdump > output.file
Problem is that the only way to stop this command is pressing CTRL + C, and i just need some option to specify how much time the tcpdump will be running, i need it running for 1 minute for example, and then it should automatically stop.
View 1 Replies
View Related
Sep 12, 2007
how do i get all the current dns values for a domain name? i have tried using
'dig domain any' and get varied results. the first time it is as if i ran 'dig domain a' I then run 'dig domain mx' and see the mx records. an issue of 'any' then shows the mx records so far i have to run dig with every record type. what is another way to get all the dns values for a domain name?
View 1 Replies
View Related
Sep 26, 2008
I have question regarding the output of top command when it is run inside a VPS.
Does the CPU load (under lined in red) only belongs to my VPS or the whole server?
If it belongs to the whole server, then is the load underlined in green, the load my VPS currently has?
[url]
its a Virtuozzo based VPS
View 3 Replies
View Related
Apr 4, 2008
What command could I use to get the last line of an output?
Heres why...
I use this command:
netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1
I would like to get just the last line of the output, the output looks like this:
1 203.118.105.*
1 80.195.165.*
1 87.211.51.*
1 91.40.90.*
8 82.2.222.*
213
The reason is because I'd like to get that last figure to place into a file on a certain time period (through a cron), which will then be graphed with PHP.
View 3 Replies
View Related
Apr 18, 2008
I use Munin to monitor the health of our servers, I can tell by looking at the graphs there's nothing to worry about, however, I'm struggling to baseline acceptable performance.what would be classed as 'normal' output for some of the more relevant munin graphs.
I've been looking at the Apache* modules and this is the output from one of our servers:
average of: 300 accesses per minute, 6 busy servers and 4.10MB a minute volume
max of: 1400 accesses per minute, 81 busy servers and 51MB a minute volume
This is a dedicated box running one site.
We have another box that is running approximately 30 sites
average of: 30 accesses per minute, 1 busy server and a 500K a minute volume
max of: 322 accesses per minute, 11 busy servers and a 4MB a minute volume.
These servers are pretty much the same spec, dual core 64Bit, 4GB of ram, two SATA disks in RAID1.
View 2 Replies
View Related
Oct 18, 2007
We have a strange issue where include('./somebadfilepath.txt');
Will not output the standard WARNING from PHP. Instead it just displays a blank page.
phpsuexec is installed.
This also happens for other functions like fopen or fopen when supplied a URL path. No error,
View 4 Replies
View Related