Server :: Apache Maxclient / Serverlimit Perf Tuning?

Mar 25, 2010

I've been trying to set-up/tweek these param's in Apache to a setting suitable to the server for the amount of memory. When i look around some people say, hey.. just look at the memory used per process and then divide that by the amount of memory available and you get the number of processes that can be handled by Apache in one go before it starts swapping.

Well, for this i'd done this calculation and for me it turned out to be 200 approx concurrent connections. Well funny thing is, out MySQL server had a slow down so the Apache servers were running at approx 450 concurrent connections and weren't swapping in memory etc (still had 600MB free not including what was available in Buffers/Cache - 'free -m')... Thus if i had have set the limits to 200 then people would have been not getting to the site, so i'm kind of pleased that i happened to not have the time to set this yet.

View 3 Replies


ADVERTISEMENT

Server :: Server Slow : Apache Mysql Fine Tuning Server For Faster And More Responsive?

Apr 21, 2011

I'm running a linux cloud server with the following config
1.2ghz Processor allocation
752MB Ram

The site loads slow and clicking a link almost freezes the page for a second. Also, the page loads could be much faster. We've been running mysqltuner and have pretty much optimized all slow queries. Is there anything we can do to fine tune the server for faster and more responsive?

Httpd.conf

Timeout 20
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 5
<IfModule prefork.c>
code....

View 2 Replies View Related

Server :: Tuning Apache To Handle PHP With NginX On The Frontend

Jun 24, 2010

My intention is to have EngineX on the frontend handling all static files, and Apache + mod_php in charge of handling PHP requests. I have optimized nginx to be as efficient as possible in handling static files, but have very little experience with Apache. Since Apache would only be processing PHP requests, would the standard Apache optimization guides suffice or would it best to configure it differently?

PS: this is a dedicated file server, the database is hosted separately.

View 2 Replies View Related

General :: Netstat Command To See If Apache Hit The MaxClient Setting?

Jun 15, 2011

Whats the proper netstat command to see if Apache hit the MaxClient setting?

View 1 Replies View Related

Server :: How To Do Squid Proxy Tuning

Jan 20, 2011

we having more than 5000 users and will have 7 squid proxy servers with high end configuration upto 4gb ram n 320*5 HD in rhel4&5 most of them complaining that at peak hours their browsing speed is slow but we are having 1gbpgs link at peak hours i.e when established connections r flowing more than 550 browsing gets slow how to do fine tuning are squid is only responsible to access upto 600 connections

View 2 Replies View Related

Server :: Finding The Performance Tuning Resources?

Feb 23, 2011

I am currently reading [URL] its an old document from 2006, so i am not really sure how much information in it is still valid.

View 1 Replies View Related

Networking :: Tuning For High Throughput Reverse-proxy Server?

Jan 18, 2011

I have an enormous quadcore machine with 16gb ram and dual gigabit NICs. It used to be for MySQL but we have upgraded the whole database infrastructure so now this server is left floating. I had the great idea of turning this into a reverse-proxy (using apache mod_proxy) and it really handles a ton of requests. But I have a feeling that we are not getting the most use out of what it can offer.

Our traffic consists of a few thousand very small (less than 10 byte) ajax calls per second, and frequently I find we are running out of kernel allocated network stack to handle all the requests. Often we get the kern.log warning "possible SYN flooding on port 80. Sending cookies." and other things like this. Obviously we are not getting SYN flooded, we just have very high demand.

So far I have found a few kernel tuning guides to tell the kernel to allocate more of the base system memory for networking but every guide I have found has been for the purpose of increasing the performance between WAN links (direct backbones between offices etc) and usually with very large file sizes being the priority. One such example (and great) write up is here:

cyberciti.biz/faq/linux-tcp-tuning/

I was hoping some people could provide further input, such as along the lines of disabling nf_conntrack (to speed up socket set up/tear down time) or anything that will speed up a high throughput proxy like mine. Any links to studies or benchmarks between different configurations or hardware gets extra points!

View 7 Replies View Related

Ubuntu / Apple :: Virtualizing OS On Mac Pro : Perf?

Sep 28, 2010

I want to install Ubuntu on my macpro. Ubuntu will be running in parallel with mac os. On Ubuntu will be running a database, and on the mac os the client.(I am a software dev).

View 1 Replies View Related

Server :: Tuning With Sysctl.conf - Memory And CPU Settings For Heavy Loaded Systems

Jun 28, 2011

Does anybody have experience with linux tuning. I`m realy interesting about sysctl.conf tuning settings for batch(3d rendering, phisycs simulations, etc.) servers. Does anybody has an experience with linux tuning - I mean memory and CPU settings for heavy loaded systems. What kind of settings You have in Your clusters ? I`m working with Red Hat Enterprise 5 x86_64.

View 2 Replies View Related

CentOS 5 Server :: Apache 'server-status' 404 Not Found + Munin Apache Stats?

Oct 14, 2010

I am trying to solve a problem where Apache stats aren't displaying correctly in Munin. I've ran through quite a bit of checks and tests regarding Munin setup, but I think my issue is related to Apache, but my skill set there is lacking.

first, system info:
monitored server:
CentOS 5.3 2.6.18-128.1.1.el5

[code]....

View 7 Replies View Related

SUSE / Novell :: Clear Apache Cache Without Restarting Apache Server?

Feb 4, 2010

Any one have an idea How to clear apache cache without restarting apache server.

View 5 Replies View Related

Server :: Tunnel Apache Virtual Host To An Internal Apache?

Jan 24, 2010

I am upgrading my server and I have a lot of sites. Since I cannot take my server down for a few days, maybe a week until I manage to migrate all the sites to the new machine, I figured I could migrate them one by one. After migrating one, I would somehow tunnel the requests of that name virtual host to my internal machine. When everything is migrated, I would then switch the machines, update ip's and stuff and everything will work just fine.

However I cannot seem to find a way to do this tunneling. is this at all possible? If not, what alternatives do I have?

View 5 Replies View Related

CentOS 5 :: Apache Error 403 - "Forbidden You Don't Have Permission To Access /bb/ On This Server" - 5.2 With Apache 2.2.3

Jan 20, 2011

I am installing Big Brother on a CentOS 5.2 running the default Apache 2.2.3. When I try to access any web page I get the following error: Forbidden You don't have permission to access /bb/ on this server. Apache/2.2.3 (CentOS) Server at fmsubbnix Port 80 So far I have:

1) Set the Directory options to FollowSymLinks
2) Verified all directory and file permissions are at 755
3) Set permissions temporarily to 777 and received same error so I am assuming the issue is in a config file somewhere
4) in hhtpd.conf verified <Files ~ "^.ht"> is correct
5) verified the "default" directory is correct (/var/www/html)

I have read and tried several ideas in posts listed on the web but to no avail and am at a loss as to what to look for next..

View 3 Replies View Related

Ubuntu :: Looking For Official IO Tuning Guide?

Jul 16, 2010

We need an official IO tuning guide for ubuntu similar to the one given here [URL].

View 4 Replies View Related

Fedora :: F13 - Fine Tuning Desktop Effects?

Oct 27, 2010

How to speed up the menu "fade" (or get rid of it all together) in desktop effects? I need a composite manager for docky but the slower response on menus annoys me as they have to fade in and out. Anyone know which key in apps -> compiz I should change? Is it one of the plugins or one of the general keys?

View 5 Replies View Related

Ubuntu Multimedia :: Fine Tuning S Video / ATI On 9.10

Apr 14, 2010

Essentially, what I am attempting to do is set up an older PC with a Radeon 9600 video card chipset in it with xubuntu 9.10. I would like to attach this PC to my rear projection tv (Sony KP-48S75) via an S-video cable and use this TV as the primary and only monitor for the system. At one point, I had Ubuntu 8.04 hacked onto this same hardware fulfilling this role decently. However, due to some carelessness on my part, the system became unstable and I decided to start anew (random crashes, lots of X freezes, dependency issues, screwing too much with my sources.list and so on). So, that said, I installed Xubuntu 9.10 on the PC and had it hooked up to both an LCD monitor and the TV via S-video. Upon boot, both outputs worked, though X only rendered on the LCD and not the TV. Thus, I dug and researched and found that by putting a bunch of xrandr commands into my gdm start script I could finagle the TV into displaying my output, mostly.

The commands I used to get the S-video out work (and, therefore, pasted into my /etc/gdm/Init/Default script) follow:
Code:
xrandr --output S-video --set load_detection 1
xrandr --output S-video --set tv_standard ntsc
xrandr --output S-video --set tv_horizontal_position -2
xrandr --addmode S-video 800x600
xrandr --output S-video --mode 800x600
xrandr --output S-video --rate 60
xrandr --output VGA-0 --off

You'll notice I do a few things in those commands. First, I set load_detection to 1 in hopes of enabling automatic S-video connection detection (this isn't working). The next interesting bit is my commanding the horizontal position. The reason I had to do this is, because, upon getting the S-video output to render, the picture rendered to the right-hand side of the screen, deprecating the furthermost bits (for instance, I cannot see the shutdown icon in the upper right hand corner). Setting the horizontal position to -2 allowed me to shift the display to the left a bit, but, to my surprise, the right hand side still deprecates and I am just left with a black column on the right hand side.

Question 2 has to do with the screen indexing. If I run a xrandr command with no options, I see VGA-0 indexed as Screen 0. I also see the S-video listed as disabled (even though I see it rendering on the TV right in front of me). Finally, I notice that, under the VGA-0 section, there is a screen size listed, as well as several resolution modes with many parameters following them (like 800x600 72.2*+ 75.0 .... some other stuff). However, under the S-video section all I see is one mode with one small bit after it (800x600 72.2*). This smacks of suspicion to me and makes me think it might be related to the right side of my screen being deprecated. My wager is that I need to tweak some modelines in the S-video output so that it is more in sync.

However, I do not know the syntax for modeline editing and, since the S-video screen isn't even detected, I am not sure I really can edit these options. Does anyone know why my S-video output would continue to be listed as disabled even when its running? Furthermore, can anyone tell me why no screen index is given to the S-video output (I only see screen 0 attached to VGA-0, no screen 1 for S-video)? I think I need the screen indexed properly in order to use the xvattr command later in order to allow xv overlays to function on the proper screen. Finally, I do have a xorg.conf file loaded in /etc/X11 that is mostly hacked together stuff I used trying to get this to work in the first place. Would this conflict with the xrandr setup? Which options override which?

View 2 Replies View Related

Ubuntu Servers :: Fine Tuning Of ACL Using Samba

Oct 1, 2010

I was so sure it must be easy to set up the file permissions like I want, but obviously it isn't. Here is what I want to have: I have a samba fileserver (only Windows clients connecting) with a common share. Everybody is supposed to be able to put files on the share, but no one should be able to delete files which do not belong to oneself. I want several users to put files in a common directory, so they need write access to the directory, right?

But all the same they should not be able to delete files from others. So they are not allowed to have write access to the directory, right? It all works fine with modifying etc. but still I can delete files I am not supposed to do. I learned already that permission to delete is bound to the permissions of the containing folder and that sticky bits might help. But either they don't or I didn't get it right until now.

View 1 Replies View Related

Ubuntu :: Intel GMA G41/43 Video Driver Tuning?

Feb 24, 2011

I have a Asus 54G43-Pro mobo with Intel GMA G43 video chip on it. It works fine in Ubuntu and using the same display with the same settings, under Maverick in comparison with Lucid, the video is a little more sharp and with more contrast. I have dual boot with Windows and in Windows it is even less sharp and contrast.

In Windows I can tune the sharpness, contrast, etc but I was not able to find a simlar features in Ubuntu. I have checked the Synaptic and even installed some Intel GMA files but I still have no access on tuning the video driver. Is this possible in Ubuntu and possible to be hidden somewhere or I can just forget about it?

View 1 Replies View Related

Software :: Common Lisp Tuning For Gedit?

Aug 28, 2010

i need to get gedit to highlight lisp source code as well as provide auto indentation.(because as you may know , lisp programming without auto indentation is IMPOSSIBLE) now so far i've searched the web and tried some "solutions" but didn't work so far , for instance this post here promises syntax highlighting but suggesting to install 2 files , unfortunately it seems to do nothing.

View 12 Replies View Related

Ubuntu Networking :: Ralink .dat File Fine Tuning ?

Feb 12, 2011

Ralink's drivers for wireless adapters [url] with .dat-file to configure default properties of used WiFi adapter (at my case - RT2870.dat).

Example is below.

I'd want to fine tune adapters (I have two of them) to get maximum performance for streams between two WiFi clients connected to my router (JWNR2000 at my case).

At the moment I have changed WirelessMode=6 to force 802.11n mode (and it does work). Speed between WiFi-clients is about 3MB/s now. I want more How to?

Code:

View 1 Replies View Related

General :: Change SHMMAX Variable For Performance Tuning?

Feb 2, 2011

I am using Ubuntu-10.4 and postgresql-8.4.Now I have to change my SHMMAX variable for performance tuning.I have 16 GB.change it permanently and what is the suitable value for the DATABASE Server.

View 1 Replies View Related

Fedora Hardware :: 13 - Xorg.conf And Wacom Tablet Tuning

May 31, 2010

I've just installed Fedora 13 and I have a question. How do I tune my tablet? I've tried to set threshold and aspect in xorg.conf just like in Fedora 11, but it doesn't work in the current release.

Here's a part of my xorg.conf:

I also tried 'xsetwacom' command, but I get errors.

View 1 Replies View Related

Ubuntu :: Expert Who Can Develop Installation Script To Get Fine-tuning

Mar 28, 2011

As an owner of the HP Touchsmart TM2T 2100 CTO I had to search on the internet to fine tune Ubuntu Netbook Remix, like auto-rotate.I am a Linux noob.Is there an expert who can develop an installation script to get the fine-tuning done by executing that script?I am thinking about installing auto-rotate, maybe fixing the ATI-card, multitouch,I know multitouch works out of the box, but I red some drivers can be updated to get the latest gestures and so on.

As Linux user who is not familiar knowing what he really is doing, such a script can be handy. It also helps new TM2T owners to work fast with the best OS there is: Ubuntu!

View 9 Replies View Related

Debian Configuration :: Power Usage (laptop Battery) And Zen Interactive Tuning?

Jun 17, 2015

Since according to liquorix.net the kernel

Code: Select alluname -a
Linux t 4.0-5.dmz.3-liquorix-amd64 #1 ZEN SMP PREEMPT Debian 4.0-12 (2015-06-14) x86_64 GNU/Linux

incorporates Zen Interactive Tuning and this

[URL] .... wrote:Tunes the kernel for responsiveness at the cost of throughput and power usage.

View 2 Replies View Related

Ubuntu Servers :: Writing Specialization Work About Administration Apache And Ftp Server On 10:10 Server?

May 22, 2011

Does anyone have some material about statistics using ubuntu / linux server, or a text which generally describes the ubuntu server?I need urgent, i'm writing specialization work about administration apache and ftp server on ubuntu 10:10 server, so I need something for the conclusion.

View 7 Replies View Related

Server :: Config Apache Server To List Php, C/c++, Java Files As Regular Txt On Website?

Feb 2, 2011

I try to config my apache server to list all my files: c/c++, php, java files, like the txt file on my server,

e.g /var/www/mydomain/pub

i want to dump all my c/c++, php, java file under the pub directory and I can access it from my domain name,

if I dump txt file, I have no problem to view it, but when I dump c/c++ or php files under pub directory, then I can't view it like regular txt file,

Q: is there anyway I can configure my apache server to view all the c/C++, php, java file as like txt file?

View 1 Replies View Related

Server :: Config Apache Server To List Php / C/c++ / Java Files As Regular Txt On Website?

Feb 23, 2011

config my apache server to list all my files: c/c++, php, java files, like the txt file on my server, e.g /var/www/mydomain/pub i want to dump all my c/c++, php, java file under the pub directory and I can access it from my domain name, if I dump txt file, I have no problem to view it, but when I dump c/c++ or php files under pub directory, then I can't view it like regular txt file, Q: is there anyway I can configure my apache server to view all the c/C++, php, java file as like txt file?

View 1 Replies View Related

Ubuntu Servers :: Home Web Server - Cant Set Up Apache As Named Server Using Bind DSN

Dec 7, 2010

I and setting up a home web server using Ubuntu 10.04 server (local only). I am currently using Webmin 1.53 to access it remotely all is going great very easy to use. Webmin - Check, ftps-fileZilla - Check, Apache -It Works BUT I cant seam to set up Apache as a named server using Bind DSN. Tried most of the help in the fourms and ..... I think my problems is in the master server selection, do i have to use [URL]... or can i just use myservername. I have tryed both with no luck. First time with the server addition.

[code]...

View 6 Replies View Related

Server :: Apache Server In No Starting / Not Strating On Default Configuration File?

Mar 21, 2011

I have install Mandriva 2009 and install apache server but its not strating on default configuration file . What I should do for starting apache . i have tried /etc/init.d/httpd start but apache is not running .

View 1 Replies View Related

Server :: In Apache Server, Change Log File Location And Log Format For Access Log Fil?

Aug 19, 2009

I installed Apache server with Debian 5.0.2 Lenny. I am trying to write a script which would analysis web log files. I found the log files on /var/log/apache2. There is an access log file, `access.log`. My question is what configuration file determines the location and the name of the access log file. How can I change them? I used CustomLog in /etc/apache2/apache2.conf like below.LogFormat ": %h %l %u %t "%r" %>s %b" common
CustomLog /home/test/my_log_file common Apache2 generated /home/test/my_log_file. But no logs were written in the file even after I run `/etc/init.d/apache2 restart`. Ichanged the log file location. It still didn't work. However, Apache2 still wrote logs in the file `/var/log/apache2/access.log`

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved